Results 1 to 4 of 4

Thread: Cannot identify the object "TextBox"

  1. #1
    Geek_Guest
    Guest

    Cannot identify the object "TextBox"

    Question Asked by Visitor joeloo

    Hi guys,

    I am new in using QTP. I am facing a problem, where it shows error - Cannot identify the object "TextBox" (of class WinObject). Verify that this object's properties match an object currently displayed in your application.

    I have checked the object Proerties in OR against the testing properties shown for object using Object spy. There is difference and I did change the values accordingly. It works for the first time.

    But the problem is the value for window id for the objects keep changing everytime I refresh the page (e.g. a new window created when I click on "New" button, and the window id for buttons in the new window are always changing.

    Really appreciate for quik response. Thanks


  2. #2
    Contributing Member
    Join Date
    Feb 2006
    Answers
    33

    Re: Cannot identify the object "TextBox"

    Make window id as regular expression.
    It will work for sure.


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    12

    Re: Cannot identify the object "TextBox"

    Try as dsharma said.It should work.

    Mahi


  4. #4
    Expert Member
    Join Date
    Apr 2007
    Answers
    147
    One thing you can do is....
    Either you use creation time to identify the Browser/Page.

    Or the second thing you can do is.....
    dynamically capture the Browser/Page Title. this is the most authentic way

    Last edited by jainbrijesh; 07-06-2007 at 04:42 AM.

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