Browser actions are those actions a user performs using a web browser, including keystrokes, mouse actions, text entry, and system actions such as close or submit. These user actions are represented visually in SOASTA CloudTest as boxes with the operation name and target service logo on it. |
|
In SOASTA CloudTest, browser actions are combined into Test Clips with other test clip components—such as checkpoints and delays--that correspond to the individual test case that the clip represents. |
![]() |
|
Browser actions can be recorded from any WebUI/Ajax target once it is selected in the Available Targets list and the Included Target is displayed in the Test Clip Editor. Some generic browser actions are also provided in the Operations list in the Test Clip Editor. You can also add a new browser action using the Add New Browser Action Once the target site is displayed in the editor, simply perform the browser actions you want to capture. |
![]() |
Browser Action TypesIn the Test Clip Editor, a given browser action equals some type of user action performed within the web browser context. Browser actions are categorized by Selenium type, each of which has a corresponding color assignment: |
|
|
![]() |
|
![]() |
| Generic browser actions with noOp are silver. | ![]() |
|
![]() |
Defining Generic Browser ActionsThe Test Clip Editor records browser actions, but you can also add them using the Add New Browser Action button on the toolbar, or by adding the noOp from the Operations list for the given target. A browser action that has no operation (noOp) is silver. The noOp is given its designation because it has no target and operation. Using noOp is an easy way to add a new browser action to a test clip when you want to use a different target than the one on which the open test clip is based. |
![]() |
|
To set a target and operation for a browser action that has no operation, select and right-click it, and then select Choose Target and Action from the context menu. |
![]() |
|
When Choose Target and Action is selected, the Choose dialog box appears. |
![]() |
|
Browser actions and test clips are both defined by the target upon which they are based and whose properties they inherit. Browser actions created from a target using the Available Targets list in the Test Clip Editor inherit the properties defined within that target. By comparison, adding a new browser action using the Add New Message icon require further editing, or by selecting noOp in the Operations list creates a generic browser action whose values need to be set. |
|
WebUI/Ajax Sample PagesThe sample site includes the following common categories that pertain to Web user interfaces and particularly Ajax.
This category includes a simple, multi-object Sample Page as well as a mini-SOASTA web site replica (this is a sample site not the real site).
A variety of page reloaders are presented in combination with typical frame and JavaScript functionality.
The relationship between mouse clicks and scripts is explored here.
A variety of forms are presented, including asynchronous, Ajax auto-complete, multi-select, select options, store values, reload page on change, event handling, and focus on blur.
Common drag and drop actions are presented.
Framed, multi-frame, and other frame examples are presented.
This category presents a miscellany of features such as element ordering, text, locators, internationalization, XHTML, a slow loading page, rich text, verifications, and visibility pages are presented. In each of the sections, click the buttons or enter data where applicable. Clip elements in the form of Browser Actions are added to the Test Clip as you perform these actions. |
![]() |
|
With the Browser Recorder successfully installed and the WebUI/Ajax target created in the prior steps, we will now use the Browser Recorder add-on to add a Browser Action to a test clip. |
|
|
![]() |
|
—Or— |
![]() |
When you do so, the target is placed into the Included Targets list and the Target URL page is displayed in the center of the Test Clip Editor. Using the Pop Out window provides a more natural experience of the browser as well as access to your browser’s external navigation and toolbars. Toggle the button a second time to return the Target URL page to the Editor and close the Pop Out window when you’re done recording actions. |
![]() |
Browser Action Elements and Properties
For example, select Browser Action 1 on the upper left of the Test Clip Editor workspace. |
![]() |
|
![]() |
SOASTA CloudTest includes three property sets all of which have relevance for refining and editing a selected browser action.
Customer Properties are available to all clip elements, including Browser Actions.
System Properties are available to all clip elements, including Browser Actions.
The Global Properties object does not represent a portion of the Test Composition object model since the properties it contains are beyond the composition scope. Global properties are defined within the Repository > Global Properties List and are “global” within a given composition. |