BugRaptors

Services

  • Manual Testing
  • Automation Testing
  • Performance Testing
  • Security Testing
  • Web Testing
  • Mobile Testing
  • AI Testing

Solutions

  • BugBot
  • MoboRaptors
  • RaptorVista

Resources

  • Blogs
  • Case Studies
  • Client Testimonials
  • Ebooks
  • News

More Info

  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Careers
  • FAQ
  • Sitemap

Subscribe to our Blogs

Copyright ©BugRaptorsAll rights reserved.

Branding Partner: Make My Brand
Bugraptor logo
Bugraptor logo
Company
AI-Enhanced Engineering Solutions
QA Offerings
Verticals
Tools
Resources
Bugraptor logo
Company
Preparing menu...
AI-Enhanced Engineering Solutions
Preparing menu...
QA Offerings
Preparing menu...
Verticals
Preparing menu...
Tools
Preparing menu...
Resources
Preparing menu...

We use cookies to improve your experience. By using our site, you agree to our cookie policy.

Back to Articles
Test Automation

Aug 3, 2020

Mobile Automation Testing with Selenium and Appium

Achal Sharma
1055 views
3 min read
Add Us as Your Preferred Source
Mobile Automation Testing with Selenium and Appium

This blog will give you an overview of mobile automation testing services using Appium. Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS and Android platforms.It is a Node.js server that automates native and hybrid mobile applications. We can write the tests in any language supported by Selenium, using the WebDriver API.

Native apps are those written using the iOS or Android SDKs. Hybrid apps have “webview” with a wrapper around - a native control that enables interaction with web content. Mobile web apps are those that can be access using a mobile browser (Appium supports Safari on iOS and Chrome or the built-in ‘Browser’ app on Android).

It is easy to write tests against mobile apps, especially after using Selenium and Web Driver. The same test code is used for testing both the mobile site and the native Android / iOS app. The only difference is in setting up the configuration, where you actually tell it to use the Web Driver, Remote Web Driver, Appium Driver or the Android Driver.Appium automates Android and IOS using the UI Automator library, which is provided by Google as part of the Android SDK and Appium inspector for IOS.

Appium Inspector and UI automator viewer tool are very handy when identifying some visual elements in the applications. Appium inspector is a combination of the Appium server itself and the inspector, that is used to discover all the visible elements of your app while developing your test scripts.This inspector works well for iOS, but for Android there are some problem areas with it. To that end, we encourage the use of ui automator viewer.

The UI automator viewer tool provides a convenient GUI to scan and analyze the UI components displaying on android device.You can use this tool to inspect the layout hierarchy and view the properties of UI components that are visible on the foreground of the device.This information lets you create more fine-grained tests using UI Automator, for example by creating a UI selector that matches a specific visible property.The UI Automator API is bundled in the UI Automator.jar file under the /platforms/ directory. The API includes these key classes, interfaces, and exceptions that allow you to capture and manipulate UI components on the target app.

Appium runs on real devices and emulators. It takes the Selenium commands from your test code and translates them into a readable format for UI Automator, using the WebDriver JSON Wire Protocol. The UI Automator testing framework lets you test your user interface (UI) efficiently by creating automated functional and UI test cases that can be run against your app on one or more devices.

Achal  Sharma

Achal Sharma

Mobile Automation Testing

About the Author

Achal is a seasoned Mobile Automation Lead in BugRaptors with an ISTQB certification, possessing extensive expertise in mobile automation testing. With a robust background in developing and implementing automation frameworks tailored specifically for mobile applications, Achal excels in ensuring the quality and reliability of mobile software products. His proficiency in utilizing cutting-edge automation tools and methodologies enables him to streamline testing processes and accelerate release cycles. Achal's leadership skills, coupled with his commitment to delivering high-quality solutions, make him a valuable asset in driving mobile automation initiatives and achieving organizational goals effectively.

Interested in Our QA Services?

Get in touch with us to discuss your requirements

Interested in our QA services?

← View All Articles

Recent Articles

Explore more insights and articles from our experts

BugRaptors is one of the best software testing companies headquartered in India and the US, which is committed to catering to the diverse QA needs of any business. We are one of the fastest-growing QA companies; striving to deliver technology-oriented QA services, worldwide. BugRaptors is a team of 200+ ISTQB-certified testers, along with ISO 9001:2018 and ISO 27001 certifications.

flag

Corporate Office - USA

5858 Horton Street, Suite 101, Emeryville, CA 94608, United States
+1 (510) 371-9104
flag

Test Labs - India

2nd Floor, C-136, Industrial Area, Phase - 8, Mohali - 160071, Punjab, India
+91 77173-00289
flag

Corporate Office - India

52, First Floor, Sec-71, Mohali, PB 160071, India
flag

United Kingdom

97 Hackney Rd London E2 8ET
flag

Australia

Suite 4004, 11 Hassal St Parramatta NSW 2150
flag

UAE

Meydan Grandstand, 6th floor, Meydan Road, Nad Al Sheba, Dubai, U.A.E

Interested in our QA services?