cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussion on Old and Latest build

Highlighted
Regular Contributor

General Discussion on Old and Latest build

I Instrument an app old build in my system and install latest build in the device. When i execute the script it's working fine. My approach is it will always work or in some type of scenario will create some problem.

2 REPLIES 2
Highlighted
Community Hero

Hi,

 

Not sure I got your scenario...
Instrumentation is required in order TestComplete to get access to tested application internals and to make it possible for TestComplete to search for controls, access their properties, etc. With the application not been instrumented, your test code that tries to access application's internals will fail.

On the other hand, you can use image-based testing and identify target controls in the tested application by their images. This approach does not require instrumentation but obviously is slower (in terms of execution speed) and less reliable.

 

P.S. Assuming that we are talking about Android, https://support.smartbear.com/testcomplete/docs/app-testing/mobile/android/preparing/instrumenting-a... might help.

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Community Hero

Your approach will work until something in the latest build breaks your test or there is a feature in the latest build that your test doesn't cover.  A broken test will be obvious but you may miss important testing by not using the latest build.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors