Siirry suoraan sisältöön

Automated Software Testing with Selenium (5 cr)

Code: TT00EM53-3001

General information


Timing

01.10.2020 - 31.12.2021

Number of ECTS credits allocated

5 op

Virtual portion

5 op

Mode of delivery

Distance learning

Unit

ICT ja tuotantotalous

Campus

Karaportti 2

Teaching languages

  • English

Seats

0 - 500

Degree programmes

  • Tieto- ja viestintätekniikan tutkinto-ohjelma

Teachers

  • Virve Prami

Teacher in charge

Janne Salonen

Groups

  • ATX21TV
    NonStop virtuaaliopinnot vuosi 2021
  • ATX20TV
    Avoin amk - NonStop vuosi 2020

Objective

This course aims to acquaint you with Selenium, which is an open-source web-based automation tool, from both practical and theoretical approach step-by-step. Generally accepted that automation testing occupies center stage in Quality Assurance since it can act as a catalyst for testers to achieve a desirable quality. There are various automation testing tools, of particular note is Selenium owing to several reasons. This course starts with fundamental Selenium concepts and will gradually move to advance topics like different commands, Action classes, and framework creation. This course is suitable for beginners with little or no automation experience to an advanced level. At the end of the course, students are expected to appropriately gain the knowledge of automation concepts and automate the considerable part of test cases with the TestNG framework.

This course is 100% virtual thanks to the comprehensive interactive material and content prepared for this course.

The student will pass this course after submitting the required quiz and assignments.

Content

1. Selenium Introduction:
What is Selenium? - Selenium IDE - Selenium RC - Selenium Webdriver - Selenium Grid - Who developed Selenium?

2. Selenium WebDriver Setup:
Introduction - Install Java - Install Eclipse IDE - Install Selenium WebDriver - Configure Eclipse IDE - First Selenium WebDriver Script

3. Locators in Selenium WebDriver:
What are Locators? - Locating by ID - Locating by Name - Locating by Class Name - Locating by Tag Name - Locating by Link Text & Partial Link Text - Locating by CSS Selector - Locating by XPath

4. Commands in Selenium WebDriver:
Browser Commands - Navigation Commands - WebElement Commands - Operational Methods - Verification Methods - Data Capture Methods - CheckBox and Radio Buttons - DropDown & Multiple Select -

5. Switching alert & windows:
Wait statements - Handling Alert - Handling Multiple Windows - Handling iframe

6. Action Class:
Actions class - Right Click and Double Click - Drag and Drop - Mouse Hover - ToolTip - Keyboard Events

7. Tips & Tricks
Headless Browser Testing - Take Screenshot - Upload and Download a file - Find Broken Links

8. TestNG Framework
Introduction to TestNG - TestNG Installation in Eclipse - First Test Case with TestNG - TestNG Test Suite - TestNG Annotations - TestNG Assertions - TestNG Groups - TestNG Dependency - TestNG Priority - TestNG Data Provider - Cross-browser and Parallel Testing – TestNG Listeners

Location and time

Course is 100% online in TechClass -portal and course can be done in own pace.

Materials

Online in TechClass -portal.

Teaching methods

This course is 100% virtual thanks to the comprehensive interactive material and content prepared for this course.

Course includes:
- Assignments
- Quiz
- Projects
- Self-study

Employer connections

N/A

Exam schedules

Online in TechClass -portal.

International connections

N/A

Completion alternatives

N/A

Student workload

Lectures = 40h
Assignments = 25h
Self-study = 40h
Quiz = 5h
Project = 20h
Essay = 5h
Total = 135 hours

Evaluation scale

0-5

Assessment criteria, satisfactory (1)

- The student knows the basic definitions of Selenium.
- The student knows the difference between Selenium IDE, Selenium RC, Grid, and WebDriver.
- The student knows how to set up the Selenium web driver.
- The student knows how to configure the IDE.

Assessment criteria, good (3)

- The student can locate elements within the website through a different approach.
- The student can fetch data.
- The student can clear inputs.
- The student can navigate in browsers.
- The student can verify elements.
- The student can handle alerts.
- The student can move between multiple windows.
- The student can perform click events.

Assessment criteria, excellent (5)

- The student can handle mouse & keyboard events.
- The student can take a screenshot.
- The student knows what headless browsers are and run to test the application with the help of them.
- The student knows how to download and upload a file.
- The student knows what TestNG is.
- The student knows how to use Annotations, Groups, and Dependency.
- The student knows how to use the data provider option in TestNG.
- The student knows how to perform Parallel Testing.
- The student knows how to implement Listeners.

Assessment methods and criteria

The student will pass this course after submitting the required quiz and assignments.

Exercises 30%
Quizzes 20%
Project 40%
Essay 10%