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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

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

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 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
================================

View solution in original post

7 REPLIES 7
Marsha_R
Community Hero

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

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.

smartbearrj
Contributor

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

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.  

AlexKaras
Community Hero

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

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 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
================================
smartbearrj
Contributor

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

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
Community Manager

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

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
AlexKaras
Community Hero

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

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 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
================================

View solution in original post

smartbearrj
Contributor

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

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: