Appium+robotframework automated testing for iOS apps-3: An essential tool introduction

Source: Internet
Author: User
Tags appium

Some readers may have questions about how the iOS simulator starts. How to locate the controls in the interface?

Let's take a brief introduction to the following:

1.Inspector Introduction

Inspector The word literally means the inspector, which is understood to be an inspector, what to check? is actually used to check the control in the interface, you can use it to locate the control, of course, it is not only the function of this, you can also record scripts.

2. Start Inspector

When Appium is in a ready state, click the Appium icon in the rotation at the top of OS X, and a drop-down menu will pop up as shown in.

Click on the bottom of show Inspector and the Appium Inspector window will pop up, as shown in.

Also note that the emulator for the app also appears.

3. Positioning controls

When we click on a control on the right-hand side of the inspector, the details of the control appear on the left side, especially the name and XPath properties, which are important for the next test script, as shown in.

Note, however, that the right-most mobile interface does not directly support interactive operations, and requires the use of tap,swipe and shake at the lower left to make it clear that you will try it out.

Inspector also supports recording operations, but after personal use, it is not as good as writing your own code, not much more.

Please continue to pay attention to ...

This article copyright to the Green Tree all, welcome reprint, but please specify the author and source, strictly prohibited for any commercial use, otherwise the consequences!

Appium+robotframework automated testing for iOS apps-3: An essential tool introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.