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
What is an object repository?
What is expert view in qtp?
What will be happen if i load object repository at run time, but it has already associated.
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What is the difference between run time object and test object in QTP?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
how to write xml output check point bu useing descriptive programing .means without useing output check point
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
Differences between text and test area checkpoints?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Explain different types of action in qtp?
What is the recovery scenario in qtp?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance