|
|
ViewsPersonal toolsManaging ScriptsFrom Seapine LabsThe best and easiest way to create a script to test an application is to record it. During recording, QA Wizard Pro captures the actions you perform as you interact with the application. After a script is recorded, you run it to test the application. During playback, QA Wizard Pro compares the application against the version you recorded against. If there are differences, the scripts fails.
[edit] Creating a workspaceWorkspaces organize scripts and the reports and datasheets related to the scripts. Your use of workspaces depends on your organization’s testing process. You may use only one workspace for each application or use multiple workspaces to manage each functional area you are testing in an application. You must create at least one workspace before you record scripts. [edit] Selecting the default Web browserYou can record and run Web scripts using Microsoft Internet Explorer and Mozilla Firefox. You can run scripts using either browser, regardless of the browser used for recording. If the application only supports one of the browsers, record and run scripts using the supported browser. If both browsers are supported, you can record scripts in either browser and run them in both browsers to ensure that the application performs consistently.
[edit] Recording scriptsRecording a script creates a new script and captures actions as you interact with an application. The scripts you record provide a baseline for application testing. After recording, you can modify scripts to develop more complex testing scenarios. Careful planning is the key to successful automated testing. Keep the following in mind when planning a recording session:
[edit] Understanding recorded scriptsAfter you record a script, the actions you performed are interpreted by QA Wizard Pro and added as steps in the script. Some additional steps are also automatically added to help QA Wizard Pro use the correct application during playback. The following statements are automatically added to all recorded scripts:
[edit] Running scriptsWhen you run a script, QA Wizard Pro compares the tested application against the information stored in the application repository. If differences are found, the script fails. You can run individual scripts or multiple scripts using QA Wizard Pro or using a command prompt. You can also run scripts remotely. Keep the following in mind when you run scripts:
|
|


