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

what are build and version plz explain why nomber changes in build and version?

3 Answers  


in a web table , i want you to click a particular object inside cell

2 Answers  


WHO TAKE DECISION TO RELEASE THE BUILD

2 Answers   IGT,


desribe a situation where u faced a stressful situation and how did u cope with it

0 Answers   DELL,


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

0 Answers  


what do u mean by test harnesses in qtp?

1 Answers   Verizon,


Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


how many scripts r there in QTP? pls any answer this question?

4 Answers  


what is the difference between parameters and arguments?

1 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  


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

0 Answers  


Categories