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 |
what are pretesting activities
Name the properties you would use for identifying a browser and page when using descriptive programming?
What is the limitation to XML Checkpoints?
I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"
what are the cases in which we use XML and accessibility check points.
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
how to identify an object which is not in the object repository identification can be done using descriptive programming.
What is standalone database?
What is TOM in QTP?
How to retrieve the property of an object in QTP?
how many types of actions r there? what r they? explain? pls give any one answer?
I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime