Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to save values in object repository
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
I am using mercury 9.2 and trying generate the script

' To Open Flight Login Window
Code:
SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"

'To Activate
Code:
Dialog("Login").Activate
'To Enter the Agent Name
Code:
Dialog("Login").WinEdit("Agent Name:").Set "testing"

When I run this script I am getting the run time error "The "Login" object was not found in the object repository"
what should I do? and should I have to change any settings?
pls help me out
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Open object repository and add objects required.
For help on how to do it, please find the pdf attachment.

Regards,
Ravi


Attached Files
.pdf   AddObjects.pdf (Size: 322.68 KB / Downloads: 109)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Do we need object repository?? subhashinid 0 1,853 07-06-2016, 10:07 AM
Last Post: subhashinid
  Object repository losing object properties ishan.mahajan@adp.com 2 3,432 08-20-2015, 11:33 PM
Last Post: ADITI1992
  login object not found in object repository Akram 2 2,967 06-01-2015, 07:47 PM
Last Post: babu123
  object was not found in the Object Repository reynard 0 6,626 03-17-2015, 10:54 PM
Last Post: reynard
  Change Object Repository File Path for ExternalActions MasterChief 1 4,424 11-13-2014, 06:05 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)