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



Kindly help me with the following queries.. -- How to recognize webtable using QTP and how to use i..

Answer / 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

More QTP Interview Questions

How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance

1 Answers   HCL,


There is a name "AJAY" how do u count no.of. "A" in that name ?

4 Answers  


How will you handle java tree in qtp?

0 Answers  


Hi All, I need code for how to execute qtp scripts from excell sheet

0 Answers  






write script to read and write data from file ?

2 Answers   HealthAsyst,


What is the limitation to XML Checkpoints?

1 Answers  


What is test fusion report?

2 Answers   CIL,


Explain the difference between check point and output value?

0 Answers  


I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code

1 Answers  


write the vb script for call to new action in qtp?

0 Answers  


In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this

1 Answers  


Categories