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

In qtp, how you can exit for loop?

0 Answers  


How Does Run time data (Parameterization) is handled in QTP?

2 Answers   Crea,


write the vb script for call to new action in qtp?

0 Answers  


Does QTP provides any tools for parametarization?

3 Answers   BirlaSoft,


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

0 Answers   Adea Solutions,






More details about keyword driven technique in QTP

1 Answers   TCS,


3. How to handle the exceptions using recovery secnario manager in Qtp?

2 Answers   Wipro,


Hi All, How to Compare two strings character by character in QTP

0 Answers  


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

0 Answers   ING,


QTP WAS WORKING FINE BUT TODAY I GOT THE ERROR , THE MEMORY COULD NOT BE READ -REFERENCE MEMORY ,pPLEASE REPLY URGENT WHAT IS THE SOLUTON

1 Answers  


where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code

3 Answers  


How to use reporter.report event in qtp ?

0 Answers  


Categories