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 |
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
difference Between Call Run action and copy of action?
How can we call Winrunner functions from QTP?
User defined function in QTP
Can you do more than just capture and playback?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Explain the features of quick test pro(qtp)?
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
how to test background color and dynamic images during runtime
how to get the object property
Does QTP support Linux Red Hat? Does QTP support Flash?
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)