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 qtp identifies objects?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
Where you get the run time data table?
How to use transactions in qtp?
Can we Test Welcome Screens and Process Images with QTP
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Why script error occur in between recording in qtp?
What is test object?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What is qtpro? What is a quick test professional?
what is the difference between data driver & data driven and driver script?
What are the different properties of an web object
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!