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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1415


How the exception handling can be done using quicktest professional (qtp)?

567


What are the views available in quicktest professional?

557


What is test object model in quicktest professional?

619


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1569






On what document base Descriptive programming is written if build is not yet ready ?

873


Step 3&4 are repeated until an the object in recognised uniquely.

1518


If I give some thousand tests to execute in two days what do you do?

580


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

527


How to create runtime property for an object?

1445


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1642


What are the Application Functions available in QTP?

1473


Why is action split used by qtp?

555


Explain types of descriptive programming?

589


What are the 3 main stages involved in testing with qtp?

555