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

1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

0 Answers  


What is post recovery scenario?

0 Answers  


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

0 Answers  


Explain the parameter in qtp?

0 Answers  


How will internal and external links be validated and updated? how often?

0 Answers  






What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

0 Answers  


What is the syntax to call one action in another?

0 Answers  


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


When it be decided to go for either Per - Action or Shared?

2 Answers  


Can objects recognised without repository?

5 Answers  


how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp

13 Answers   College School Exams Tests, Mind Tree,


What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

1 Answers  


Categories