Kindly help me with the following queries..
-- How to recognize webtable using QTP and how to use it?
-- How would one conclude that it is a web table
-- For Example, if there is a web table and I am clicking on
say Cell A1, how would i know that i've clicked on cell A1
-- Kindly suggest me to use the web table better
Answer Posted / nidhi jain
To recognize web table using QTP you need to use SPY.
Using spy clieck somewhere inside you webtable.
you will get webelement and above that in hirarchy you will
get web table. Save this table in your object repository.
now do the coding like below
msgbox Browser("XXX").Page("XXX").WebTable
("XXX").getCellData(1,2)
here 1 is row number and 2 is column number
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How can I use Call dlls in QTP ?
How QTP identify the system time that's changes every seconds?
There is an excel file of 1 to 100 sheets how you will iterate through it?
what is the frame work in J-meter?
what is actually contain test report? can anybody post the test report
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
What are the data types in qtp?
What is a Patch in QTP?
What are the types of environment variables in qtp?
How to create a standard checkpoint ?
Hi All, How to Compare two strings character by character in QTP
How to break the object spy ?
How can I check if a environment variable exist or not?
Which scripting language used by quicktest professional (qtp)?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work