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 type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

0 Answers  


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

0 Answers   Wipro,


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

0 Answers   T Mobile,


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

0 Answers   IBM,


What is the diff between image and bitmap check point?

0 Answers  


I want some banking domain projects where can i get this projects ( anybody can help me plz)

3 Answers  


Which statement will use for close an action in QTP?

0 Answers  


Is the provision for integrating QTP with QC ,available from the version 9.0 onwards only or even 8.2 version has such provisions?

1 Answers  


Hi, Can anyone tell me what type questions can be ashed in interview on QTP?

1 Answers  


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,


what is tool interface?

1 Answers   ITC Infotech,


Categories