Archive by author: Chandani Devid SannakkiReturn

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

Selenium Locators

Selenium webdriver uses locators to find the web elements on web page. The following are the list of locators used by selenium.1. Locating an Web Element By ID: The most efficient way to locate an web element on a web page is By ID. IDs are the fastest locator and should always be the first choice even when there are multiple choices.Example 1:Selenium script for above html code is:driver.findElement(By.id("bottomads"));Example 2:Selenium script for above html code is:driver.findElemen...
Read More

Identifying Web Elements using Selenium Webdriver

What is Web Element?                Anything present on the webpage is Web Element. Such as text box, button, link etc. Before performing any action in Selenium we should identify the Web Element using its characteristics given by the application developer with the help of HTML.What are the components of Web Element?While developing the Web Element using HTML, developer will specify following components. HTML Tag: Any wor...
Read More

  • Recent
  • Popular
  • Tag
Tags
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *