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


Please Help Members By Posting Answers For Below Questions

What environment does qtp run in?

607


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1566


What are the views available in quicktest professional (qtp)?

561


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1307


what is the latest version of QTP? Main difference between 9.2 and 10 version

1533






what is ODC and GDC?

7312


How to execute a winrunner script in quicktest professional?

541


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

571


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1447


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1414


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1238


Explain hybrid framework with advantages and disadvantages?

534


what is supply chain management?

2075


How do we handle run-time errors?

560


whare exactly we have to use functions and sub routain

1835