Quality Testing

Quality is delighting customers

How to fine the browser URL using QTP? Can any one having script, please share me.

Views: 204

Reply to This

Replies to This Discussion

It's very easy task
Just take the object spy and click on the browser then in teh object spy u will be getting the all the properties and their corresponding values
In that properties url also will be there
I agree with Mohan's reply. Thanks Mohan.
Hi Madhumitha,

Here you need to use the page object, url property..
like..
myurl=Browser("").Page("").getroproperty("url")
Hi Saravana
I agree with saravana's reply.

Thanks
Saravana
Using getRoProperty we can retrive needed url...
Deall All,

getROPROPERTY() is the method to retrieve the value of any object during runt time.

to get the value of url of an opened browser :->I think method suggested by sarvanan should work.

Hey madhumita did you get the answer right by this?

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service