Canarys | IT Services

Blogs Category

Tag: Software Testing

  • 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…

  • What is Defect? Defect Life Cycle in Software Testing.

    Defect is an unexpected behaviour (or) unexpected flow of the software application against to requirement document. A Defect can be an error/bug which includes: Functional errors, Communication errors, Syntactic errors etc. A Defect has its own life cycle in software testing from the day it found to till closing. In this blog, I have discussed…

  • What are Frames? How to handle frames in Selenium WebDriver with C#?

    IFrame (FullForm: Inline Frame) is an HTML document that is included in another HTML document and is used to place the contents from another source. Eg: Advertisements, Youtube Videos etc… Almost all site includes IFramenow a day, where they would be displaying advertisements or playing videos of other sources. Now, let’s see how to identify…

  • What is Synchronization? Handling Synchronization in Selenium WebDriver using C#:

    Synchronization meaning: when two or more components involved to perform any action, we expect these components to work together with the same pace. The co-ordination between these components to run paralelly is called Synchronization. Synchronization (Wait) in Selenium has a great significant value. Now a day, we see most of the web applications are developed…

  • Sending Test reports by Email using Office 365, Gmail

    Wouldn’t it be great if Test Report are sent automatically across team as soon the Test Execution is complete?? Now, let’s see how to achieve this using Office 365.com, Outlook.com and Gmail.com account as the SMTP host. Include the below code in your OneTImeTearDown (NUnit) or AfterClass (TestNG) method: we attain this feature using library…

  • Extent Reports in Selenium CSharp (C#)

    Reports play a fundamental role when it comes to TESTING. Tester can now  know the real-time reports of test suit execution. Reports made ease to know the ratio of Pass? : Fail? post-test suit execution and it is the only documentation to know about test execution results. Everyone wish to see the detailed description of…

  • 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…