07-10-2008, 10:49 PM
I am new to QTP, I am not able to capture the object values. i.e. in an application there are values in the text boxes, i want to get those values. Can anyone help me with this.
How to capture object values
|
07-10-2008, 10:49 PM
I am new to QTP, I am not able to capture the object values. i.e. in an application there are values in the text boxes, i want to get those values. Can anyone help me with this.
07-10-2008, 11:12 PM
I'm not quit sure, because i'm also new in QTP, but maybe you're looking for something like Text Output Value (Insert>Output Value> Text Output Value)?
Please also check QTP help for Text Output Value. I hope this helps...
07-10-2008, 11:34 PM
I appriciate you response. I tried using Text output value, it is taking it as edit but not able to get the value which is there in that edit box. Below is the code when i am getting:
Code: Window("Team Approach").Window("Account Overview").WinEdit("Edit").Output CheckPoint("Edit") Can anyone give any more advice on this.
07-11-2008, 03:53 AM
Hi,
Try this.. Code: val = Window("").Winedit(" ").GetRoProperty("text")
07-18-2008, 07:20 PM
Hi,
To retrieve the value in text box or any other object, it need not be a "text" property. It can be "value"/"innerText" or any other properties. So i suggest you to use Object Spy and checkout which property fulfills you need and use that property. Thanks & Regards, Uday. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
IE11 Crashes when User tires to capture an Object or Record a Screen in UFT 12.01 | Baalaaji | 1 | 2,919 |
06-11-2015, 06:41 PM Last Post: venkatesh9032 |
|
how to save values in object repository | krupa | 1 | 2,914 |
11-08-2011, 07:46 AM Last Post: ravi.gajul |
|
How to capture/parameterize ID's created on the server side that QTP does not capture | rdwaram | 1 | 2,905 |
10-17-2009, 02:37 AM Last Post: jsknight1969 |
|
how to validate combobox values with testdata values | 1981.madhu@gmail.com | 3 | 6,027 |
09-09-2009, 06:53 PM Last Post: Saket |
|
Checking if values of Listbox/Combo box on a web page the same with values in DB? | robocom | 4 | 8,410 |
07-08-2009, 01:52 PM Last Post: robocom |