• Automation Script Implementation in Webdriver
    Quality,  Selenium,  Software Testing,  Webdriver

    Automation Script Implementation in Webdriver

    Automation Script Implementation in Webdriver: Let’s know, how to do Automation Script Implementation in Webdriver in Eclipse by using Java. Here in this article, I have implemented a Selenium Webdriver automation script of Practice form to fill for the purpose of Practice for Automation Testing. In this script, I have taken Project Name: Selenium Automation, Package name: Practice, Classname: Webdriver_Practice In this script I have used to automate Text boxes, dropdown, Multiple options select in List box, Button, Radio button, Checkbox, Image path for upload, parameterization, Google chrome browser launch etc.   package Practice.Practice; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.Select;   public class Webdriver_Practice {                                public WebDriver driver;…

  • Selenium webdriver features
    Quality,  Selenium,  Webdriver

    Selenium Webdriver Features

    Webdriver is the most popular and necessary component of Selenium for Software Testing. It is widely used for Automation Testing in IT Companies; sometimes it is called Selenium 2. The installation and Project setup is same as Selenium RC. In this article Selenium Webdriver features and its commands have been discussed below. Let’s know, what is the difference between Selenium Webdriver and Selenium RC including the advantages of Selenium Webdriver over Selenium RC? Selenium Webdriver Features: We can work with all the latest browsers like Mozilla Firefox, IE, Google Chrome, Safari, Opera. Selenium Webdriver supports the different languages like Java, C#, PHP, Ruby, Python. It is not necessary to start…

  • Selenium RC Programmes
    Quality,  Selenium,  Selenium RC,  Selenium RC programmes

    Selenium RC Programmes

    There are some Selenium RC Programmes given here: Ques: Write a program to Login into Facebook? Program: Package SeleniumRC; Import com.thoughtworks.selenium.default selenium; Public class facebook_login { Public static void main (string [] args) { // to do auto-generated method stub Default Selenium  Selenium = new Default Selenium (“local host”, 4444, “*firefox”,” https://www.facebook.com/”); Selenium.start ();     //Launch browser Selenium.open (“https://www.facebook.com/”);  //enter and open the given url Selenium.window maximize();   //it will maximize the window screen to the full width. Selenium.type (“email”, example@email.com);   //enter the given credential in Email field. Selenium.type (“pass”, example);   //enter the given credential in Password field. Selenium.click(“u_0_2”);   //this command is for the click on the Log In Button. } }…

  • Selenium RC Specification
    Quality,  Selenium,  Selenium RC,  Selenium RC Specification

    Selenium RC Specification

    Selenium RC is a component of Selenium often called Selenium-1. RC stands for Remote Control, it acts as a Server and launches browsers but one browser at a time. Selenium RC supports multiple browser like Google Chrome, Mozilla Firefox, Safari, IE etc. also it supports multiple scripting languages like Java, PHP, C#, ruby, Perl, Python etc.  The Selenium RC Specification is given below: SELENESE The selenium commands often called as Selenese. Browser command Start: It is to launch the browser. Open: It is to open the URL of the application. Window maximize: It is to maximize the window. Stop: It is to close the browser. selenium.stop( ); Close: It is…

  • Steps for creating a project in Eclipse
    Quality,  Selenium,  Selenium Configuration

    Steps for creating a project in Eclipse

    The steps for creating a project in Eclipse for the Automation Testing using Selenium are given below: Create a project by navigating to File >> New >> Select project. Select the Java Project Give the project name ‘Selenium or any name’. Select 1.6/1.7/1.8 from dropdown Use an execution environment JRE then click on finish. Click on Yes to continue the setup Expand the Selenium Automation Project– Right click on JRE system library– Click on Build path and select Configure build path. Click on Add External JARs – select selenium server standalone jar file from library folder then click on ‘Open’ and ‘Ok’. Go to ‘Run’ click an ‘External Tools’ and select ‘External…

  • Quality,  Test Scenarios

    Online Payment Test Scenarios

    Nowadays most of the people do Shopping, Travelling, Recharging etc. Most of them using Credit or Debit card, Internet Banking, Crypto Currency, Online wallet, payment gateways etc for the payment online. Now there is a need arises to test these facilities for the payment and any user can test their online payment functionality through Online Payment Test Scenarios. Testing of these facilities is very essential now because where there is money there is a risk and due to the heavy transaction of online payment, the risk is much bigger than think. Test Scenarios for the Testing of Online Payment facility are given below: Verify which payment card is using credit, debit.…

  • Advantages and Limitations of Selenium IDE
    Quality,  Selenium,  Selenium IDE

    Advantages and Limitations of Selenium IDE

    There are several advantages and limitations of Selenium IDE in Automation Testing which are given below: Advantages of Selenium IDE We can check whether the application is compatible with selenium or not. Example: Record few scenarios by using Selenium IDE. if the is generating the script, Then we can conclude that the application is compatible with selenium. While scripting if you are facing problem to identify the locator then it can be taken from Selenium IDE. If required we can convert the recorded script to the specific language (JAVA) to get the script where it can be used in scripting on other browsers. Go to Options >> click on Options…

  • Selenium IDE
    Quality,  Selenium,  Selenium IDE

    Selenium IDE

    The first component of Selenium is Selenium IDE, in which IDE stands for Integrated Development Environment. This IDE is for Record and Run the test scripts, it is an Addon for Firefox (FF) & it can be installed in Firefox browser only. It is accountable for User’s action and for every action it will generate the scripts. The recorded scripts initially will display in HTML language. If required then we can convert to the other languages also. The recorded scripts can be run against the other browsers also with the help of RC or Webdriver. Steps to Install Selenium IDE: Launch the Mozilla Firefox browser and open the below URL…

  • Difference between Selenium and QTP
    Introduction,  Quality,  Selenium

    Difference between Selenium and QTP

    In IT, companies are using Selenium over QTP to automate their Test Cases, so let’s know the difference between Selenium and QTP and why companies are giving priority to the Selenium automation tool instead of QTP (Quick Test Professional) automation tool. Selenium: Selenium is an Open Source automation tool. Selenium supports multiple languages like Java, PHP, C#, Python, Ruby and HTML. Selenium supports multiple browsers like Mozilla Fire Fox, Google Chrome, Internet Explorer, Safari and Opera. Selenium supports multiple Operating Systems like Windows, Linux, Mac. It supports Web Application and Mobile application. It is more flexible and extendable than QTP. By using Sikuli or Auto IT tools, we can automate…

  • Software Testing through Selenium
    Introduction,  Quality,  Selenium

    Software Testing Through Selenium

    It is an Open Source functional automation tool. Software Testing through Selenium is the process of converting the Test Cases to Test Scripts with the help of Selenium Automation Tool. These Test Scripts can be executed on the targeted application whenever needed. Advantages: Automation can save the execution time. Automation can reduce the cost of the company. The scripts are repeatable. (we can execute it on multiple builds) We can maintain accuracy by repeating the same steps in the same manner. Bugs can be identified. We can ensure for quality.   When to start Automation Project? When the application is stable to save the Regression Testing time we can go…