...
For complete directions on installing and running Selenium IDE in Firefox, please reference the "Installation" “Installation” section of Getting Started with Selenium.
...
Open the OLETS Jira Project and log in with your Kuali KIS username and password. You will find the "Log In" link in the upper right-hand corner of the page.
Click on the "Issues" “Issues” drop-down menu near the top of the screen. Highlight and click "Search “Search for Issues." ”
In the "Issue Navigator" “Issue Navigator” pane, on the left-hand side of the screen, find the "Projects" “Projects” list and scroll down to "OLE “OLE Test Scenarios," ” then click to highlight it. A blue notification bar will appear below the "Issue Type" “Issue Type” list:
Click on the red "Refresh Search" “Refresh Search” link and wait for the page to refresh. Scroll down until you see the title "Issue Attributes" “Issue Attributes” in the Issue Navigator pane. The second field in this section should be "Assignee“Assignee." ” Click the assignee drop-down box and select "Current “Current User."”
Scroll back up to the top of the screen and click the "Search" “Search” button. Once the page refreshes, you should see all of the issues currently assigned to you.
Any issue with a value of "Assigned “Assigned to Test (RD 1)" ” or "Assigned “Assigned to Test (RD 2)" ” is ready to be tested. Click on the "Key" or "Summary" “Key” or “Summary” field for any issue to open it.
...
Once you have the OLETS issue open, scroll down to the "Attachments" “Attachments” section. The Selenium script will appear here as an HTML file. Right-click on the file and select "Save “Save Link As..."”
There may be more than one Selenium script to download for each OLETS issue. If this is the case, read through the steps to see if it's it’s necessary to run the test scripts in any particular order.
Once you have the test script downloaded, open Firefox, and then Selenium. You may have an icon providing a shortcut to Selenium on your Firefox toolbar. If not, open the Firefox menu, select the "Web Developer" “Web Developer” category, and click on "Selenium “Selenium IDE." ” Selenium will open in a separate window.
...
In the Selenium IDE window, click on the "File" “File” menu, select "Open“Open," ” and navigate to the appropriate test script.
Note | ||||
---|---|---|---|---|
| ||||
Selenium does not allow multiple test scripts to be selected with the "Open" “Open” function. If you need to run multiple test scripts for your OLETS issue, you will need to select "Add “Add Test Case" Case” instead, about halfway down the length of the menu. |
To run the Selenium script, you can click on the "Actions" “Actions” menu and select "Play “Play current test case," ” or you can click the icon highlighted in the image below.
...
Note | ||||
---|---|---|---|---|
| ||||
The Selenium script will be executed in whatever Firefox window was most recently active. Be careful not to run a Selenium script in a window you've you’ve been working in so that you don't don’t lose your work! |
...
As Selenium runs, whatever command the application is currently executed will be highlighted in yellow in the "Table" “Table” tab. Once the command has been successfully executed, it will turn green. A failed command will turn red and return an error message in the log window.
...
Some evaluations will cause a Selenium script to halt, and some will not. There are two basic kinds of evaluations in Selenium - – assert statements and verify statements. An assert statement will cause a test script to halt and report an error if it fails. A verify statement will report an error message upon failure, but will not halt the test script.
...
If a test script has a number of "Verify" “Verify” statements, it is possible that it will run with more than one failure. It is also possible that the test script will complete, but will also report one or more failures.
...
Open the OLETS test case if you don't don’t already have it open. You should see the options "Test Passed" and "Test Failed" “Test Passed” and “Test Failed” at the top of the screen. Click on the appropriate option, and a dialogue box will appear.
...
Enter the current date as the date tested. Next, you will need to select either "Passed" or "Failed" “Passed” or “Failed” by hand in the section labelled "Test “Test Results." ” You will also have the option to attach a file by clicking "Choose “Choose File," ” and then selecting the appropriate screenshot or log file in the file selection dialogue. You can attach multiple files, if necessary, by selecting "Choose File" “Choose File” again, after the first file has been attached.
...
Once you have entered your comments and any attachments to be added to the test case, you will need to click on the button reading either "Test Passed" or "Test Failed" “Test Passed” or “Test Failed” in the lower right-hand corner of the test results dialogue box. Once you do so, the test results dialogue box will disappear, and your comments and attachments will be added to the test case.
...
You can attach a screenshot saved in this manner in the test results dialogue (described above), or at any time using the "Attach Files" “Attach Files” command. To use the "Attach Files" “Attach Files” command, click on the "More Options" “More Options” drop-down in the OLETS test case, and select "Attach “Attach Files." ” A dialogue box like the test results dialogue will appear. Select the file using the "Choose File" “Choose File” button, enter your comment in the "Comment" “Comment” field, and click
If you prefer, you can use the "Attach Screenshot" “Attach Screenshot” JIRA function. This function can also be found under the "More Options" “More Options” drop-down menu. Once you click on the "Attach Screenshot" “Attach Screenshot” function, a dialogue box will appear, prompting you to take and attach a screenshot.
...
You will still need to use your operating system's system’s built-in screenshot function for this dialogue box. Highlight the window you wish to capture, press the Alt + Prnt Scrn key combination, then return to the screenshot dialogue box and click the "Paste" “Paste” button. Once your image appears in the window, you have the option to enter a filename for your screenshot. You may also enter a comment describing the screenshot in the "Update comment" “Update comment” field. Once you're you’re ready to save your screenshot, just click the "Attach" “Attach” button. The dialogue box will disappear, and your screenshot and comment will be added to the test case.
...
To attach a Selenium log as a text file, first keep Selenium open after the test has failed. If you've you’ve already closed the Selenium application window, you'll you’ll need to re-open it and run your test script again to repeat the failure.
...