i am trying to capture the URL from the open browser and
store it. pls give me solution how we can do this in QTP.
thanks
Answers were Sorted based on User's Feedback
Answer / chandu
try this
x=Browser("ALL Interview .com ::").GetROProperty("openurl")
msgbox x
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / neeraj chauhan
Hi All
Set oDesc=Description.create()
oDesc("html tag").value="INPUT"
oDesc("micclass").value="Link"
set
CollectionOfLinks=Browser("vBrowser").page("vPage").childobjects(oDesc)
NumberOfLinks=CollectionOfLinks.count()
for i=0 to NumberOfLinks
Print CollectionOfLinks(i).GetRoProperty("href or url")
Next
If still you face any problem, reply me.
Thanks and Regards
Neeraj Chauhan
| Is This Answer Correct ? | 3 Yes | 0 No |
what type of automation is follwed in the project?
how to capture objects of remote deskop as it is capturing only window.
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
Is it mandatory to know abt regular expression in descriptive programming
request to add whatsapp grp for test engineer
How can I use Call dlls in QTP ?
how to capture the run time values of web table.
what is recovery manager and recovey scenerio?
Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u
1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance...
What are the option you can use to synchronize your test?