Geeks Talk

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.

WinRunner not identified object , what 2 do other than virtual object wizard method.

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 ...

Go Back   Geeks Talk > Software Testing > WinRunner
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 12-02-2006
Junior Member
 
Join Date: Sep 2006
Location: pune
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jayant_gajbhiye is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-27-2006
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 106 Times in 74 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
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
Reply With Quote
  #3 (permalink)  
Old 12-27-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 528
Thanks: 1
Thanked 63 Times in 50 Posts
sutnarcha is on a distinguished road
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-
Reply With Quote
  #4 (permalink)  
Old 12-27-2006
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 106 Times in 74 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
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
Reply With Quote
  #5 (permalink)  
Old 12-27-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 528
Thanks: 1
Thanked 63 Times in 50 Posts
sutnarcha is on a distinguished road
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-
Reply With Quote
  #6 (permalink)  
Old 12-27-2006
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 106 Times in 74 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
Re: WinRunner

ya,
You are also right.But if I have to phase this problem, I will never go for relearning the object.
__________________
--
Brijesh Jain
Reply With Quote
  #7 (permalink)  
Old 10-16-2007
Moderator
 
Join Date: Sep 2007
Location: Chennai, INDIA
Posts: 406
Thanks: 2
Thanked 195 Times in 89 Posts
sridharrganesan has a spectacular aura aboutsridharrganesan has a spectacular aura aboutsridharrganesan has a spectacular aura about
Thumbs up Re: WinRunner not identified object , what 2 do other than virtual object wizard meth

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.
Reply With Quote
Reply

  Geeks Talk > Software Testing > WinRunner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved