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 Introduction
- Find Xpath through Firebug
- XPath in Automation mainly in Selenium
- Contains() and starts-with() function in Xpath
- CSS Selector in Selenium
Selenium WebDriver Configuration and other supported installation
- Configuring Android WebDriver in Eclipse
- Configuring Selenium Webdriver in Eclipse with Testng plugin installation
- Installing Maven Plugin in Eclipse
- Creating First Maven Project in Eclipse
Browser things in WebDriver
- Accepting Untrusted SSL certificate in WebDriver for Chrome and Firefox Browser
- Challenges to run Selenium WebDriver scripts in IE Browser
- Launch Chrome Browser Using WebDriver
- “You are using an unsupported command-line flag –ignore-certificate-errors. Stability and security will suffer.” Handling in WebDriver using ChromeOptions()
- Unexpected error launching Internet Explorer. Protected Mode must be set to the same value
- Adding add-on in Firefox and Chrome using WebDriver
- Event Listeners in WebDriver
Parallel Execution of Script in various browser
Assertions used WebDriver
- How to use assertEquals() in WebDriver using driver.getText()
- assertTrue(message,condition) in Selenium WebDriver and it’s implementation
- Introduction to driver.getPageSource()
Wait in WebDriver
Basics of Frameworks in WebDriver
- Data Driven testing through WebDriver using jxl
- Selenium Automation Frameworks
- Understanding and Writing Page Object in Selenium
Custom Reporting in WebDriver
- Email your failing Selenium WebDriver scripts’ Stack Trace to your Email Id
- Emailing XSLT Report in WebDriver/Java Using ant build.xml automatically
- Junit: Rerun failed Test cases instantly..!!
WebDriver generic WebElement Handling
- Capture Screenshot of Web Page In WebDriver
- Check if an element exists using WebDriver
- Handling JavaScript Alert in WebDriver
- Handling Multiple Windows in WebDriver
- WebDriver’s most popular Commands
Database connectivity in Selenium/Java
Learn Selenium from other fraternity sites
Hi dwarika,
I would appreciate if u can help me with captcha. There might be some way to bypass it. 🙂
Well Deepika,
We will find its solution together…if there is problem then there would be some solution.
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
I would suggest Java..But i would suggest go through post mentioned under
http://abodeqa.com/selenium-webdriver and move step by step and at the same time you can read Java basics as well.
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
How To Extract the Excel steat on Ma Automation Test on mac device?