We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)

Answer Posted / pushkar1206

rw=browser("Browser").Page("Page").WebTable("Table 1").RowCount
For i=1 to rw
a=browser("Browser").Page("Page").WebTable("Table 1").GetCellData(i,6)
If a="Hello" Then
Set b=browser("Browser").Page("Page").WebTable("Table 1").ChildItem(i,6,"webbutton",0)
b.click
End If
Next

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1610


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1622


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1729


How to use output values in qtp ?

641


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1729






What are the major/ important methods, functions in QTP we use realtime testing

2358


What is use of object spy?

697


How to test the login page in different ways in automation testing and i need code?

1440


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

582


How can we conduct U-I Testing by using QTP??????

1522


how to test Web application using QTP software

1419


To which environments does quicktest professional (qtp) supports?

674


What is file database?

1771


What are the five challenges you faced in QTP?

2838


What is difference between run time object and test object?

644