Posts

What is Selenium Webdriver?

Image
What is Selenium Webdriver?

'Selenium Webdriver' is what world is talking about. Selenium Webdriver is web automation tool which is used for web functional testing. It supports different languages like Java, Python, C#, PHP, Ruby and Perl. WebDriver is now an official W3C Specification, and in-short, it is a method of interacting with a web browser. Previously, with Selenium RC, Selenium would operate with the browser by injecting JavaScript to interact with elements. With the adoption of WebDriver, browser manufacturers like Google, Mozilla, and Microsoft release their browser with the ability to be controlled by a hook, that Selenium can tap into. 

This hook enables Selenium to interact with the webbrowser in the same way that humans do. You can find all Webdriver commands here -A Guide to All Webdriver Commands

Selenium Variants:
First of all I would like to tell you that there are different variants of Selenium, so don’t get confused.

1. Selenium IDE - It’s a record and play t…

Automate Browser Actions on Godaddy.com using Selenium

If you are a beginner in automation testing and looking forward to write your first Selenium code, then this post is the best destination for you. This assignment will teach you the basic commands of Selenium Webdriver to perform basic actions like., Launch browser, maximize browser window, validate page title and close browser.

In this post, you will find very basic step by step assignments which will upgrade your understanding about Selenium Webdriver and it's commands.




Assignment Level - Beginner

Test Case 1 - Launch browser and Open Godaddy.com

Steps to Automate:
1. Launch browser of your choice say., Firefox, chrome etc.
2. Open this URL - https://www.godaddy.com/
3. Close browser.

Test Case 2 - Open Godaddy.com and maximize browser window.

Steps to Automate:
1. Launch browser of your choice say., Firefox, chrome etc.
2. Open this URL - https://www.godaddy.com/
3. Maximize or set size of browser window.
4. Close browser.

Test Case 3 - Open Godaddy.com and Print it's Page title…

How to become expert in Selenium Automation Testing?

Image
You can learn Selenium Webdriver yourself in just 1 month, yes you read it right!

If you want my above statement to work for you, then you would have to come up with a proper study plan and follow it with discipline. Discipline is the key here. Good news is, I am going to help you to make that study plan and also will share very useful blog posts links for the same, later in this post.

First important question is: What all you need to learn to become expert in Selenium Webdriver?
Answer is simple, by learning everything mentioned below:

1. First and foremost thing is Software Testing concepts: You can find Software Testing tutorial series here - Software Testing Tutorials Series


2. Coding concepts - You have to learn coding concepts/skills in any one of the language which Selenium support i.e., Java, Pyhton, Ruby, C#, PHP. Currently java is ahead in the race. Refer this link to learn Java for Selenium - Java Tutorials Series

3. Fundamentals of HTML & CSS - You should have very basic kn…

Java - What are OOPS Concepts?

We used to hear OOPS very often whenever we come across JAVA language. In this post we are going to have a look at the OOPS concepts of the Java. Some of the object oriented languages are: C#, C++, PHP, Java, Python etc.

Main concepts of OOPS are:
ObjectClassInheritancePolymorphismAbstractionEncapsulation1. Object: 
A Java object is a combination of data and procedures working on the available data. An object has a state and behavior. The state of an object is stored in fields (variables), while methods (functions) display the object's behavior. Objects are created from templates known as classes. In Java, an object is created using the keyword "new".
Syntax of creating an object:
MyClass obj = new MyClass();
In above example,  MyClass is class name, 'obj' is the object name (object name can be anything) 'new' is keyword of java which instantiates the object (or in simple language it creates the object'MyClass()'is the constructor of 'MyClass'
2. …

REST API Tutorial - Manual Testing of REST APIs using Postman

Image
Manual API Testing using Postman Reliable API calls are critical to any decoupled application. Whether it a simple configuration change to an entity or updating the Drupal core, both of them can alter the API response and lead to application-breaking changes on the front-end. An API test suite can watch out for these API breaking changes by running a slew of tests against your endpoint. And when you need to create an API test suite, Postman delivers. Why Postman tool? Postman is a simple GUI for sending HTTP requests and viewing responses. It is built upon an extensive set of power tools, which are incredibly easy to use. Postman helps you perform a variety of functions ranging from organizing requests into collection and folders,sharing common values across requests with environment variables,scripting tests with the built-in node.js based runtime,and at last, automating it all using Postman’s very own CLI — Newman.





Install native Postman Application Postman for Mac/Windows/Linux: Go to