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 are the things(properties, and other details) will be recorded while recording an object using normal recording?
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief
How does u create new test sets in TD?
What are the challenges you faced during you entire life automation ?
How will you handle custom object in QTP?
Tell some commonly used Excel VBA functions?
If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?
what is object?
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??
In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.
What is difference between design time and run time data table?