Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting the url of the web page being tested
01-23-2012, 09:05 PM (This post was last modified: 01-23-2012 09:07 PM by qtpuser.)
Post: #1
Wink Getting the url of the web page being tested

Hi: Can any of you help me let me know a way to get the web page address during the test or within the test.

Ex: if the test is running on the page http://www.Google.com, I want to get this URL inside the test.

Thanks.
Find all posts by this user
Quote this message in a reply
01-29-2012, 10:56 AM
Post: #2
RE: Getting the url of the web page being tested
(01-23-2012 09:05 PM)qtpuser Wrote:  Hi: Can any of you help me let me know a way to get the web page address during the test or within the test.

Ex: if the test is running on the page http://www.Google.com, I want to get this URL inside the test.

Thanks.

Did you spy on the browser RO properties?

Basanth
QTP On Unix- Java Way - Without Putty or Terminal Emulation
You have no idea how high I can fly...
Find all posts by this user
Quote this message in a reply
01-30-2012, 10:22 AM (This post was last modified: 01-30-2012 10:24 AM by vinod123.)
Post: #3
RE: Getting the url of the web page being tested
(01-29-2012 10:56 AM)basanth27 Wrote:  
(01-23-2012 09:05 PM)qtpuser Wrote:  Hi: Can any of you help me let me know a way to get the web page address during the test or within the test.

Ex: if the test is running on the page http://www.Google.com, I want to get this URL inside the test.

Thanks.

Did you spy on the browser RO properties?

Use GetRoProperty to get the property value and write the script by using the GetROProperty of that value
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to know the server URL of QC if it is installed on PC vibhakhandelwal 4 719 09-05-2011 03:04 PM
Last Post: vibhakhandelwal
  How to Recognize that Browser returns an Error page after hitting a URL with QTP ? Sukhvinder 7 1,431 07-09-2011 11:11 AM
Last Post: rajpes
  Moving scroll bar up and down by QTP in web page srinibarati 3 4,622 05-11-2010 08:55 AM
Last Post: basanth27
  Not Recognizing objects on Web Page Dialog. automation_is_kool 2 1,399 04-06-2010 11:01 PM
Last Post: automation_is_kool
  Record mode does not work after to close the tested app apcalistro 0 291 12-14-2009 06:29 PM
Last Post: apcalistro

Forum Jump:


User(s) browsing this thread: 1 Guest(s)