ContributionsMost RecentMost LikesSolutionsrecovery mechanism when app crashes We have android and ios app where while running batch testing, app crashes in between making all rest of scripts as fail, so is there recovery mechanism that Testcomplete identifies the crash and relaunches the app again. Any one has idea how to implement such crash scenario?? Please help me in this Re: support for react native developed mobile apps hi cunderw Thanks for the info..below is the architecture followed for developing the app..can u suggest any thing from this?? Attached in following mail chain.. https://community.smartbear.com/t5/TestComplete-Mobile-Application/support-for-react-native-developed-mobile-apps/m-p/164875/highlight/false#M1818 Re: support for react native developed mobile apps cunderw Attaching the architecture of app development and let me know is you see any issues.. Re: support for react native developed mobile apps cunderw still i get the issue working with Testcomplete. The same thing is possible by Appium..:mansad: Re: support for react native developed mobile apps cunderw With the Record & Playback, i can record the operations on login screen and playback successfully by entering Username, Password & Click on "Sign In" button But in the same way after user logged into app, if i try to Record the operations, no operations are getting recorded. So how to rule out this one?? But i am able to see all the Objects from Object Browser. Attaching screenshot for reference. Re: support for react native developed mobile apps Below is the code i have written for login screen. Tried in all ways by 1. Launching the instrumented app by script and send keys to username and password 2. Launched the instrumented app by manually and send keys to username and password For all the ways, i see script is failing to perform operations. Suspect any code related issue from developers Public Function AndroidMob_Launch 'Installing the Android Agent call Androidagent 'Install the package from Tested Apps if it has not been installed yet TestedApps.Universal.Run aqUtils.Delay 15000 Mobile.Device.Process("com.universalui").Layout("NO_ID").Layout("action_bar_root").Layout("content").Layout("NO_ID").Layout("NO_ID").Layout("com.reactnativenavigation.views.ContentView").View("com.facebook.react.views.view.ReactViewGroup").View("com.facebook.react.views.view.ReactViewGroup", 2).EditText("com.facebook.react.views.textinput.ReactEditText").keys "mini318@cam1.com" Mobile.Device.Process("com.universalui").Layout("NO_ID").Layout("action_bar_root").Layout("content").Layout("NO_ID").Layout("NO_ID").Layout("com.reactnativenavigation.views.ContentView").View("com.facebook.react.views.view.ReactViewGroup").View("com.facebook.react.views.view.ReactViewGroup", 3).EditText("com.facebook.react.views.textinput.ReactEditText").keys "123456aA" Mobile.Device.Process("com.universalui").Layout("NO_ID").Layout("action_bar_root").Layout("content").Layout("NO_ID").Layout("NO_ID").Layout("com.reactnativenavigation.views.ContentView").View("com.facebook.react.views.view.ReactViewGroup").View("com.facebook.react.views.view.ReactViewGroup", 6).View("com.facebook.react.views.view.ReactViewGroup").Click aqUtils.Delay 45000 if Mobile.Device.Process("com.*").RootLayout("").ViewFlipper("NO_ID").Layout("NO_ID", 2).Layout("SCROLL_LAYOUT").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").TextView("NO_ID").getText="My Home" then Mobile.Device.Process("com.*").RootLayout("").ViewFlipper("NO_ID").Layout("NO_ID", 2).Layout("SCROLL_LAYOUT").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").View("NO_ID").TextView("NO_ID", 2).Click aqUtils.Delay 35000 Mobile.Device.Touch 821, 1059 aqUtils.Delay 5000 Mobile.Device.Process("com.*").RootLayout("").ViewFlipper("NO_ID").Layout("NO_ID", 2).Layout("SCROLL_LAYOUT").View("NO_ID").Layout("ny0k.cc").View("NO_ID").View("NO_ID", 2).Button("NO_ID", 2).Click Log.UnlockEvents If ((Mobile.Device.Process("com.*").RootLayout("").ViewFlipper("NO_ID").Layout("NO_ID", 2).Layout("SCROLL_LAYOUT").View("NO_ID").View("NO_ID", 2).View("NO_ID").View("NO_ID", 3).View("NO_ID").View("NO_ID", 2).VisibleOnScreen)="True") then Log.Picture Mobile.Device.Desktop.Picture,"Mobile App launched successfully" Else Log.Error "Launch is not successfull" End If Else Log.Error "No Thermostat is found with My Home name" End If End Function Function Androidagent() 'Installing the Android Agent AgentApkPath = "C:\Program Files (x86)\SmartBear\TestComplete 12\Bin\Extensions\Android\AndroidAgent.apk" Set Agent = Mobile.Device.PackageManager.GetPackageFromAPK(AgentApkPath) Mobile.Device.PackageManager.InstallPackage(Agent) Mobile.Device.PackageManager.LaunchPackage(Agent) aqUtils.Delay 5000 Log.LockEvents 10 Mobile.Device.PressBack Mobile.Refresh Log.UnlockEvents End Function Re: support for react native developed mobile apps cunderw Attaching the properties of the Username Text Feild. If Test complete works, it will be huge benefit and more reusable. Thanks for supporting.. Re: support for react native developed mobile apps cunderw 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. Re: support for react native developed mobile appscunderw 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?Re: support for react native developed mobile apps cunderw thanks for the reply. I have some clarifications regarding the topic. Should Mobile App needs to be ejected and Built? Can you provide detailed information regarding this?? OR Usually i instrument the apk files using Testcomplete IDE with default Debug Certificates. Is this referring the same?? https://support.smartbear.com/testcomplete/docs/app-testing/mobile/android/preparing/instrumenting-apps/user-interface.html OR So do we need to re-compile the Mobile App source code with Patch Services you were mentioning right?? I am pure QA and dont have knowledge of doing all these. Can Mobile App developers do these??