Archive by tag: SeleniumReturn

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 and handling of IFrames in Selenium with C#.Net technology.There are two ways to identify the in your web application: When perfo...
Read More

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 by using Javacript and Ajax where it might happen that some of the elements may load at distant time intervals, due to which we may encount...
Read More

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 => System.Net.Mail; using System.Net.Mail;namespace MailConfiguration{            s...
Read More

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 the test results. Don’t you? here is the solution for it. And, let us see how these reports can be achieved? in Selenium C# - NUnit framework automation testing.To ac...
Read More

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.1On New Project windows popup > Select Visual C# > Windows > Console Application > Enter Name and Location and click on OK button. Refer Fig.2.Fig.2Created Project will display in the Solution Explorer. Refer Fig.3.Fig.3Install Selenium WebDriver ...
Read More

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 concept in Selenium called Parallel Execution.  TestNG allows us to run the test cases/scripts, test methods or tests in parallel, With Parallel Execution concept we can re...
Read More

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 perform the action on the Radio button and on Checkbox.Example:Webelement  maleRadioBtn = driver.findElement (By.id("gender-male"));maleRadioBtn.click();Bef...
Read More

Page Object Model

Automation Testing with Selenium using Page Object ModelPage 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 id and taps on Next button. Then, Identifies the password field and enters password and clicks on Signin button.In the above code maintaining is very easy as ...
Read More

How to upload the files in Selenium using AutoIt

Selenium   WebDriver Test Automation framework allows us to write the automation scripts for web applications and execute them in various browsers.In some test scenarios, you might need to verify the functionality of uploading the files. The file web element launches the windows file upload dialog to browse and select the files. With the help of selenium WebDriver we can only launch the upload dialog by clicking the file element button, but it can’t interact with upload dialog.In...
Read More

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 test cases into a single test. Data-driven testing allows you to test the form with a different set of input values to be sure that the application works as e...
Read More
Page 1 of 2 FirstPrevious [1]2 Last

  • Recent
  • Popular
  • Tag
Tags
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *