In a web page, one web table is present which is dynamic.
In that table one of the column has links with the same
inner text. write a script so that i need to click the
third link.
Answers were Sorted based on User's Feedback
Answer / tvs ramakrishna chowdary
i am not understanding ur question please post question
once again clearly i can give anser or mail to me
my mail id is-->krishnat.qa@gmail.com
Is This Answer Correct ? | 0 Yes | 0 No |
Hi All
U can also do this by using GetRowWithCellText method
At First get the row which u got that link in WebTable
Obj=Browser("title:=.*").Page("title:=.*).WebTable("name:= ").GetRowWithCellText("Just give the name which link u wanna click")
Now u got the row no of that particular link in obj
If obj<>0 then
Browser().Page().WebTable().Link("name:= ").click
End If
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kamepalli
Get the child item from the table by using the below stmt.
a=browser("").page(").webtable("").childitem("weblink",2)
a.click
So by using index we can get the specified link from the webtabel.
Is This Answer Correct ? | 0 Yes | 1 No |
Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known
Can any suggest me what is exposure testing?
Where we can use the analog mode and where we can use the low – level mode?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage
What is the present version of the VB Script we are using
How to call actions in QTP?
What is the difference between qtp and selenium?
How to test menu options using qtp
your coming from electrical backgroung..but y ur coming to software side?