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

How do you convert manual test cases to automated test cases?

575


How do you test DLL files using automation Tool QTP?

2729


How to check which add-ins are associated with a test in qtp?

580


If I change the object name in one action will it be updated in all the actions? Or not?

594


Whether qtp 9.0 supports Test director8.0

2116






Write a QTP script to enter a keyword in to Google search engine?

649


Explain the concept of how quicktest professional identifies object?

532


What test you perform mostly? Regression or retesting in your testing process?

574


what is stepin & stepout?

1418


who QTP recognizes the object stored in object repository?

1657


How you can decide which type of object repository you have to use?

701


How to create Reusable and Multiple Actions?

1705


Can we record using all the modes in a single script? Explanation with example is appreciated

1384


In what occasion we can specify global sheet and action sheet?

566


How will internal and external links be validated and updated? how often?

637