Running a Browser Action Test on Multiple Browsers

Document created by Chris Sommerstad Employee on Jul 20, 2017Last modified by Chris Sommerstad Employee on Jul 22, 2017
Version 2Show Document
  • View in full screen mode

Prerequisites

    • Create a browser action clip.
    • Install SOASTA Conductor on each of the desktop clients that will be used in the test. For example, a Window machine and a Mac OS X machine. Note that for each desktop client, more than one of the supported browsers can be utilized (e.g. one Conductor/browser combination per track).

For example, on Windows both the Internet Explorer and Google Chrome can be used.

TIP: During Conductor installation, name the Conductors so that their operating system is apparent. This will aid in selecting a Conductor and browser combination to use when configuring system properties below.

 

 

Steps

 

    1. With a Browser Action test clip open in the Clip Editor, choose Open in Test Composition command to place the clip into Track 1 of a new, draft Untitled Composition.

It will be added to the first track of a composition in a new Composition Editor tab.

  1. Click the blue track name area to select the Track.

  1. Click the Copy button.

  1. Click the Paste button three times.

  1. The Test Composition now has four copies of the same test clip, one on each track.

  1. At the bottom of the page, click the Properties tab.

    1. The Properties screen will open showing a tree of the components of the Test Composition.
    2. Select the first clip in the tree. For example, under Track 1, select Clip for SOASTA Store UI as shown on the right.
    3. Select the Property Sets tab.

This is where you will set the information about which SOASTA Conductor and which browser will run each test clip.

  1. In the Property Sets tab, Other Property Sets section, click the green Plus icon.

A new row is added to the Other Property Sets list and icons appear in the original row.

  1. Click the Path button (...). In the remaining steps we will override the default Conductor value of the given target and repeat that for each clip instance in this test.

 

  1. The Path dialog box appears. Select the target (e.g. SOASTA Store UI)
  2. In the System tab on the right, select the Conductor system property.
  3. Click OK to exit the Path dialog box.

 

When you do so, the Other Property Sets list is populated with the selected system property.

  1. Click the Override Value drop-down.

  1. In the Other Property Sets list, add another row and in the second row click the Path button (...) a second time.
  2. In the Path dialog box, select the target once again, and then select the System Property, Browser Type.

  1. The second row is populated with the Browser Type property. Choose a Browser Type override value for this clip. For example, Internet Explorer for the Windows machine.

    1. Repeat the Override System Property steps above for each of the the 2nd through 4th clips.

For example, select Conductors from at least two machines, one Windows and the other Macintosh OS X.

Possible combinations include (but are not limited to):

    • For the second clip, choose the same SOASTA Conductor you chose for the first target but choose the Firefox browser.
    • For the third clip, choose a Conductor that is installed on a Mac and then choose the Firefox browser.
    • For the fourth clip, choose a SOASTA Conductor that is running on a Mac and choose the Safari browser.
  1. Save the Test Composition by clicking the Save button in the main toolbar.

A dialog will open where you can name the Test Composition.

 

Press the Play button to run the test with multiple browsers.

Attachments

    Outcomes