Micro Focus QTP (UFT) Forums
how to save values in object repository - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: how to save values in object repository (/Thread-how-to-save-values-in-object-repository)



how to save values in object repository - krupa - 11-08-2011

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


RE: how to save values in object repository - ravi.gajul - 11-08-2011

Open object repository and add objects required.
For help on how to do it, please find the pdf attachment.

Regards,
Ravi