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 the extension for QTP files?
16 Answers American Solutions,
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same?
How to execute the test cases using QTP. i.e What is the use of QTP while execution
Can you tell me QTP is support for GIS(Geography Information System) Based Software.
How to get the column count and column name from the resultset in the database connection program?
CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table
How to use regular expression in descriptive programming?
Explain the Different types of QTP test assets and their extensions?
4. what is the use of Text output value in Qtp?