Hi, I Need code to click the webbutton inside of webtable. I
need to click a particular 'Edit' webbutton inside of
webtable.
For Example...
Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in
10th Column. I need to click the 3rd row 'Edit' button with
unique value.
Browser("....").Page("...").Frame("...").WebButton("btn_Edit
")
I Tried with below code:
Set objButton =
Browser("...").Page("...").Frame("...").WebTable("...").Chil
dItem(3,10, Webbutton,0).Click - Not working this code :(

Anyone can help me to sort out this simple issue ???



Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit..

Answer / crazy boy

In place of ChildItem(3,10,webbutton,0).click

Write the Webbutton in Double quotes Ie: "WebButton"

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects

3 Answers   Ordain Solutions,


how to re-install QTP 9.0 trial version.

25 Answers  


what is the difference between the modular framework and datadriven frame work

0 Answers  


WHAT IS ENVIRONMENT VARIABLES?

7 Answers   AZTEC, CTS, Ready Test Go,


what is a active x control?can any one brief me about active x controls

1 Answers  






Explain the features and benefits of quick test pro(qtp)?

0 Answers  


Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.

6 Answers  


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

0 Answers  


What is checkpoints for qtp?

0 Answers  


What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click

2 Answers  


How to capture a window in qtp or how to take snapshot of any window while writing script in qtp

3 Answers  


Categories