mobile app shows failed hardening security check up on doing action using test complete
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mobile app shows failed hardening security check up on doing action using test complete
Not able to install mobile app using test complete ...
IN our mobile application we need to fill form and submit order...when we fill form and submit form using test complete
app getting error "failed hardening security check"
Kindly help to check.
Mobile using : Huawai honor
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As tC is quite system intrusive, perhaps app detect intrusion in memory and reject due to securty check as the message was told to you ?
App must be set up properly for automation and secuirty controls must sometimes be reduced.
Un sourire et ça repart
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
even not able to install app using test complete ... i am using below code to install apk .
Function LaunchPRAApp()
On Error Resume Next
LaunchPRAApp = True
'Call Mobile.SetCurrent("KIW-L22")
Set MObj = Mobile.Device
Set packManagerObj = MObj.PackageManager
Set packObj = packManagerObj.GetPackageFromAPK(GetEnvProperty("PRAAPKPath"))
Mobile.Device.PackageManager.RemovePackage(packObj)
if ( Not Mobile.Device.PackageManager.InstallPackage(packObj)) Then
Log.Error("Something went wrong while installing the application.")
LaunchPRAApp = False
Project.Variables.logarray = "Something went wrong while installing the application."
Exit Function
End If
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have very little idea about what is the source for the "failed hardening security check" message, sorry for that.
But I would like to note that the use of the On Error Resume Next at the beginning of a function is highly not recommended practice as it hides all problems until unrecoverable crash occurs. And this crash might happen far far away from the line that failed initially. (Though far not sure that this will help with your exact problem.)
/Alex [Community Champion]
____
[Community Champions] 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. Posts made by [Community Champions]
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.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @vinodjaju, I see that you received a reply from our support engineers, let me copy it here:
>>
It seems that the cause of the issue is that your Android app uses some certificate which is required for the login process. When this Android app is being instrumented, the debug certificate overwrites yours.
Thus, you can solve the issue in the following ways:
1. You need to specify the developer certificate at the signing step in the Android Instrumentation wizard.
2. Build your Android app in IDE:
https://support.smartbear.com/testcomplete/docs/app-testing/mobile/android/preparing/instrumenting-a...
Those certificates should be from your Android app and they should be generated by the developers of that app in Android Studio.
<<
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
Yes , received solution from smarbear, but some internal project is going on now in our company, so application is not available to test until 24 Apr 2020. once ready will try to run and give my comments. thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vinodjaju great, we'll be waiting for an update from you then. Let me mark the Support's solution for now in this thread.
Sonya Mihaljova
Community and Education Specialist
