If you want to become an expert in Selenium Automation, will have some good knowledge in below topics: –
Focus on java (if that’s your preferred choice of language)
- OOPS: Encapsulation, Abstraction, Polymorphism, Inheritance
- Introduction to class, Instance Variables, Instance methods, Class Variables, Class methods, Object
- Constructors, Abstract methods, Abstract class, Interface (Multiple inheritance), Method overloading, Method Overriding, PackagesYou definitely know when to create a class or Interface, how to initialize your instance variables (Non static)
- Control Statements: To be able to make decisions in test methods, Should I continue test execution, If login fails.
- Loops: Login into 5 different account using same methods.
- Arrays: No need to write variables all over test scrips.
- Exception Handling: How to continue with test execution if something unexpected happens during the test execution.
- Files and Streams: In case u want to keep test data out of your java source file, but how would u access them in your test scripts. (Parameterization in Selenium)
- Collection, framework, multi-threading.
Explore IDE: It is simple to pick up
Selenium IDE is the simplest of the tools in the Selenium suite, and the quickest way to get started with creating scripts, however it only supports record and playback within Firefox. For automating other browsers you’ll need to use one of the more advanced Selenium tools, such as Selenium RC or Selenium 2
Jump to Selenium Web driver (Skipping Remote Control as it not used anymore)
WebDriver is designed in a simpler and more concise programming interface along with addressing some limitations in the Selenium-RC API.
WebDriver is a compact Object Oriented API when compared to Selenium1.0
It drives the browser much more effectively and overcomes the limitations of Selenium 1.x which affected our functional test coverage, like the file upload or download, pop-ups and dialogs barrier
Explore: Junit & TestNG Framework
Framework provides user with Control over execution.
Selenium Grid:
Selenium-Grid allows you run your tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a distributed test execution environment
To run your tests against multiple browsers, multiple versions of browser, and browsers running on different operating systems.
To reduce the time, it takes for the test suite to complete a test pass.

No comments:
Post a Comment