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 |
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
What's Checkpoints for QTP?
what type of framework u r using in ur organization
How do you delete unwanted results in qtp?
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
why was automation used in the project?
Explain the types of object repository?
Diff b/w WEB TESTING AND Client server testing?
Through array we can execute the testcase how ? give me example
Explain how qtp identifies object?
How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?