Jump to content

Remote Test Lab: Testing Your App with Auto Repeat

Recommended Posts


This blog is the third in a series of posts about Remote Test Lab. In previous blogs, we covered what is Remote Test Lab and its new features. Next, we are going to take a deep dive into some useful features of Remote Test Lab.

The Remote Test Lab service lets you install and test your applications on real devices. In this blog, we are going to install an application and test it on Remote Test Lab devices with Auto Repeat. Auto Repeat is a tool that lets you create a test scenario automatically, repeat the same test several times, and reuse the test later.

Install your application

To get started, launch a Remote Test Lab client, then go to Remote Test Lab and reserve one of the available mobile devices.

You can install your application on the remote device by dragging and dropping the application package from your computer into the Remote Test Lab client. Through the client, you can watch how the application behaves on the device.

You can also install applications by going to Management > Application Manager or selecting Test > Install Application in the device context menu.

Install your application in any of the ways described above.

Record and play events

Recording and playing back events is one of the ways to test your applications automatically. When you record events for repeated testing, we recommend that you start and finish recording at the same screen on the Remote Test Lab client.

The following figure shows the most commonly used buttons in the Auto-Repeat window.
Auto Repeat
① The Add button lets you add more actions manually.
② The Record button starts recording actions on your device screen.
③ The Play button starts playing a test.
④ The Stop button stops playing a test.

To start recording a test scenario, proceed as follows:

  1. Click Test > Auto Repeat in the context menu on the Remote Test Lab client.
  2. In the Auto Repeat window, click the Record button.
    Once the Record button is clicked, all events on the RTL client are recorded. The recorded events are added to the Event List in the Auto Repeat window.
  3. Click the Stop button when you want to stop recording.
    The number of events and how long the test took to run appear under the Event List.
  4. To run the test repeatedly, enter a number into the Test Repeat field in the Test Option section.
  5. Click the Play button.
    Monitor the progress of your test in the Auto Repeat window. You can check the completion progress as well as which step is currently running.
  6. Click File > Save.
    An xml file is saved to your computer. You can reuse the xml file to test your application on other devices with the same resolution.

The following video shows each step of recording events and playing back the test procedure.

Create test sequences manually

You can also create a test scenario by adding events manually. This method can be more complicated but it lets you insert a wide variety of events to your scenario.

To add an event to your test scenario, proceed as follows:

  1. Click the add button in the Auto Repeat window.

  2. Select a desired event.
    The selected event is added to the Event List section.

  3. Fill in the related information in the Event Properties section.
    Every event has its own properties. Properties you do not need to fill in are marked with N/A in the Event List section. If a mandatory property is missing, the test isn't performed.

  4. Click the Play button.

The following video shows each step of adding events manually.

You can create complete test scenarios by recording events or manually add more events to make the test scenarios more sophisticated.

Remote Test Lab article series


Go to Remote Test Lab

View the full blog at its source

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By Samsung Newsroom
      View the full blog at its source
    • By Alex
      cnet is covering Samsung's CES press conference, the South Korean electronics giant will show off its latest crop of TVs and home appliances during its presentation at the Consumer Electronics Show in Las Vegas.
      Samsung's presentation starts at 2 p.m. PT on Monday, and we'll be bringing you all the news and commentary from inside the Mandalay Bay hotel on the Las Vegas Strip. I'll be live blogging along with David Katzmaier, and James Martin will provide photography from the event.
      Samsung's 2015 CES press conference: Join us Monday (live blog)

  • Create New...