Forum Discussion

Slingshot's avatar
Slingshot
New Contributor
6 years ago
Solved

Keyword Test - The object "ubButton" does not exist.

Hello

I'm a new user and work for an Insurance company and we are developing a number of Keyword tests which simulate a new client file being created by a consultant in our desktop Insurance program (Windows 10).

 

The insurance program has a built in client matching function so if the same or similar client exists in the database a window appears alerting the consultant so a decison can be made to create a new file or explore the match.

 

When recording the keyword test I made sure that this window was part of the recorded steps and a ubButton is clicked. 

 

My question to the forum is how do I set my keyword test to 'Go-to the next step' if the ubButton does not exist when executing the test?

 

Many thanks in advance.  

  • Use the "if-object" operation to detect whether or not the button exists.  If it exists, click on it.  

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Use the "if-object" operation to detect whether or not the button exists.  If it exists, click on it.  

    • Slingshot's avatar
      Slingshot
      New Contributor

      Manyy thanks for your reply.

       

      That worked perfectly with the 'Else'.

       

      Cheers

      Learning is sweet..