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

How to remove the associated function library?

0 Answers  


What is test object model in QTP?

1 Answers   Crea,


What are FAST and NORMAL modes in qtp ? Why r these modes intended for ?

3 Answers   IBM,


if our qtp vb Script may be Currepted then What we want do?

0 Answers   IBM,


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

0 Answers   CTS,


What are the option you can use to synchronize your test?

2 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

9 Answers  


What is the default object synchronization timeout in qtp?

0 Answers  


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


Explain about the Test Fusion Report of QTP ?

1 Answers  


How to measure transaction time through VBScript without using start and end transaction points?

0 Answers  


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


Categories