Selenium-WebDriver

Selenium WebDriver is one of the most well known testing frameworks in the world that is in use. It is an open source project that allows testers and developers alike to develop functional tests to drive the browser. It provides power in hand of automation engineer to automate functional along with UI stuff of any web application . Selenium WebDriver can work on any browser that supports JavaScript, since Selenium has been built using JavaScript.

Here I am making effort to bring whatever I have read and done as a student of Selenium

Topics:

Selenium IDE

Selenium Introduction and Locators:

Selenium WebDriver Configuration and other supported installation

Browser things in WebDriver

Parallel Execution of Script in various browser

Assertions used WebDriver

Wait in WebDriver

Basics of Frameworks in WebDriver

Custom Reporting in WebDriver

WebDriver generic WebElement Handling

Database connectivity in Selenium/Java

12 comments

  • Deepika Lalwani

    Hi dwarika,

    I would appreciate if u can help me with captcha. There might be some way to bypass it. 🙂

  • Pingback: How to execute Selenium WebDriver test cases parallel in multiple Browser using Testng parameter Annotation | Abode QA

  • Hi Dwarika,

    I have one question ; What will be the Base Language knowledge i should have to learn Selenium Web-driver, Like JAVA / JAVASCRIPT / HTML ?

    I am not able to decide from where i should start.
    Can you guide me for this .

    -Shree

  • Just been new to the market and see a lot of demand for Java.

  • Hi Dwarika Dhish Mishra,
    could you please explain how to get screenshot of failed testcase in webdriver?

    Saipradeep

    • Hi Saipradeep, use the below method in ur code to get screenshot for failed TC’s

      @ AfterMethod
      public void tearDown(ITestResult result) throws FileNotFoundException, Exception {

      // Here will compare if test is failing then only it will enter into if condition
      if (ITestResult.FAILURE == result.getStatus()) {
      try {
      // Create refernce of TakesScreenshot
      TakesScreenshot ts = (TakesScreenshot) driver;

      // Call method to capture screenshot
      File source = ts.getScreenshotAs(OutputType.FILE);

      // Copy files to specific location here it will save all screenshot in our project home directory and
      // result.getName() will return name of test case so that screenshot name will be same
      FileUtils.copyFile(source, new File(“./Execution_Screenshots/Failed_Case_Screenshots/” + result.getName() + “.png”));

      System.out.println( “Screenshot taken” );
      System.out.println( “Test FAILED” );

      } catch (Exception e) {

      System.out.println(“Exception while taking screenshot ” + e.getMessage());
      }

      }

      }

  • Could you please suggest any practise book for selenium webdriver programming with C#

  • Hi, can u please tel me how to write Auto IT Code for Chrome Browser Authentication I tried so many ways,
    but no use.
    It was working fine for FireFox driver

  • Pingback: Best links to learn Xpath | Humour Cell

  • How To Extract the Excel steat on Ma Automation Test on mac device?

Leave a Reply

Or

Your email address will not be published. Required fields are marked *