Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to know the server URL of QC if it is installed on PC
#3
Solved: 11 Years, 3 Months, 2 Weeks ago
Hello,
I am quite new to QTP. I tried to record and run the very basic flight reservation application test and i got the following error when i tried to apply standard checkpoint and run it.

Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

I write the following script to apply standard checkpoint.

Code:
SystemUtil.Run("C:\Program Files x(86)\Mercury Interactive\Quick Test Professional\bin\QTPro.exe")
dialog("Login").WinEdit("AgentName").Set("Guru")
Dialog("Login").WinEdit("Agent Name:").CheckPoint("Agent Name:_2")  ( here i created checkpoint)
dialog("Login").WinEdit("Password").Set("merecury")
dialog("Login").WinButton("OK").Click

Please correct me where I am doing wrong..

Thanks
Ashita
Reply


Messages In This Thread
RE: How to know the server URL of QC if it is installed on PC - by ashita - 09-01-2011, 12:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SendKeys changing focus to IE url when executed from framework psova 0 2,121 06-09-2015, 07:19 PM
Last Post: psova
  How to get URL/Location from Address bar of any open window in Windows 7 kalpmist 0 4,312 05-11-2015, 07:23 PM
Last Post: kalpmist
  Need to execute the QTP Script where QTP is not installed. prasannadr 0 2,379 06-20-2014, 07:15 PM
Last Post: prasannadr
Exclamation QTP 11.0 crash on batch execution from QC 11.0 after patch 15 installed on QC server akothuru 0 2,167 02-13-2014, 03:27 PM
Last Post: akothuru
Wink Getting the url of the web page being tested qtpuser 2 3,414 01-30-2012, 10:22 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)