| || |
How to capture the text
Can anyone tell me how to capture the text from a table ?
Bcz i want to capture some text from the table, and have to compare it with some other documents.
I dont know how to achieve it by using QTP.
Ashok Shivakumar Choudary.
Re: How to capture the text
Every table has a lot of properties that hold the value of text. You can use them like that:
x = Table.GetTOProperty("NameOfProperty")
x = Table. GetCellValue(...)...
Just check the table with ObjectSpy and define what property you need for this purpose.
Variable x, where you will put that value,
can be used for comparison with another value as you wish.