Geeks Talk

Prepare for your Next Interview




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


Go Back   Geeks Talk > Software Testing > WinRunner

Register FAQ Members List 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: 866
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
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
brijesh.tester@yahoo.co.in
http://softwaretestingexpertise.blogspot.com
Reply With Quote
  #3 (permalink)  
Old 12-27-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 523
Thanks: 1
Thanked 55 Times in 46 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: 866
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
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
brijesh.tester@yahoo.co.in
http://softwaretestingexpertise.blogspot.com
Reply With Quote
  #5 (permalink)  
Old 12-27-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 523
Thanks: 1
Thanked 55 Times in 46 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: 866
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
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
brijesh.tester@yahoo.co.in
http://softwaretestingexpertise.blogspot.com
Reply With Quote
  #7 (permalink)  
Old 10-16-2007
Moderator
 
Join Date: Sep 2007
Location: Chennai, INDIA
Posts: 406
Thanks: 2
Thanked 154 Times in 81 Posts
sridharrganesan will become famous soon enoughsridharrganesan will become famous soon enough
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


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to write scripts for getting this virtual object using QTP Geek_Guest QTP 4 08-12-2008 08:58 AM
abt object repository,virtual objects psuresh1982 C and C++ 4 11-22-2007 06:32 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
Object Spy suji QTP 2 11-27-2006 12:12 PM


All times are GMT -4. The time now is 02:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved