Ask a Question

React Native support! (revived topic) *super important feature for mobile automation*

React Native support! (revived topic) *super important feature for mobile automation*

ReactNative is a standard for mobile app development these days and TestComplete still doesn't support that. There exist some discussions in this forum that TesComplete might be support ReactNative but this is not true... I was discussing with TestComplete and they said that this is not possible. 
If TestComplete wants to be a competitive tool in mobile testing then ReactNative support is a must-have feature.
Sadly but this is a huge obstacle for our company and we even thinking about switching to another testing tool... 
Other well known commercial testing frameworks support this but TestComplete is not.
I strongly believe in this automation tool and I hope that Mobile Automation is the thing that you're planning to improve. Because it has always been a weak spot for TestComplete. 


23 Comments
cunderw
Community Hero

What support is missing for you? I have written several tests over react native applications using test complete. 

TMbet
Occasional Contributor

@cunderw  hi, I saw some of your posts about that, but it doesn't seem to be true. I can't see any of react-native objects in our app... After the long discussions with TestComplete support team, they confirmed that this is not supported so I believe that your applications are not react-native.

TMbet
Occasional Contributor

@TanyaYatskovska  It would be great to have an official response from TestComplete team in this forum. Because it's still confusing for some people. Everyone should understand that currently this is not supported  🙂

cunderw
Community Hero

React Native just creates standard objects for your OS, you won't see the react native objects themselves as those go away when compiled to an app. Can you see any objects from the application? If not then there is a misconfiguration somewhere. 

TMbet
Occasional Contributor

@cunderw  no, I can't see any of the react-native objects in the application.  I know what is react native and how it works, but the fact is that react-native doesn't work at all... TestComplete works only with native ios/android applications, but not react-native.
@cunderw  As I said that was officially confirmed by the TestComplete team.

cunderw
Community Hero

cunderw_0-1591655098986.png

Example of some mapped react native UI. If you see nothing in your object browser then something has to be configured incorrectly. It might to be ejected into an Android Studio project and recompiled with the PatchServices.jar.

 

TMbet
Occasional Contributor

@cunderw  

I know that thing too. Also, in your screenshot, it's not an "object browser" it's a "name mapping" repository and it's impossible to read something in your screenshot because it's too blurry.
You can simply ask this question for TestComplete team and you'll see that I'm right.
Now looks like you don't know how your application is built 🙂 With all respect, I'm sure that your app is not react native

 

cunderw
Community Hero

Apologies the screenshot came out blurry when uploaded. I'm not sure what the conversation you had with support was, I'm just trying to help get to a resolution because I know I have automated react native applications. Maybe it doesn't support deploying with expo? How are you deploying your app? How is it being built? 

 

The object question's view name is even "com.facebook.react.views.view.ReactViewGroup".

TMbet
Occasional Contributor

@cunderw  "Deploying with expo" what do you mean? In other tools like appium, ranorex and so on I able to see react-native objects. Check my screenshots and you'll see some of the conversations with TestComplete
Annotation 2020-06-09 023625.pngAnnotation 2020-06-09 023759.png 

TMbet
Occasional Contributor

@TanyaYatskovska  @sonya_m  that's why we need an official response on this thread then this feature request will become a valid request. Some people are still confused because of this 🙂

Announcements
Welcome to the TestComplete Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here