appium-studio experience - to realize Andrews on windows, IOS automated testing

 

      Bloggers are using win10 , using python + appium done after the first automated version of Android, ios for the automation worry, because there is no mac, most online IOS automated testing requires Mac notebook. For this reason, a lot of searching to do IOS automation solution on windows, and some suggested virtual machine, install Apple's system, not practiced, it is said the effect is not very good. Then, the search to the north drift of the Sons of Thunder blog post: https://www.cnblogs.com/leiziv5/p/10237761.html , immediately to the interest.

     Follow the download address provided: https://experitest.com/mobile-test-automation/appium-studio/ , the download fails, skip a few pages back and forth, it is the next down.

     Baidu appium-studio Download, found in the comments section available addresses: https://appium.experitest.com/t/appium-studio-11-4-version/725 , so to say, the comments section in a big God.

     With the package, decisively to the placement, try the next Android, just make sure your device is connected to the adb, connecting quickly, very convenient .

      Steps:

  1. Select the scripting language: python, click Add your Android device;

  2. Select the application name, click the Start Recording ---> device emulation box operation appium-studio pop ---> Stop Recording;

   Then you can see below Para Para bunch of scripts came out, as shown below (continuous recording needs to be cleared before recording, otherwise it will show all records):

     

 

     Try IOS, IOS pit more, when you add in the newspaper equipment: the device can not find authorization documents, access authorization file management menu, you'll see four options to verify:

       

  The first: you need to have a developer account and login ios, pay attention to the account here is the best kind of company-level pay, where the password is not developer account password, but requires app-specific-passwords, this how come? View: https://www.imore.com/how-generate-app-specific-passwords-iphone-ipad-mac ;

  Second: the need to import developerprofile suffix authorization file, which allows developers to help you Xcode- IOS account information from: email-export accounts in the lead out;

  Third: the need mobileprovision and p12 suffix files, log in directly to IOS development site, log in developer account, and then download the file from the list of authorized accounts;

  Fourth: not yet found where this file.

    

      Compare the recommended first, after two or three attempts the two non fruit, I started in https://accounts.seetest.io difficult consultation tour on the site, communication with the cat with three legs of English and foreign developers the process includes an error screenshots, log record analysis, and ultimately he gave me advice:

  1. With the first embodiment, to generate app-specific-passwords;       

  2. Upgrade appium-studio, using the latest version. Above the 11.4 version is no longer applicable. Given the official website to download address can not download, overseas development very intimate little brother alone has given a download link:   

    https://d242m5chux1g9j.cloudfront.net/12.6_Official/AppiumStudio_windows_12_6_5233.exe

  3.电脑需要安装itunes,IOS手机设置中激活开发者选项,这个可以让IOS开发使用Xcode连接设备后开启,一秒不到就可以激活;

      最后终于完美解决,连接上了我的IOS设备,录制操作如下图:

      

      虽然不会直接用于自动化测试,但在此基础上,IOS的自动化也是指日可待啦。

 

Guess you like

Origin www.cnblogs.com/qingyuu/p/11116092.html