In a page i have N number of links at a time i would like
to open those links by using QTP?how to do that?
Answers were Sorted based on User's Feedback
Answer / hokrani
Set ObjLink=Description.Create
ObjLink("micclass").value="Link"
Set PageLink= Browser("..").Page("..").ChildObjects(ObjLink)
For i=1 to PageLink.count
PageLink(i).Click
Next
Is This Answer Correct ? | 7 Yes | 1 No |
You can get it by first create description object like :-
set deslink = description.create()
deslink("micclass").value = weblink
then you can use this variable to get number of link in the
page like.
set bro = browser(" ").page (" ")
set countlink=browser(" ").page("
").weblink(deslink).childobjects
for countlink = 0 to countlink-1
bro.weblink(deslink).click
next
Is This Answer Correct ? | 3 Yes | 3 No |
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
Tell me Three major differences between QTP & Winrunner?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
How to use transactions in qtp?
How you can make an action as re-usable action?
Can we use same virtual objects in many number of tests?
what is the difference between the modular framework and datadriven frame work
If you use low level recording,what objects will be recorded in Object Repository and what properties?
what is frame work of qtp?
In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?
vb script for calling one function to the another function
give me the code to save all messages of inbox of gmail into a folder and notepad