10-21-2009, 11:47 PM
I am a beginner in QT. I used to use winrunner but in QT is hard to use get text area. What command and how do I get the coordinate. Please advise. Thanks
how do I use to get text area?
|
10-21-2009, 11:47 PM
I am a beginner in QT. I used to use winrunner but in QT is hard to use get text area. What command and how do I get the coordinate. Please advise. Thanks
10-22-2009, 12:31 AM
did you try .GetVisibleText() ? i don't remember if that is an option for a Textarea object, but I have used it other objects to get the full text.
10-22-2009, 09:58 AM
(This post was last modified: 10-22-2009, 10:12 AM by venkatbatchu.)
Hi ,
You can use the.GetRoProperty("value") to fetch the value from the textarea Sorry that was to fetch the value in text arer , your query is related to fetch the coordinates of the text area Code: .GetRoProperty("x")--x coordinate x1 find the attached document
10-22-2009, 12:13 PM
Text Area is bit blant. There are 2 ways,
1. Text Area checkpoint. 2. Spy on the object, go to the TO Properties and see which property holds the text ( if your text area means that ). Use GetRoProperty("property_name") to retrieve the text. 3. GetVisibleText if available as a method can be used. This is majorly available for .Net based objects, however, if it is available for web objects then you should be able to use it.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Need to Validate Text filed is blank after clicking on the Text box | balak89 | 3 | 4,974 |
09-13-2015, 12:06 AM Last Post: ADITI1992 |
|
Unable to find Application Area In QTP | Jyobtech | 0 | 2,173 |
01-10-2015, 04:03 AM Last Post: Jyobtech |
|
I am trying to extract text from a webelement but it is generating blank text scenari | excellentpawan | 2 | 4,753 |
08-13-2013, 08:37 PM Last Post: excellentpawan |
|
Text Area check point | Sathiya | 2 | 4,603 |
08-18-2011, 04:57 PM Last Post: anjalivaswani |
|
BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW | remya | 1 | 2,213 |
11-22-2010, 03:35 PM Last Post: Saket |