Kurskode
Csharpfortesters
Varighet
21 timer (vanligvis 3 dag inkludert pauser)
Krav
- An interest in C# programming and automation testing
Audience
- Beginner testers who wish to learn C# for automation testing
- Professional testers with experience in other programming language such as Java or Javascript who wish to transfer their testing skill set to C#
Oversikt
This instructor-led, live training is designed for anyone interested in learning C# for the purpose of automation testing. It is a streamlined, intensive course with plenty of hands-on exercises to get participants ramped up quickly with the essential programming skills needed to apply in software automation testing. The focus is on the C# fundamentals which can be directly and immediately applied to test automation.
This course does not cover in depth test automation frameworks such as Selenium. If you are already versed in C# and wish to get straight into testing with Selenium, please check out: Selenium WebDriver in C#: Introduction to web testing automation in C#.
Format of the Course
- Part lecture, part discussion, heavy hands-on practice, occasional tests to gauge understanding
Kursplan
Introduction
Project Setup
.Net and VisualStudio Setup
C# Data Types and Operators
- Variable types
- Operators
- Conditional statements
- Loop Statements
- Lists
- Switches
- Arrays
Object-Oriented Programming
- Class creation
- Constructors
- Constructor overloading
- Namespaces and using statements
Methods
- Method creation
- Method reuse
- Method overloading
- Passing arguments
Containers
- Lists
- Vectors
- Dictionary
- Generics
Extending Classes
- Construction of classes
- Inheritance
- Polymorphism
- Abstract classes
- Interface classes
Working with Strings
- Manipulation
- Formatting
- Tokenizers
Unit Tests
- Web testing
- Creation
- Assertions
Debugging
- The Watch Window
- Debug Commands
- Debugging Functions
Exception Handling
- Catch Block
- Finally Block
- Throw Keyword
- Try Catch Block
Working with JSON
- Structure
- JSON libraries
- Creating JSON strings
- Deserializing
Towards an Automation Framework
Closing Remarks