Joke Collection Website - Public benefit messages - OPPO mobile phone automated testing personalized problem solution

OPPO mobile phone automated testing personalized problem solution

a. Click Settings to enter the settings page

b. Click About Phone to enter the About Phone page

c. Click Version Information to enter the version information page< /p>

d. Click the version number three times in succession to enter the developer mode

e. Return to the settings page and click other settings

f. Other settings page Scroll down to see the developer options

g. Click on the developer options to enter the interface, open the developer options, and turn on USB debugging

When using Appium to connect to the OPPO phone, an error is reported. The information is as follows:

Solution:

a. In the developer options, turn on "Disable permission monitoring"

b. Re-invoke Appium to connect to the phone, This error will no longer occur

During the UI automation process of OPPO mobile phones, when the script needs to call Alipay for payment, a security reminder pop-up window will appear, causing the script to fail to execute. The pop-up window is shown in the figure below :

Executing the script requires the installation of AppiumSetting and UIAutomator2 services. When installing software on OPPO phones, an authentication window will pop up. You need to enter the password set by the phone for successful installation.

If the password is not entered in the future, the installation of the above services fails and the script cannot be executed successfully.

Set verification frequency

Click to enter Settings -> Other Settings -> Devices and Privacy, click Install Authentication, select "Non-software store installation for verification", click Verification Frequency, select "Required after 15 minutes", after this setting is successful, authentication will no longer be required within 15 minutes.

There is no other solution for the security mechanism set up by OPPO mobile phone manufacturers, and the processing methods may be different due to different system versions.