Running a Browser Action Test on Multiple Browsers
- Create a browser action clip.
- Install CloudTest 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.
- 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.
Click the blue track name area to select
- Click the Copy button.
- Click the Paste button three times.
The Test Composition now has four copies
of the same test clip, one on each track.
- At the bottom of the page, click the Properties tab.
- The Properties screen will open showing a tree of the components of the Test Composition.
- Select the first clip in the tree. For example, under Track 1, select Clip for SOASTA Store UI as shown on the right.
- Select the Property Sets tab.This is where you will set the information about which CloudTest Conductor and which browser will run each test clip.
- 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.
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.
- The Path dialog box appears. Select the target (e.g. SOASTA Store UI)
- In the System tab on the right, select the Conductor system property.
Click OK to exit the Path dialog box.
When you do so, the Other Property Sets list is populated with the selected system
Click the Override Value
- In the Other Property Sets list, add another row and in the second row click the Path button (...) a second time.
In the Path dialog box, select the
target once again, and then select the System Property, Browser Type.
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.
- 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 CloudTest 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 CloudTest Conductor that is running on a Mac and choose the Safari browser.
- Save the Test Composition by clicking the Save button in the main toolbar.
What you should see
A dialog will open where you can name the Test Composition.
Press the Play button to run the test with multiple browsers.