in a web table , i want you to click a particular object inside cell
Answers were Sorted based on User's Feedback
Answer / bhargavi
We can achieve it using ChildItem() method
Syntax object.ChildItem(Row,Column,Micclass,Index)
Assume there is a webtable with name "UserDetails" in a page.We have to click a link which is in first row,first column of webtable.Then the code will be as follows:
Browser("title:=Gmail").Page("title:=Gmail").Webtable("name:=UserDetails").childitem(1,1,"Link",0)
Note:Assuming browser & page property 'title' value as "Gmail"
| Is This Answer Correct ? | 12 Yes | 1 No |
browser("index:=0").page("index:=0").webtable("index:=0").childitem(2,1,"Link",0).click
| Is This Answer Correct ? | 3 Yes | 0 No |
How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...
In a yahoo web Application there are 65 links.one day it will opens 50 links and another day it will open 55 links.In this scenerio write Descriptive programing for Automation?....Pls write the code for this scenerio.
1 Answers College School Exams Tests, UHG,
What are the difference between QTP and Winrunner
Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object under the browser and have given html tag and text as the test object properties. But while I try to identify it it says 'Object description is not unique'. I tried adding innerhtml, outerhtml, innertext and outertext along with the ordinal identifiers; but no use. What more properties need to be added to identify it? Also I want to enable smart identification for this object but the field is disabled in the object repository for this object alone(In QTP tools->object identification the enable smart identification checkbox is enabled). How do I enable it?
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance
difference between multiple parameterization and data driven wizard in QTP?
In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.
How u will do versioning in QTP?
How to send QTP test results to an email...(with out using Quality Center)?
Can we Test Welcome Screens and Process Images with QTP