In test automation, there are several kinds of frameworks to choose from to implement in your project depending on your needs. One of which is the Data-Driven Framework. In this framework, test data are stored in a single or combination of data sources like .csv, .xls .xlsx, database, straight from google sheets, and many more. With that, you should have a utility to extract or read your data from these data sources. If you haven’t tried reading data from an excel file yet, you can check this How to Read Data From Excel File Using Apache POI. …
In test automation, there are several kinds of frameworks to choose from to implement in your project depending on your needs. One of which is the Data-Driven Framework. In this framework, test data are stored in a single or combination of data sources like .csv, .xls .xlsx, database, straight from google sheets, and many more. With that, you should have a utility to extract or read your data from these data sources. For this writing, we will discuss how to read data from excel files particularly with that of .xlsx extension.
There are many ways of doing things. The same goes with how we set up our desired capabilities for our appium driver. The simplest way is like the image above. We create a DesiredCapabilities object and set the capabilities we want for our appium driver using the setCapability() method. Or if you have multiple sets of desired capabilities you can place them in a method and consolidate them on a single class. No matter how we do it, we all end up with our goal which is to set up our desired capabilities. …
Oftentimes, here is the normal workflow of people who are just starting to explore mobile test automation with appium. First they open appium desktop, you are lucky enough if you have a pretty hardcore computer but mine usually take more than a minute to start appium desktop.
So I’ve been working on this project and I needed to data drive my tests but firstly, I didn’t want my data to be polluting my report and secondly I didn’t want those data to be shown in the report. I did try looking in the internet on how to hide or remove these details on the report but couldn’t find any or an “allure-way” of doing it.
Luckily, allure creates a folder named “allure-result” in your project root directory and all the data shown in the report are stored here as a json file.
Are you are getting started with your mobile test automation journey? Then Appium is a must know tool. Appium is an open source test automation framework for use with native, hybrid and mobile web apps. Though setting up Appium can be difficult if you’re new as it requires a lot of dependencies with other tools. This is where this article comes in, to help you set up Appium. Let’s get started!
You can install it via npm or download Appium Desktop. I like Appium Desktop because it comes with the Appium Inspector which we will be using to inspect mobile…
Xcode is an Integrated Development Environment for macOS. In test automation, Xcode helps Appium to run our automation scripts on iOS.
To download Xcode, just open you app store on Mac and search for Xcode. It will let you download the latest Xcode version. As of this writing, the latest is 12.3.
Homebrew is a package management system that ease our installation of softwares on Mac and Linux systems.
Node also come with its default package manager, npm. npm help us install packages and their dependencies for our node application.
For test automation, Appium is a server written using Node.js and we will need Node to run it.
Or just copy and paste the script below on your terminal.