Automation Rhapsody

Posts with tag: C#

How to use AWS Transcribe in real-time with React and .NET Core

Practical code example how to use AWS Transcribe from an application with React frontend and .NET Core backend.

AWS examples in C# - structured logging in .NET Core and AWS Lambda

Code examples of how to do structured logging in .NET Core and C# AWS Lambda.

AWS examples in C# - AWS CLI commands

Important AWS CLI commands used in AWS examples in C#.

AWS examples in C# - introduction to Serverless framework

Introduction to Serverless framework and .NET code example of a lambda function with API Gateway.

AWS examples in C# - create basic Lambda function

Code examples on how to create AWS Lambda function in .NET Core.

AWS examples in C# - working with Lambda functions

Iintroduction to AWS Lambda functions.

AWS examples in C# - create a service working with DynamoDB

Introduction to NoSQL, introduction to DynamoDB and what are its basic features and capabilities.

AWS examples in C# - basic DynamoDB operations

Code examples with DynamoDB write and read operations.

AWS examples in C# - create a service working with SQS

To give a basic overview of AWS SQS, how to write a message to it and how to make a consumer that constantly polls the queue for new messages.

AWS examples in C# - basic SQS queue operations

Code examples of how to perform basic SQS queue operations like reading, writing, deleting, creating a queue, etc.

AWS examples in C# - run the solution

Explanation of how to install and use the solution in AWS examples in C# blog post series.

AWS examples in C# - working with SQS, DynamoDB, Lambda, ECS

Overview of the AWS examples in C# series.

Serialize and deserialize enum values to custom string in C# with Json.NET

How to serialize and deserialize C# enum values to customs strings.

Create .NET Core health checks with custom response payload

How to extend custom .NET Core health checks so the response JSON provides more information.

Create project for .NET Core custom template

How to create a custom .NET Core template, install it and create projects from it.

.NET Core code coverage on Linux with MiniCover

How to run code coverage of your unit tests as part of your build on Linux build agents.

Code coverage of .NET Core unit tests with OpenCover

Examples how to measure code coverage of .NET Core unit tests with OpenCover.

Useful .NET Core SDK CLI commands

Some useful .NET Core SDK CLI commands.

.NET Core integration testing and mock dependencies

How to do integration testing on .NET Core application and stub or mock some inconvenient dependencies.

Build a REST API with .NET Core 2 and run it on Docker Linux container

Code examples how to create RESTful API with .NET Core 2.0 and then run it on Docker Linux container.

Partial JSON deserialize by JsonPath with Json.NET

Code examples how to deserialize only part of a big JSON file by JsonPath when using Newtonsoft Json.NET.

Soft assertions for C# unit testing frameworks (MSTest, NUnit, xUnit.net)

Code example of very easy and useful custom implementation of soft assertions in C# unit testing frameworks such as MSTest, NUnit or xUnit.net.

Convert NUnit 3 to NUnit 2 results XML file

Examples how to convert NUnit 3 result XML file into NUnit 2 result XML file.

Code coverage of manual or automated tests with OpenCover for .NET applications

Examples how to do code coverage of manual or automated functional test with OpenCover tool for .NET applications

FIX messages simulator

General thoughts how to test FIX messages with a FIX simulator.

What about code coverage

Code coverage is a measurement of what percentage of program source code is being executed by your tests. Code coverage is a nice to have, but in no case make code coverage ultimate goal!

Advanced WPF automation - memory usage

Highlight eventual memory issue when using Telerik Testing Framework and TestStack White for desktop automation.

Complete guide to email verifications with Automation SMTP Server

How to do complete email verification with your own Automation SMTP server.

Extract and verify text from PDF with C#

How to extract text from PDF in C#.

Text verification

Verify actual text with expected one by ignoring what is not relevant during compare.

Advanced WPF automation - read dependency property

What is dependency property in .NET and how to read it from Telerik Testing Framework.

Advanced WPF automation - working with WinForms grid

Example how to work with WinForms grid with TestStack White.

Advanced WPF automation - page objects inheritance

re-use of page objects code through inheritance.

Advanced WPF desktop automation

In this series of posts I'll expand the examples and ideas started in "Automation of WPF applications" series.

Multilingual automation testing with enumerations

Solution for automated testing of multilingual sites by using string values in all supported languages for enumerations.

Efficiently use of enumerations with string values in C#

Using enumerations or specialized classes makes your automation tests easy to understand and maintain. Show with code samples how to define and read string value to enumeration elements.

NTestsRunner for functional automated tests

NTestsRunner implementation details and features.

Running functional automation tests

.Unit testing frameworks are not very suitable for running functional tests. NTestsRunner is an alternative way of running functional automated tests.

WPF automation - running the tests

How to sell your automation to management. Guide for running the tests unattended.

WPF automation - using the elements

Use already created Page Objects and build up test framework.

WPF automation - locating and structure of WinForms elements

Guide how to locate WinForms elements with TestStack White.

WPF automation - locating and structure of WPF elements

Guide how to locate WPF elements with Telerik Testing Framework.

WPF automation - projects structure

How to structure projects in the course of WPF automation.

Automation of WPF applications

Overview how to successfully automate WPF application with Telerik Testing Framework and TestStack White.

Complete guide how to use design patterns in automation

Complete code example of how design patterns can be used in real life test automation.

Singleton and Null object patterns

Description with code samples of Singleton and Null object design patterns.

Factory design pattern

Description of code samples of Factory design pattern.

Facade design pattern

Description with code samples of Facade design pattern.

Page objects design pattern

Description of code samples of Page Objects design pattern.

Design patterns every test automation engineer should know

Description with examples of 5 design patterns that is good to know and use in our automation testing.

Selenium WebDriver cannot click UTF-8 icons

Selenium WebDriver is not able to click UTF-8 icons. The solution is to use jQuery code.

Efficient waiting for Ajax call data loading with Selenium WebDriver

This post is about implementing an efficient mechanism for Selenium WebDriver to wait for elements by execution of jQuery code.

Automating SignalR applications with Selenium WebDriver

This post is about a "No response from server for url" issue during automation of web application using SignalR with Selenium WebDriver. The issue was resolved by configuring the application to connect to the server through WebSocket protocol.