Part 1: Introduction

ATOMP Tester 4.0: allows users to create test scripts and then execute the test automatically in multiple devices.

ATOMP Studio: Helps to generate test scripts automatically based on users’ interactions with the devices.

A.      Start using ATOMP with Mobile

I.            Basic Overview

Step 1: Add a new project (Tester 4.0)

  1. Login to: https://tester40.atomp.io/
  2. When the Dashboard is shown, click on “Add Project”
  3. Pick a name and set a type for the new project
  4. Click on the [Create New Project] button to finish creating a new project

Type is General

Type is PC Web

II.            Install and Restart app

On select device screen, user can choose one or both:

  • Install app on device: On Tester 4.0 screen, when user installs APK and IPA then clicks on this item, the application will install automatically on the device.
  • Reset running app: When the user selects this item, the app tested will be reset to the Home screen.

I.            App Setting

1.      WEB_VIEW

  • On select device screen, user can choose NATIVE_APP or WEB_VIEW to create test script.

WEB_VIEW for iOS: In the “Please select app setting” textbox select WEB_VIEW

After selecting the test type is WEB_VIEW then will select the corresponding device -> Studio screen shown with safari opened on streaming screen.

On Studio screen, user can open URL to test by click on Web -> Navigation -> Go to URL on the right side of the menu -> Popup Get URL is displayed -> User inputs URL on textbox then click on Execute Action button (To save the open URL step, the user must record before).

If the device does not switch to WEB_VIEW, the user goes to Device Farm and selects the correct device needed to switch to WEB_VIEW and enable item “Web Inspector”

  • WEB_VIEW for Android: In the “Please select app setting” textbox, please select NATIVE_APP

After selecting the test type is NATIVE_APP, user select the corresponding device -> Studio screen is displayed with NATIVE_APP. To switch to WEB_VIEW,firstly  the user will start Chrome by clicking on Device -> Android Activity -> Start Activity -> Popup Start Activity is displayed -> User input App package and App activity then click on Execute Action button (To save the open URL Chrome step, the user must record before).
– App package: com.android.chrome
– App activity : com.google.android.apps.chrome.Main

 After opening Chrome, the user switches to WEB_VIEW by click item “Change Context” on Studio screen -> Popup Change Context is displayed -> User click on WEB_VIEW item to change.

2.      NATIVE_APP

*** Follow Part 2: Create a Test script with Mobile section A. Create a Test script with Studio

3.      Create test script with WEB_VIEW (iOS)

Step1: Select device as WEB_VIEW

Step2: Open URL which user need to test

Step3: When creating test scripts with WEB_VIEW, the streaming screen will not highlight the element like when creating test script in NATIVE_APP, but the user has to find the element in the source code or inspect the website and then search for the source in Studio.

Step3.1: Input text into textbox Attribute to find element.

Step3.2: Inspect on the web tested then user copies the iD or xpath of the element which you want to click.

Step4: After the element is found, the user creats test script normally with actions in Studio. (Follow Part2. Create a Test script with Studio).

*** Creating test script on Android with WEB_VIEW is similar to creating on iOS

A.    Start using ATOMP with PC Web

Step 1: Add a new project (Tester 4.0)

  1. Log in to: https://tester40.atomp.io/
  2. When the Dashboard is shown, click on “Add Project”
  3. Pick a name and set a type for the new project (Type: PC Web)
  4. Click on the [Create New Project] button to finish creating a new project

Step 2: Install the Studio Web extension on your browser

  • The ATOMP Studio Web extension has not been installed on your browser
    1. Click on the [Manage Test Script] button from the “Project Detail” screen
    2. From the “Manage Test Script” Screen, click on the [Create with ATOMP Studio] button
    3. Inside the popup “ATOMP STUDIO WEB”, click on the [Download Studio Extension] button to download the extension file namely “studio-web-extension”
    4. Download the Studio Web extension and extract the compressed zip file to your computer
    5.  Install the Studio Web extension via Chrome.
      • Go to Chrome > Manage Extensions.
      • Turn on the “Developer Mode”.
      • Click on the “Load unpacked” button and select the extracted folder of Studio Web extension.
  • Update Studio Web extension to the latest version

Step 3: Create a test script with ATOMP Studio Web

  • After opening the Studio Web extension, the Studio Web primary screen will be displayed. This screen shows all the commands/steps that will be executed inside your desired web app. Please refer to “Part 2: Create a Test script with Studio” for more details on how to create a test script.

Step 4: Run a test script with Tester 4.0

  • After being created, a test script will be saved and displayed inside the “Manage test script” screen in Tester 4.0 where users can execute this script on. For details on how to execute a test script on Tester 4.0, please refer to “Part 3: Execute a Script with Tester 4.0”.

Leave a Reply

Your email address will not be published. Required fields are marked *