Posts

Top 25 Selenium Webdriver Commands for Test Automation

Image
In this tutorial you will learn about basic Selenium Webdriver Commands which would be the backbone of your GUI automation scripts. We have divided the commands in to different categories so that you can grasp them without difficulty. Table of Content 1. Selenium Browser Commands 2. Get Commands 3. Navigation Commands 4. Web Element Commands 5. Select Dropdown Commands 1. Selenium Browser Commands Browser commands are the starting point of your Selenium Webdriver script. These commands used to launch browser, maximize it, open URL to be tested and other navigation commands. i. Set Path of browser/driver executable: It is the starting point of the webdriver script.  You have to download the browser executable file for the browser and make sure it is compatible with the version of your browser. For example, for firefox you have to download geckodriver.exe and place in your project. Download geckodriver executable from this link -  https://github.com/mozilla/geckodriver/releases Si

REST API Testing using Postman Tutorial

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 Postma

Top 50 Selenium Webdriver Interview Questions

Image
This blog helps you prepare for Selenium automation interview and brush up your selenium skills easily.  You can find Selenium Webdriver interview questions for Experienced Professionals to beginners on this post. Selenium interview questions are divided into different topics for sake of ease. Table of Contents 1. Selenium Webdriver Commands Interview Questions 2. Actions Class Interview Questions 3. Selenium Locators Interview Questions 4. Windows and Frame Handling Interview Questions 5. Advanced Selenium Interview Questions 6. Selenium with TestNG Interview Questions 7. OOPS, Selenium Automation Framework and Project related Interview Questions 1. Selenium Webdriver Commands Interview Questions Q1 - What is the syntax to launch browser in Selenium Webdriver? We can launch browser by creating an object of WebDriver interface and initialize it with some browser class like., ChromeDriver(), FirefoxDriver() etc. Please see the syntax for different browsers, // Set Path of driver