I am trying to get the first row data “DA 3 06/02/2008 CT N” (please see the data below) from my application through QTP. Some how, it’s getting only the last value which is “N”.
Code I am using is: sItem = Window ("Tran List").WinList ("Amount").GetItem (0)
Note: QTP recognizes the data part as a winlist and names it as Amount.
Pay Fee Mail Type Cat
DA 3 06/02/2008 CT N
I appreciate any help with this
Thanks in advance.
What does this give you?
Print Window ("Tran List").WinList ("Amount").GetROProperty("all items")
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
It's giving only 'N'.
Can someone Please help on this...
what does it record when you select a item ....??
try whether you are able to use itemscount property and iterate to see what you get...
-- Here to Learn and share ---
It's recording -
Window("Tran List").WinList("Amount").Select "N"
For items count property - I am getting "1"
Can you attach a few Screenshot in a word doc? Of the application in Object spy spying on the same
I sent you the application screen shot to your email account.
Please help me on this....