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

Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


What is our exact stage involvement with QTP?

1 Answers  


How can we perfom Action and Component parameter.?

1 Answers   EDS,


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

0 Answers  


Is QTP Object Oriented language or Object Based language? What are the OOPS concepts it will support? Why it wont support all the OOPS concepts?

1 Answers   CTS,






Why bpt?

0 Answers  


What are the framework folders?

1 Answers  


There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.

0 Answers  


How to count the no of objects in XML file(QTP)

1 Answers   IBM,


HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.

2 Answers  


How do you know the location Id of an object if you know its index id?

0 Answers  


can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...

1 Answers   FSS,


Categories