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

Get URL value dynamically through QTP Get URL value dynamically through QTP Reviewed by Animesh Chatterjee on January 20, 2009 Rating: 5

1 comment:

  1. Hello......
    Please tell me how to use database checkpoint in QTP for for web applications...


    Thanks.
    Shashank

    ReplyDelete

Powered by Blogger.