Created By  dmarkovtsev Wednesday, September 12, 2018

When you execute a recorded test, sometimes, Rapise may not find some object on screen and display Object is not found error message in the report. If you see that the object is visible you can check if Rapise can find it or not without running the test.

Flash the Object

Locate the object in the Object Tree, right click it and choose Flash.

Rapise highlights the found object.

If the object is not found then Rapise shows an error message.

Major Reasons Why Object is not Found

There are two major reasons why object may not be found during test execution.

1. Object is not available on screen when a test performs the search. Try to slow down test execution and wait for object to appear.

2. Location property of the object is invalid. Either you are working with an updated version of the application and object has different location inside it or it is a web application and recorded location uses DOM element attributes with dynamics values.

Ignore Object Name

Less frequent reason is the case when object name changes while user interacts with the application. For example when an edit box is first displayed on screen it may have a name Type to filter . But after entering the value it's name changes to empty string.  So next time a test needs to interact with the object (during same session) - object is not found. In this case set  Ignore Object Name property of the object to True.

 

Attachments

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 9/12/2018
  • Article ID: KB375
  • Views: 384