Forum Discussion
Referring to your post in the feature request post you logs look like you are trying to simulate actions on objects that are not visible on your screen.
If you can already see objects from your application in the object browser you shouldn't need to do anything else with your APK, you are already seeing the internals.
As for why your actions are failing, we will need a lot more info. Code examples, pictures of any mapping you have done, pictures of your object browser for the objects that your actions are failing on and the additional information of your errors in the log.
Thanks for the info. I am also suprised with the behaviour. then why i cant able to access via spy?
any extra effort needs to be taken care by developer's?
- cunderw6 years agoCommunity Hero
I am not sure why you can't access with Object Spy. Can you provide a screenshot of the object browser for your application?
- ashwinpendyala6 years agoOccasional Contributor
Please find the attachments of the Object Browser for few screens & Logs
Login_Screen
Main_Screen
Log1.mht
You are saying that React Native App will finally converted to Native Apps and it should support. but when i contacted Customer Support, they replied that Testcomplete doesnot support React Native Framework.
I am confused with that....!!!!!!!!!!!
With the same app, when tried in IOS mobile, i could identify and access the Username & Password fields but having issue with the Sign In button.
- cunderw6 years agoCommunity Hero
In your screenshots you can see that Test Complete is picking up the native android objects in your object browser, so there is support. Without more code examples I can't really tell you why you are having issues interacting with objects.
https://github.com/react-native-material-design/demo-app I even downloaded the apk from here to do a test and had no issues interacting with and playing back scripts.
Mobile.Device("emulator-5554").Process("com.demoapp").RootLayout("").Layout("com.facebook.react.ReactRootView").View("com.facebook.react.views.drawer.ReactDrawerLayout").View("com.facebook.react.views.view.ReactViewGroup").View("com.facebook.react.views.view.ReactViewGroup").View("com.facebook.react.views.view.ReactViewGroup", 2).View("com.facebook.react.views.view.ReactViewGroup", 2).TextView("com.facebook.react.views.text.ReactTextView").Touch();
It's even picking up the same type of objects as shown in your object browser. Can you provide code examples? And properties of the first object it's failing on?