Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

automate

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

  • You will be navigatedClick the new project and open CASE MANAGEMENT automatically

  • Click ADD NEW SECTION and write your SECTION namePress ENTER to Save TITLE

  • Click ADD SECTION to add your Section

  • Image Added
  • Click ADD CASE button

Image Removed
  • on your new section.

  • Write your TestCase Name and press ENTER

Image Removed
  • Case Title on the Case Edit tab.

  • Select your favorite favourite Coding Language and Framework

  • Click the blue ADD CASE button

Image Added

  • Click OPEN DEVICE to record your mobile scenario

Image Removed
  • Select any 1 mobile device you want and click the OPEN DEVICE button

Image Removed
  • to start recording the test case.

    Image Added

  • 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

Image Removed
  • 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

Image RemovedImage Added

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

Image Removed
  • Image Added

    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

  • Click VIEW RESULTS button

Image Removed
  • . (SCHEDULED → RUNNING → COMPLETED)

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

  • Image Added

    You should see your TestCases with Steps and Overall status of your testClick on any STEP nameto inspect

Image Removed
  • Select a device from the list

Image Removed
  • Review the Test Results (Logs, Screenshots and more..)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

Image Removed
  • . Click any screenshot to view a larger screenshot on the popup.

Image Added

Info

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