please tell me how to identify the index of the link in the
web table .links are not constant.example i want to click
the link in the inbox ,search the item and click the
partcular mail.(mail links count is not constant)
If you want to click a link which exist in Webtable Cell,
Use "ChildItem" event to retrieve the child Link objects in
that cell.
Broswer("Bname").Page("PTitle").WebTable("WTName").ChildItem
(RowNumber,ColumnNumber,"Link",IndexvalueOfTheLink)
Link Index value depends on the Position of the link in
that cell.
'If the cell has only one Link, then index value will be
Zero. i.e.
Set objLink = Broswer("Bname").Page("PTitle").WebTable
("WTName").ChildItem(1,2,"Link",0)
objLink.Click
'If Cell has three links and if u want to click on Second
link, then pass index value as 1(one). i.e.
Set objLink = Broswer("Bname").Page("PTitle").WebTable
("WTName").ChildItem(1,2,"Link",1)
objLink.Click -- so that it will click on second link in
the specified web table cell.
| Is This Answer Correct ? | 10 Yes | 1 No |
How to create configuration scripts
how to use command prompt using qtp?
what is the use of Browser.sync()
Can someone tel additonal features which has been included under QTP 9.0 which is not there in 8.2 version?
how to add a runtime parameter to a data sheet?
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
When to use Descriptive programing?
What is the pros and cons between QTP and Rational Robot
what is Function Definition Generator? can any one explain me in details?
How to use checkpoints in qtp ?
can we install qtp in windows vista
Hi, When I click on a hyperlink a secondary pop-window will open. In that pop-up window there will be 'N' number of records arranged in with paging option in datagrid table. Each rows contains two columns, one is text and the other is a radio button. I will pass the first column value and based in it the tool have to select the corresponding radio button in that row. Please someone help me how to handle this as am new to QTP.