All things Marathon, Marathonite, Java and GUI Test automation, scripting and whatever is useful for test automation projects.
All things Marathon, Marathonite, Java and GUI Test automation, scripting and whatever is useful for test automation projects.
CATEGORIES
BOOKMARKS
Inserting Checklist to Test Script
June 24th, 2010
Using Marathon, checklists can be inserted while recording the testcases. While recording a “New Test Case”, checklist can be inserted so that it is prompted to accept when played back. While recording a “Exploratory Test Case”, checklist is added to make a note/comment about the status of the AUT (Application Under Test), this checklist is shown when the recorded test script is played.
Screenshots can also be added to the checklists. Required parts of the screenshots can be highlighted and a note for these highlighted parts can also be added if needed.
Checklist for test case:
Checklist will be a list of predefined conditions that should be satisfied by the test application. A Checklist can be inserted into the script while recording and can be verified for these conditions when the script is played. If any Checklist conditions are not satisfied, then the Status of the particular checklist item in the Checklist can be changed and a comment can be added if needed. A screenshot of the AUT can also be added. Test reports are generated in HTML and XML formats in the set location (<Marathon_Project_Directory>/Test Reports).
Recording using “New Test Case”:
Once the recording is started, Marathon main window will be minimized and the “Marathon Control Center” window will be displayed. AUT also starts and the UI of it appears.
While recording, a checklist can be inserted by clicking on the “Insert Checklist”
button in the “Marathon Control Center” window. Once the Insert Checklist button is clicked, “Select a Checklist” window will be displayed as shown below.
A list of available Check Lists will be displayed in the “Select a Checklist” window. Any of these Check Lists can be inserted to the script by selecting the Check List and clicking on the “Insert” button.
Creating new Check List:
A new Checklist can be created by clicking “New” button in the “Select a Checklist” window. On clicking New button, “Create a New Checklist” window will be displayed prompting to enter “Name” and “Description”.
“Create New Checklist” window has three tabs. First tab is Header clicking on which, a window “New Header” will be displayed to enter the header.
Second Tab is “Checklist” which will create a Checklist Item to Check List. Clicking on “Checklist” tab will open a window “New Checklist item” in which the Label for the checklist item has to be entered.
Third Tab is “Textbox” which will create Textbox to Check List. Clicking on Textbox will open a similar window as above where Textbox name can be entered.
Once all these fields have been filled click on “Save” button on “Create a New Checklist” window. Filename for Checklist needs to be entered for saving it. This creates a new Checklist and the created Checklist will be visible in “Check Lists” column of “Select a checklist” window as shown in the below image .
Playing Scripts:
To Enable Checklists while playing, click on “Enable Checklists” item in “Marathon” in the Marathon main Window.
While playing the recorded script, when the inserted checklist is reached, the CheckList window will be displayed as below.
In this window the Status of checklist Item can be changed and comments can be added. Screenshot of AUT can also be added by clicking “Screen Capture” button. After clicking the “Screen Capture” Button screenshot of AUT will be generated. In screen shot a required part can be highlighted and comments can be added as “Annotations” for the highlighted part.
Click on “Save” button to save the added annotations and/or comments in the respective windows, Playback of the script continues after saving. The annotations and comments added will be inserted in the reports generated.
Checklist for “Exploratory Test Case”:
While recording an Exploratory test case a checklist can be inserted in the similar way said above (by clicking on the “Insert Checklist” button in Marathon Control Center). The status of the Checklist item can be changed and comments and/or screenshot can be added if needed.
While Playing, execution of script will halt once it reaches the inserted check list and “Check List” window will be displayed. This will show the Checklist Item State, Screenshot if added while recording can be viewed by clicking on “Screen Capture” button.
This entry was posted on Thursday, June 24th, 2010 at 2:47 am and is filed under Marathon. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
(C) Jalian Systems 2008 | contact