Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on WinRunner not identified object , what 2 do other than virtual object wizard method. within the WinRunner forums, part of the Software Testing category; 1) "OK" button in build change 2 "SUBIT" in next build, script is written and save , what i do? 2) wrunner not identified object , what 2 do other ...
|
|||||||
|
|||
|
WinRunner not identified object , what 2 do other than virtual object wizard method.
1) "OK" button in build change 2 "SUBIT" in next build, script is written and save , what i do?
2) wrunner not identified object , what 2 do other than virtual object wizard method. |
| Sponsored Links |
|
|||
|
Re: WinRunner
It's really simple, you have to change the TSL statement
Object_button(Click,Label"Ok") to object_button(click,Label"Submit") like that. You have to tell the winrunner that label has been changed from ok to submit. I am not an expert in winrunner, still a learner but hope it will solve your problem.
__________________
-- Brijesh Jain |
|
|||
|
Re: WinRunner
The change given above would not help.
After the caption of the "OK" button is changed, if we try to run the test, it shows a Run Wizard dialog box that says "WinRunner cannot find the object "OK". It also allows to 're-learn' the object using hand mouse pointer. Even after we do the changes mentioned by jainbrijesh, it still shows the same error. So, we need to re-learn the object using the "Run Wizard". Once we re-learn the object, it can be used without any problem until it is changed again.
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
|
|||
|
Re: WinRunner
Ya,
I forget to add one more thing in my previous post. You have to make the changes in Gui map also.You have to change the object property there also. But there is no need to relearn the object.And I am deadly sure about it.
__________________
-- Brijesh Jain |
|
|||
|
Re: WinRunner
Actually re-learning changes the GUI map automatically.
We need not search for the object in the GUI map and there is no risk of changing other objects in the object repository erroneously.
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
|
|||
|
To Identify a newly added object or the object that have been modified in the newer version, you can use the "SPY" option in the WinRunner to identify the properties of the object. By identifying the property using Spy will automatically capture the caption of the button, which has been changed.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Object Spy | suji | QTP | 3 | 06-19-2009 10:05 AM |
| abt object repository,virtual objects | psuresh1982 | C and C++ | 5 | 04-20-2009 08:28 AM |
| How to write scripts for getting this virtual object using QTP | Geek_Guest | QTP | 4 | 08-12-2008 08:58 AM |
| Object without using 'new' | ani_lavanya | Java | 7 | 06-06-2007 07:23 AM |
| How to use navigate method of browser object in QTP | Geek_Guest | QTP | 1 | 05-22-2007 03:30 AM |