Monday, July 11, 2011

Testing With DOM Interactions -- Guide to Examples (Part 1)

This article presents eValid example scripts that illustrate use of the index/motion (structural testing) DOM manipulation commands. These scripts were developed using the available DOM Technology Resources to accomplish the results demonstrated in each "snippet".

In most cases the index/motion (structural testing) scripts are extremely robust in that these test script passages do not depend on specific page or application properties, but only on objects and effects that can change location and visual detail.

Tests built using these techniques survive the effect of dynamic page changes, including inconsequential changes that don't affect the underlying functionality. They also address basic test playback synchronization issues and can still provide fine-detail client-side performance data extraction suitable for large-scale loading experiments.

Link Short Example Explanation
Navigation to URL Shows how to navigate to a particular URL.
HTML Push Button on a FORM Locate and click on a push button on a FORM.
Radio Button On A FORM Locate and push a radio button on a FORM.
Check Box On A FORMLocate and check a particular box on a FORM.
Single Form Text Input FieldFind a particular text field in a FORM and type something into it.
Multiple Form Text Input Fields Type in multiple files in a FORM.
First Item in Dropdown List Click on the first item in a dropdown list.

No comments: