Download presentation
Presentation is loading. Please wait.
Published byKathlyn Hodges Modified over 9 years ago
1
Test Automation For Web-Based Applications Portnov Computer School
2
2 Homework
3
3 Assigning Job Title Pre conditions: Create employee with your first and last name. ( Create employee test case 2) 1. Login 2. Assert the page title 3. Search for employee whose last name is [your last name] 4. Click on the employee name link to go to the Employee Details page. 5. In the left panel click Job menu item. 6. Click Edit. 7. Assign Job Title 8. Assign Employment Status 9. Save 10. Go to employee list (PIM > Employee List) 11. Search for employee whose last name is [your last name] 12. Verify the employee job title matches the selected job title. 13. Verify the employee Employment Status matches the selected Employment Status. 14. Logout
4
4 Notes and Hints: A. Please make sure to use clickAndWait where it is necessary B. This script does not require selectFrame or selectWindow actions, please remove any you may have. C. After selecting Job Title you must wait for the Employment Status to update its selection options. (Use the reference tab of Selenium IDE to learn how to use waitForSelectOptions command) D. Hint: you can use verifyText command to determine the Target and Value needed to use the waitForSelectOptions command.
5
5
6
6 1. Login 2. Assert Page Title 3. Go to Leave > Leave Summary > Employee Leave Summary 4. In the top right drop-down choose Select instead of All Employees. 5. Click the [...] Browse button 6. Click the name of one of the employees (stick to choices at the top) 7. Select PTO Leave Type 8. Click the View button 9. Verify that indeed PTO is displayed for the employee you selected. 10. Logout
7
7 Hint: You may need to read about how to use select Window, and about workaround which exist. You may need to read about how to use select Window, and about workaround which exist. Sometimes the command fails to detect windows and needs to use workaround. Sometimes the command fails to detect windows and needs to use workaround. Hint: If you open any additional windows, you need to close them! Hint: If you open any additional windows, you need to close them!
8
8
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.