Automation
Generate automation report using ExtentReports in C#
What and why we use ExtentReports: ExtentReports is a library which we can integrate into our automation test to generate a test report with HTML format. Using ExtentReports makes our test reports look more detail with a lot of features: Represents test case status with the help of PIE Charts. Maintain execution history with step-by-step test case summary, […]
Advanced Selenium automation with C# (Data driven testing using Excel.)
Data driven testing using Excel: Data driven testing is a testing in which test data/ expected data is got from an external source such as Excel files, CSV files, ODBC sources. Data driven testing should be used when the testing relays on a huge number of input data, for example, Online Application Form . This application has […]
Advanced Selenium automation with C# (Taking screenshot)
Taking screenshot: Screenshots are very important part in test execution which shows evidence of test result. Selenium Webdriver supports an interface called ITakesScreenshot with GetScreenshot() method to help us take a screenshot simply. To take a screenshot, we use bellow steps: Get folder location where screenshot will be saved in. Check whether the folder exists or […]
Basic Selenium Webdriver automation practice with C#
Basic Selenium Webdriver automation practice with C#: To create a basic project with Selenium Webdriver, we follow bellow steps: In visual Studio, create a project called SeleniumFirst: File-> New Project -> Select Console App. Use Manage NuGet Packages to find and install Selenium.WebDriver and Selenium.Chrome.WebDriver driver (or any other browsers). 3. In Program.cs file, write your test script: […]
Selenium Introduction
Selenium Introduction What is Selenium? Selenium is a suite of several automated testing tools which are designed to support web-based applications automation testing on a wide range of browsers (Firefox, chrome, Internet Explorer, Safari etc) and platforms ((Windows, Mac OS, Linux etc). Each tool of Selenium package is designed to support different testing and test environment […]
Fundamental knowledge for using Selenium
Type of web elements: WebElement represents an HTML element. The most common type of web elements are: Text box, Text-area Button Drop Down Hyperlink Check Box Radio Button Locator in Selenium: A locator is the HTML properties of a web element which can be used as an address to identifies a web element within the web […]
Automation testing overview
What is Automation Testing? In software development, every software/ website needs to be tested before delivery to customer to make sure it works properly and satisfies what customer needs. Testing can be done by different ways: manual testing or automated testing. Manual testing is a process of carefully going through application screens, trying various usage and […]