Mobile Application Testing with TestSigma

Mobile Application Testing with TestSigma

A report by statista suggests that mobile devices alone have generated around 51.53 percent of the total web traffic till the first quarter of 2020 and is expected to increase exponentially in the upcoming years. Due to this increased usage of mobile devices, creating a user-friendly, responsive mobile application has become a necessity more than a trend.

Performing Mobile Application Testing using Testsigma is easy-peasy-lemon-squeezy when compared to other similar tools. The Testsigma, Automated Testing Tool provides tons of features to help you get started with your Mobile Application Testing.

Due to its intuitiveness, feature-rich and affordable testing tools, Testsigma has successfully secured a permanent position in the favorites list of the Testers and Developers. Let’s take a sneak peek into some of its features.

  • It helps you to build automated and stable tests for mobile applications by allowing you to run tests on 2000+ iOS and Android Devices which are available on Cloud.
  • You can create your mobile automated tests easily with natural-language-based test steps.
  • You can run tests concurrently which helps you to reduce the execution time.
  • It provides you access to comprehensive test reports along with a drill down approach. This helps you to analyze results quickly.

Having discussed this, let’s take a deep dive into some easy and useful steps that would provide you with a seamless Mobile Application Testing experience. In this article, we will demonstrate how you can perform Mobile Application Testing using the WordPress APK (Android Version). Using similar steps, you can also perform Mobile Application Testing for iOS applications.

Preconditions

To begin your journey with Testsigma, you need to have an account with TestSigma. You can sign up here to create a Free Trial Account.

testsigma

Create a Project and Application

After you have access to your TestSigma account, you can move ahead and start creating a Project.

To create a project, click on the + icon in the TestSigma Dashboard.

testsigma project

Click on the Project button (highlighted above) to start creating a project.

creating a project

Enter the Project Name, Description (Optional). To manage multiple applications in this project, check the box which says “Enable this to manage multiple applications in this project”. After that, you have to enter the Application Name.

Since, we are performing Mobile Application Testing, in the Application Type drop-down menu, select Android Native Application.

select Android Native Application

After entering all the details, you can click on the Create button to create the Project.

Create UI Identifiers

  1. To select the appropriate button or text box while creating test steps, you will need UI Identifiers. A UI Identifier helps in locating UI elements of any application through unique identifiers such as id, Classes, etc.
  1. Inside the Test Development option on the left context menu, click on UI Identifiers option.
UI Identifiers
  1. Click on the Create button on the top right corner of the UI Identifiers page. It allows you to either import UI identifiers from excel sheet or create one manually.
UI Identifiers page
  1. After clicking on the create button, you will be directed to the following screen.
create
  1. Here, you have 3 options to create UI Identifiers.
UI identifier button

You can either add UI Identifiers manually which we will be discussing in the upcoming steps. You can also select the “Using multiple attributes of the element” option, to select more than one attributes such as CSS selectors, IDs, Classes, etc. for an element.

The “Using Mobile Inspector” tool allows you to add all the UI Identifiers automatically by crawling through the entire application.

  1. We will show you how to add UI identifiers manually. Choosing UI Identifiers manually allows you to add only those Identifiers which you will actually require in your test steps.
  1. We are going to create many UI Identifiers to test multiple Input fields and elements. Have a look at the Email UI Identifier.
Edit UI identifier

Using similar ways, you can create all your UI Identifiers.

Creating Test Cases

  1. After you have created your UI Identifiers, the next step is to create Test Cases. Click on the Test Cases button on the left Context Menu just above the UI Identifiers. Then click on Create New Test Case Button.
Creating Test Cases
  1. After clicking on the Create button, enter details such as Name, Description, etc. After entering all the details, you can click on Create Button.
click on Create Button
  1. After you click on the Create button, You will be asked to enter Test Steps.
enter Test Steps
  1. TestSigma allows you to create Test Steps in simple Natural Language. To create Test Steps, start typing on the field and a list of options appear on the screen. We will create a Test Step to Launch the App and then tap on the Login Button.
  1. In the input field, type “Launch App” and click on Create Button.
Launch App
  1. Next, Start typing “Tap..”, it will show you a list of available options.
Tap
  1. Click on the “Tap on ui identifier” option. Delete the “ui identifier” text and it will show you a list of UI Identifiers that you created in the previous steps. Since we need to tap on the Login button, we will select the Login Identifier.
Tap on UI identifier
  1. Similarly, we can create multiple Test Steps. Here is a list of all the Test Steps that we have created to test the Login step.
multiple Test Steps

Uploading the App for Testing

You need to upload the App on which you would like to perform the Testing. You can upload the .apk file of the Application. Click on the Uploads button inside the Test Development part of the left Context Menu.

Uploading the App for Testing

Here, click on the upload button and you will be directed to a screen where you will be asked to fill in some details.

Uploading the App

Enter the name of the application, the type, and the version. Upload the .apk file of the application and create it on the Upload button.

Upload APK

Creating and Running the Execution

After you have uploaded the .apk file, go back to the Test Cases Page where you created your Test Case. Click on the Run Test Case button.

Creating and Running the Execution

You will be asked to enter some details.

enter some details

Here, you will have to enter the Name, Test Lab Type, OS Version and other details. You will notice that some input fields are automatically filled in such as the name, Test Lab Type, etc.

The OS Version and the Device are automatically filled with the latest versions. By default, Screenshots are captured only for failed steps. You can configure this to take screenshots for all or mandatory steps.

TestSigma provides a plethora of Android Versions and Devices for you to perform testing on all kinds of Screen Dimensions.

Screen Dimensions
Screen Dimensions2

Choose the “Use Uploads” button to see the list of .apk files that you have uploaded earlier and use the appropriate one for your testing. After configuring all the required fields, click on the create and run button.

Screen Dimension3

Analyzing the Reports

After you successfully run your Test Cases, you can perform a deep-down drill on your Test Results.

A complete Report with the screenshots of all the steps and the number of passed and failed Test Cases will be generated for you to perform enhanced debugging on your mobile application.

reports

With the increasing usage of handheld devices (mobile and tablets), it has become very essential to create applications that provide a seamless UI experience to the users. To achieve this, you need to perform enhanced testing on multiple screen dimensions to ensure the responsiveness of your application. It’s obvious that testing mobile applications on multiple screen sizes are a very hefty task.

TestSigma provides you with numerous features and tools to perform mobile application testing by allowing you to perform Testing on 2000+ iOS and Android devices all packed within a single tool.

It allows you to create test cases using simple natural language, thus providing an escape route where you don’t need to get into those confusing selenium codes. It’s a next-generation tool allowing you to save time and resources while you are performing enhanced Mobile Application Testing.

От QA genius

Adblock
detector