Header Ads

Get URL value dynamically through QTP



well,if you need the code to find out URL of the current page you can use below written code.

---------------------------

ivar=Browser("Micclass:=Browser").Page("micClass:=Page").GetRoProperty("URL")
msgbox ivar

---------------------------
This will return the URL name.

yeah you got it right.But don't go away,I have some morethings in my kitty.
If you want to understand the original things and more about this please refer the below link.
http://motevich.blogspot.com/2008/06/qtp-get-current-browser-url.html

Powered by Blogger.