Forum Discussion
I am not sure why you can't access with Object Spy. Can you provide a screenshot of the object browser for your application?
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?
- ashwinpendyala6 years agoOccasional Contributor
Attaching the properties of the Username Text Feild.
If Test complete works, it will be huge benefit and more reusable. Thanks for supporting..
- cunderw6 years agoCommunity Hero
What does the code that is failing look like?
Can you do a test and with the application running, use the full name of the text box and send keys to it without, reinstalling or launching the test? I'm thinking this might be a timing or mapping issue.
Related Content
Recent Discussions
- 5 hours agoSvetaG