简体   繁体   中英

Where to write code in Appium iOS test automation software?

I am new to automation and trying to use Appium(Mac app) for writing test scripts on iOS app.

I have managed to load my app successfully on Appium and also used Appium Inspector. There is a Record button which records my actions in Appium inspector.

However, my question is how do I save these recorded scripts for reuse? Secondly, I also want to manually write test scripts using Java, but currently don't know where to write code using Appium Mac app.

I have read the starter guide on Appium website and seen some videos but cannot find any app usage related information.

Any help(links, tutorial video) will be appreciated.

PS I do not use Selenium.

  1. My suggestion is to not use the record feature in Appium, it's not stable and hard to maintain.
  2. You can write your java-automation-code on Eclipse/intellij(and all java IDE) You have a lot of information on internet, you can start here:
    Appium - Git - Sample - java

Try to make it run, and take it from there. You always can ask at discuss.appium.io and see examples.

Good luck, hope it's helps a little.

您可以按照与Selenium中正确的方式来编写脚本,这意味着您可以选择任何IDE(在我的情况下,我正在Eclipse Juno上工作),如果要使用TestNG框架,则只需传递所有功能,然后以TestNG。

You can use any programming language supported by Appium where you feel better.

Setup environment and create test scripts. you can learn from:

Appium

Jave Sample

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM