Results 1 to 7 of 7

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

  1. #1

    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.


  2. #2
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    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.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  3. #3
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    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-

  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    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.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    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-

  6. #6
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: WinRunner

    ya,
    You are also right.But if I have to phase this problem, I will never go for relearning the object.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  7. #7

    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.


  8.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact