Ask a Question

Object spy can not find the objects inside the mobile screen.However It can find the mobile screen.

SOLVED
smartbearrj
Contributor

Object spy can not find the objects inside the mobile screen.However It can find the mobile screen.

Test Complete Version - 12.60.xxxxx

 

 

7 REPLIES 7
Marsha_R
Champion Level 3

What mobile screen?   What did you try and what happened when you did?  The more details you give, the easier it is to help you.

I am having an android mobile. It is instrumented as per requirement i.e. it had developer option enabled , USB dubugging privilege granted and Test Complete android agent installed. 

 

Now when I open my object Spy and focus on the Mobile then Object hierarchy only shown Mobile and Devices object and no child objects in the Devices object. It is not highlighting the objects inside the Device object.  

Hi,

 

> It is not highlighting the objects inside the Device object.

It will not.

Tested application must be instrumented in order TestComplete can access its internals.

See https://support.smartbear.com/testcomplete/docs/app-testing/mobile/android/preparing/instrumenting-a... for more details.

 

Regards,
  /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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

This is a hybrid mobile application. i.e application opens in the browser on mobile. In the above link , mobile and application is instrumented for native mobile application.

 

Can You now specify if something I am missing. 

TanyaYatskovska
SmartBear Alumni (Retired)

Hi @smartbearrj,

 

It's worth checking if you meet the requirements listed here:

https://support.smartbear.com/testcomplete/docs/app-testing/mobile/hybrid/about.html

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



Hi,

 

> This is a hybrid mobile application.

Hybrid application is the native one that opens web page inside WebView control but starts as a regular Android application and thus must be instrumented as any other native application. https://support.smartbear.com/testcomplete/docs/app-testing/mobile/hybrid/index.html for more details.

 

In case you are testing web application, i.e. the one that is accessible via http address only and opens in the browser, than you must either use Chrome in the emulation mode (https://support.smartbear.com/testcomplete/docs/app-testing/web/mobile/emulator/index.html) or use SmartBear Browser for the real device (https://support.smartbear.com/testcomplete/docs/app-testing/web/mobile/real-devices.html).

 

P.S.

> Can You now specify if something I am missing.

Please, don't take it personally indeed, but TestComplete, unlike the great majority of other modern applications, contains great, useful and pretty descriptive documentation that is really worth carefull reading. So don't hesitate to read it. 🙂

 

Regards,
  /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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

Hi @AlexKaras

 

Problem is solved now. I did not read much of the article for hybrid mobile app Testing . Now I have found that

it is the base.apk the application which is native one and is already instrumented.

 

Thanks

cancel
Showing results for 
Search instead for 
Did you mean: