| |
GeekInterview.com > Interview Questions > Testing Tools > QTP
| Print | |
Question: How to click on the link available in the web table , link is an item in web table and link is not static, i mean it can be any where, you can not guess?
here , there are two actions, one is to capture the newly added item and than clicking on it....
|
| February 02, 2006 21:41:15 |
#2 |
| Vinothkumar |
Testing Expert Member Since: February 2006 Total Comments: 11 |
RE: How to click on the link available in the web tab... |
You can use Method "ChildItemCount" in WebTable to return the number of objects of a specified type. ex: for loop <rows> for loop<cols> if Browser("ss").page("SSS").webtable("ssss").childitemcount(row,column,"Link") = 1 then <code for clicking the link> end if next next |
| |
Back To Question | |