Canarys | IT Services

Blogs Category

Tag: Automation

  • Handling dropdown’s using Selenium Webdriver

    Dropdown’s can be handled in Selenium webdriver using Select Class which has some predefined methods like selectByIndex(index), selectByValue(value), selectByVisibleText(text), getFirstSelectedOption(),getOptions() Select class can be found under org.openqa.selenium.support.ui.Select package Consider dropdown (Fig a) from a sample webpage. If we inspect the above dropdown refer fig (a) its html code will be as shown below In order…

  • How to Set Up Selenium WebDriver in Visual Studio Enterprise 2015?

    Pre-requisite : Visual Studio Enterprise 2015 application should be installed into the system. Create the new project in Visual Studio : Select New option from File menu and click on Project. Refer Fig.1. Fig.1 On New Project windows popup > Select Visual C# > Windows > Console Application > Enter Name and Location and click on OK button. Refer Fig.2. Fig.2…

  • Assertions in Coded UI

    Let us discuss how to add assertions in coded UI. Assertions are checkpoints/benchmarks to UI controls and are used to verify the expected results of UI controls in Coded UI testing. Following are some of the assertions that are available in Coded UI.     AreEqual     AreNotEqual     Contains     Matches    …

  • Analysis of Load Test Results

    Analysis of Performance Data After you capture and consolidate your results, analyze the captured data and compare the results against the metric’s accepted level. If the results indicate that your required performance levels have not been attained, you can analyze and fix the cause of the bottleneck. The data that you collect helps you analyze…

  • Parallel Execution using Selenium Webdriver and TestNG

    While testing a web application it is very important to test the application on different browsers. We can achieve this by using Selenium Web driver and TestNG. If there are more number of scripts to be executed and executing them on each and every browsers sequentially is time consuming. This can be avoided using a…

  • Coded UI automation for web applications using Record and Playback approach.

    First, What is Coded UI? Coded UI (also called CUIT) is an automation testing tool provided by Microsoft technologies which helps in creating automated tests. The Coded UI tests help us verify the whole application such as User Interface and their functioning properties. Coded UI tests are more helpful when there are validations and logical…

  • Handling Radio buttons and Checkboxes using Selenium Webdriver

    The main difference between Radio button and Checkbox is that, using radio button we will be able to select only one option from the options available. whereas using checkbox, we can select multiple options. When we inspect a Radio button or a Checkbox, HTML code looks as below Using Click() method in Selenium we can…

  • Page Object Model

    Automation Testing with Selenium using Page Object Model Page Object Model (POM) Writing selenium scripts is not tough job. We have to find the elements and perform the operation on the webpage. Consider the below example of simple selenium script which will navigate to gmail website and identifies the email id field and enters the email…

  • Data driven testing in selenium webdriver using excel

    Data-driven testing (DDT) is taking a test, parameterizing it and then running that test with varying data. This allows you to run the same test case with many varying inputs, therefore increasing coverage from a single test. In addition to increasing test coverage, data driven testing allows the ability to build both positive and negative…

  • Load testing using Visual Studio – 2013

    Load testing using Visual Studio – 2013   To run load test, we first have to create web-performance test. Let us now look how to create web-performance test and how to perform load test on web-performance test. Tester should make sure that all regression tests are completed and system is stable before proceeding to load…