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

Give one example of Standard checkpoint in qtp 10?

1 Answers  


what is impact analysis on regression testing?

0 Answers   L&T,


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


How can i check items sorted or not in a weblist ? Give me the script for this...

0 Answers  


I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?

3 Answers   TCS,


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

0 Answers   TCS,


How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?

2 Answers  


how do close the task manager through QTP?

2 Answers  


Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.

2 Answers  


Explain object spy in qtp.

0 Answers  


1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.

2 Answers   Nous,


When ‘option explicit’ keyword is used in qtp?

0 Answers  


Categories