Ask a Question

Forcing TestComplete to touch an object even if not topmost


Forcing TestComplete to touch an object even if not topmost

Hi there.

I've come accross a problem whilst testing Android toasts. The problem is as follows. For a given screen (activity) if certain information is not entered while navigatiing away from the object, a toast is generated by the application informing the user of required information. Now, I want this to happen since i can then use a region checkpoint to verify that the toast is displayed. 

The problem that i have now is, is that TestComplete does not want to navigate to another control since it seems to think that the activity has been moved to the background (which it isn't).

Is there a way to force TestComplete to touch the control even if it's not topmost?



It might help others to help you if you repeat the description of the problem and provide details about what you have tried and what exactly did not work.


  /Alex [Community Champion]
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: