cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
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
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. Smiley Happy

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
7 REPLIES 7
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.

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.  

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
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. 

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
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. Smiley Happy

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Highlighted
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

New Here?
Join us and watch the welcome video:
SmartBear + Cucumber
Top Kudoed Authors