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
What is object repository in qtp?
How can I check if a environment variable exist or not?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How to define array in qtp?
What are the benefits of quick test pro(qtp)?
Did the scripts need lot of maintenance? If yes, why?
What do you to script when objects are removed from application?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Explain the features and benefits of quick test pro(qtp)?
Where we can use the analog mode and where we can use the low – level mode?
How to handle Java tree in QTP?
What is quick test pro? What is a quick test professional?
How to write business scripts using object repository with different scenarios
Why script error occur in between recording in qtp?
What does it mean when a check point is in red color? What do you do?