Quick Start with Mobile Automation

Before start to automate your mobile project, You need an APK or IPA file.

In this example, We will automate ABC News Android Application. You should download the latest APK file from this URL: https://www.apkmirror.com/apk/australian-broadcasting-corporation/abc-news

Let’s start!

1- Create a new Mobile automated project

  • Click PROJECTS and select the ANDROID tab

  • Click ADD .APK FILE button

  • SELECT FILE from your Computer

  • Write App Name and Version and Click ADD PROJECT button

 

2- Record or develop your test cases

  • Click the new project and open CASE MANAGEMENT

  • Click NEW SECTION and write your SECTION TITLE

  • Click ADD SECTION to add your Section

  • Click ADD CASE button on your new section.

  • Write your Case Title on the Case Edit tab.

  • Select your favourite Coding Language and Framework

  • Click the blue ADD CASE button

 

 

 

  • Click OPEN DEVICE to record your mobile scenario

  • Select 1 mobile device you want and click the OPEN DEVICE button to start recording the test case.

     

     

  • RECORDER window will be open

  • Click the REFRESH button if you think that the app screen is not ready yet or App Source is empty.

  • Enable Transaction Record Mode by switching ON the Record Mode to start recording the steps

  • Tap, Swipe, Send Keys, Clear Text …. on your Application. All your actions will be saved as coded steps

  • If you need to edit your Code or rename your Step Name click the EDIT icon on the STEP

  • Click Save Changes

  • Click the QUIT button on Recorder to go back to your Case Management. You should continue to edit your steps on the case management screen or continue to use Recorder for another TestCase

3- Run a test and check the results

  • Click the TEST RUNS tab to create a new Test Run

  • Click CREATE NEW TEST button to create a new Test Run

  • Set Your Test Name

  • Check your TestCase(s) which will run. Tests will be run depending on the case selection order

  • Click the SET TIME button

  • Click the SELECT DEVICE button if you need to run immediately

  • Choose your mobile device(s) which will run your TestCases

  • Click RUN TEST button

  • After a few seconds, your test will start automatically. You can inspect the TestRun when the test goes RUNNING status. (SCHEDULED → RUNNING → COMPLETED)

  • Click on the test run that you need to view test results.

  • You should see your TestCases with Steps on the left side. Select 1 step.

  • Select 1 device to view its results.

  • Check the logs, screenshots from different devices and more to inspect details.

  • There will be 2 screenshots on the screen. 1st screenshot has taken before the step run, 2nd one is after the step run. Click any screenshot to view a larger screenshot on the popup.

 

Check out our other mobile guides to see how you can automate your apps with Momentum Suite.