Forum Discussion

lokmanav's avatar
lokmanav
Regular Visitor
1 hour ago

Object doesn't exist

Hello Smartbear Community,

We have a inhouse built Android mobile app (A) that invoke another inhouse built mobile app module (B) during the user flow of the of the mobile app (A). We record and play our Keyword tests and are in pretty early stages of the Test Complete implementation in the QA environment.

We realised the playback of the recorded script failed persistently, and upon quick checking, found that the test looks for object from mobile app module B, which for some reason it couldn't find at all and fails persistently with error popup as below:


Unable to highlight the 'Aliases.device.processMobileAppB.scrollViewSvContainer.spinnerActvDropdownQuestion2' object on screen, because it does not exist.

Just to add, we don't have custom Name Mapping library and use whatever is captured during recording, does that spell issue?

Also, whatever we record, its pretty slow playback, like even a simple test with few UI selections takes like minutes on each screen. We are on latest TC 15.0.X.0. Any feedback is much appreciated.

 

 

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    A simple record and playback approach will work. However, if the property value of a UI element changes, playback will fail.

    I suggest you read and understand Object Identification. It is vital to understanding how TestComplete identifies and interacts with UI elements.