in a web table , i want you to click a particular object inside cell

Answers were Sorted based on User's Feedback



in a web table , i want you to click a particular object inside cell..

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

in a web table , i want you to click a particular object inside cell..

Answer / dinesh1433

browser("index:=0").page("index:=0").webtable("index:=0").childitem(2,1,"Link",0).click

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

what are pretesting activities

0 Answers  


Name the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


What is the limitation to XML Checkpoints?

0 Answers  


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"

2 Answers   Rolta,


what are the cases in which we use XML and accessibility check points.

2 Answers  






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?

14 Answers   Polaris,


how to identify an object which is not in the object repository identification can be done using descriptive programming.

2 Answers  


What is standalone database?

0 Answers  


What is TOM in QTP?

0 Answers  


How to retrieve the property of an object in QTP?

5 Answers  


how many types of actions r there? what r they? explain? pls give any one answer?

3 Answers   IBM,


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

10 Answers   IBM, Wipro,


Categories