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 |
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
How to execute a winrunner script in quicktest professional?
How we will execute(run) the scripts in qtp 8.2?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?
How to invoke QTP using Dos prompt ?
How to Identify broken links in QTP
How to get the particular property value?
what is the difference between data table and spread sheet?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
What are the challenges u faced in testing with crm domain? How u overcome with?
What is keyword driven testing..what is the use of this in Automated testing