How to verify single checkbox in a webpage using selenium?

TestSteps

  • Open the Firefox browser
  • Navigate the AppUrl
  • Identify Checkbox1
  • Select Checkbox1
  • Verify Checkbox1
  • Close the current Browser window

Selenium Code :

——————–

package seleniumProject;

import org.openqa.selenium.By;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

 

public class VerifyCheckbox {

public static void main(String[] args) {

  //open the firefox browser

WebDriver Driver = new FirefoxDriver();

  //navigate the AppUrl

Driver.get(“http://demo.guru99.com/test/radio.html”);

// Identify Checkbox1

WebElement CheckBox1= Driver.findElement(By.id(“vfb-6-0”));

//Select Checkbox1

CheckBox1.click();

   //Verify Checkbox1

if (CheckBox1.isSelected())

{

System.out.println(“Checkbox1 Selected”);

} else

{

System.out.println(“Checkbox1 not Selected”);

}

  //Close the current Browser window

Driver.close();

}

}

How to verify multiple checkboxes in a webpage using sselenium?

TestSteps :

  • Open the firefox browser
  • Navigate the AppUrl
  • Identify all Checkboxes and store into checkBoxes variable
  • Print the total checkboxes
  • Select multiple checkboxes one by one
  • Verify multiple checkboxes one by one
  • Close the current Browser window

 Selenium Code :

——————–

package seleniumProject;

import java.util.List;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

public class Verify_Multiple_Checkboxes {

public static void main(String[] args) {

       //open the firefox browser

WebDriver driver = new FirefoxDriver();

  //navigate the AppUrl

driver.get(“http://demo.guru99.com/test/radio.html”)

     // Identify all Checkboxes and store into checkBoxes variable

List<WebElement> checkBoxes = driver.findElements(By.xpath(“//input[@type=’checkbox’]”));

   //print the total checkboxes

System.out.println(checkBoxes.size());

for(int i=0; i<checkBoxes.size(); i++)

{

  //select multiple checkboxes one by one

checkBoxes.get(i).click();

       //verify multiple checkboxes one by one

if(checkBoxes.get(i).isSelected())

{

System.out.println(i+” checkBox is selected “);

}else{

System.out.println(i+” checkBox is not selected “);

}

}

  //Close the current Browser window  

driver.close();

}

}

SELENIUM | BROWSER COMMANDS :

isSelected(): By using this we can verify particular checkbox is selected or not on a webpage.

 

Click here: Steps to configure Selenium WebDriver with java to develop test scripts

Click here: How to handle frame in selenium webdriver using java?

Selenium Training in Hyderabad

Kosmik Technologies is on of the best selenium training in Hyderabad. We are providing lab facilities with complete real-time training. Training is based on complete advance concepts. So that you can get easily “hands-on experience”. We will give 100% job assistance.

 

What is a frame?

Frame is just like as a container where few elements can be grouped.

How to identify frame inside a webpage?

There are different ways to identify frame inside a webpage

Way 1:

  • Open webpage in a browser.

webelement in a webpage

  • Right click on webelement in a webpage

frame inside a webpage

Way 2:

  • Open webpage in a browser.
  • Right click on webelement in a webpage
  • Open source code(Html Code) of the webpage by clicking inspect element with firebug option see below image.

iframe source code

How to handle an element inside the frame?

There are 4 ways to handles frames in selenium webdriver.

Switch to frame by using index :

Method 1 :

Suppose if there is single frame in a webpage then we can switch to the iframe by using index.

Here is the sample code:

Syntax : driver.switchTo().frame(int index);

Example : driver.switchTo().frame(0);

Note : By default single frame index value ‘ 0’.That means when webpage has  only one frame then the index will be zero.

Method 2 :

Suppose if there are 3 frames in a webpage then we can switch to the iframe by using index.

Here is the sample code:

Syntax :

List<WebElement> framelist=driver.findElements(By.tagName(“iframe”));

driver.switchTo().frame(framelist.get(int index));

Example :

List<WebElement> framelist=driver.findElements(By.tagName(“iframe”));

//switchTo 1st frame by using index

driver.switchTo().frame(framelist.get(0));

  //switchTo 2nd frame by using index

driver.switchTo().frame(framelist.get(1));

//switchTo 3rd frame by using index

driver.switchTo().frame(framelist.get(2));

Switch to frame by using Id or Name :

We can also use Name and Id attributes of iframe  through which we can switch to iframes.

Here is the sample code:

Syntax 1:

driver.switchTo().frame(“Id of  the element”);

Html code :

iframe html code

                                                                                  Example : driver.switchTo().frame(“rightMenu”);

Syntax 2:

driver.switchTo().frame(“Name of  the element”);

Html code :

iframe html code

                                                                              Example : driver.switchTo().frame(“rightMenu”);

Switch to frame by using WebElement :

We can also switch to the frame using webelement.

Here is the sample code:

Syntax :

driver.switchTo().frame(WebElement);

Html code :

iframe html code

Example : driver.switchTo().frame(driver.findElement(By.name(“rightMenu”)));

How to get all the frames in a webpage ?

get all the frames in a webpage

Html code :

Open notepad and type the below Html code and save as frames.html

<html>

<body>

<iframe src=”http://www.seleniumhq.org/download/” width=”200″ height=”200″ name=”selenium”>

<p>Your browser does not support iframes.<p>

</iframe>

 

<iframe src=”http://127.0.0.1/orangehrm-2.5.0.2/login.php” width=”200″ height=”200″ name=”selenium”>

<p>Your browser does not support iframes.<p>

</iframe>

<br>

<iframe src=”http://testng.org/doc/index.html” width=”200″ height=”200″ name=”selenium”>

<p>Your browser does not support iframes.<p>

</iframe>

<br>

<a class=”gb_P” data-ved=”0EMIuCBMoAA” href=”https://mail.google.com/mail/?tab=wm” data-pid=”23″>Click on Gmail</a>

</body>

</html>

 

Example :

package seleniumProject;

import java.util.List;

import org.openqa.selenium.By;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

public class getTotalFrames {

public static void main(String[] args) {

//   Open Firefox Browser  

       WebDriver driver = new FirefoxDriver();

 //   Open AppURL In Browser

driver.get(“file:///C:/Users/Hanumanthu/Downloads/frames.html”);

 // count all the frames on a webpage

List<WebElement> total_frames=driver.findElements(By.tagName(“iframe”));

System.out.println(total_frames.size());

//close the current browser window

driver.close();

}

}

How to verify TestNg text inside 3rd frame?

verify TestNg text inside 3rd frame

Selenium Sample Code :

package seleniumProject;

import java.util.List;

import org.openqa.selenium.By;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

public class getTotalFrames {

public static void main(String[] args) {

   // Open Firefox Browser  

WebDriver driver = new FirefoxDriver();

//  Open AppURL In Browser

driver.get(“file:///C:/Users/Hanumanthu/Downloads/frames.html”);

 //count all the frames on a webpage

List<WebElement> total_frames=driver.findElements(By.tagName(“iframe”));

System.out.println(total_frames.size());

 //Switch to 3rd Frame by using Index

driver.switchTo().frame(total_frames.get(2));

  //Identify and get the text and store into testNg_text variable

String testNg_text=driver.findElement(By.xpath(“html/body/h2[1]”)).getText();

   //print the text from 3rd frame

System.out.println(testNg_text);

  //verify the text from 3rd frame

if(testNg_text.equals(“TestNG”))

{

System.out.println(“TestNG text verified successfully”);

}else

{

System.out.println(“TestNG text not verified successfully”);

}

 //How switch back to main window from inside any frame ?

driver.switchTo().defaultContent();

//Close the Firefox Browser

driver.close();

}

}

Note :

switch back to main window from inside any frame

1. Switch to 3rd Frame by using Index

Syntax :   driver.switchTo().frame(total_frames.get(index));

Example :   driver.switchTo().frame(total_frames.get(2));

2.Switch to 3rd  Frame by using Id

Syntax :   driver.switchTo().frame(“Id of the element”);

Example :   driver.switchTo().frame(“selenium”);

If no id then go for Name.

 3.Switch to 3rd  Frame by using Name

Syntax :   driver.switchTo().frame(“Name of the element”);

Example :   driver.switchTo().frame(“selenium”);

4.Switch to 3rd  Frame by using WebElement

Syntax :   driver.switchTo().frame(WebElement);

Example :   driver.switchTo().frame(driver.findElement(By.name(“selenium”);

 How switch back to main window from inside any frame ?

Syntax : driver.switchTo().defaultContent();

 How to handle frame in selenium webdriver using java

TestSteps:

Open Firefox Browser

Open AppURL In Browser

Get the Title of WebPage

Verify Title of WebPage

Enter the username

Enter the password

Clicking On Login Button

Identify and get  the Welcome selenium text

Verify  Welcome selenium text

Switch to frame

Handle DropDown in Selenium

  1.  How to print all the dropdown values
  2. How to Select the dropdown value inside a frame
  3. verify selected value from dropdown
  4. How to Verify dropdown values

Again switch back to main window from frame

Clicking On Logout Button

Close the Firefox Browser

Selenium Code :

package com.tests;

import java.util.List;

import org.openqa.selenium.By;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

importorg.openqa.selenium.support.ui.Select;

public class OrangeHRM_login {

public static void main(String[] args) throws Interrupted Exception {

// open the firefox browser

WebDriver driver = newFirefoxDriver();

// navigate the AppUrl

diver.get(“http://127.0.0.1/orangehrm-2.5.0.2/login.php”);

//Get the Title of WebPage

String title=driver.getTitle();

//print the title of the webpage

System.out.println(title);

//Verify Title of the WebPage

if (title.equals(“OrangeHRM – New Level of HR Management”)) {

System.out.println(“title is verified successfully”);

} else {

System.out.println(“title is not verified successfully”);

}

// Enter the username

  driver.findElement(By.name(“txtUserName”)).sendKeys(“selenium”);

// Enter the password

driver.findElement(By.name(“txtPassword”)).sendKeys(“selenium”);

// Clicking On Login Button

driver.findElement(By.name(“Submit”)).click();

// Identify and get  the Welcome selenium text and store into text variable

String text = driver.findElement(By.xpath(“//*[@id=’option-menu’]/li[1]”)).getText();

// Print the welcome selenium text

System.out.println(text);

//  To verify whether the welcome page successfully opened or not

if (text.equals(“Welcome selenium”)) {

System.out.println(“Welcome selenium is verified successfully”);

} else {

System.out.println(“Welcome selenium is not verified successfully”);

}

// Switch to Frame by ID

driver.switchTo().frame(“rightMenu”);

System.out.println(“****How to print all the dropdown values inside a frame****”);

Identify the dropdown

// Identify the dropdown

WebElement dropdown = driver.findElement(By.id(“loc_code”));

// Identify  dropdown values  and store into droplist  variable

List<WebElement> droplist = dropdown.findElements(By.tagName(“option”));

// How to print all the dropdown values

for (inti = 0; i<droplist.size(); i++) {

System.out.println(droplist.get(i).getText());

}

System.out.println(“*****How to Select the dropdown value inside a frame*****”);

Select the dropdown value inside a frame

/*

                    If u want to select the dropdown value then we need to create the select object for that dropdown

                    */

Select s = new Select(dropdown);

// Select the dropdown value by using index

s.selectByIndex(2);

//s.selectByVisibleText(“Emp. First Name”);

//s.selectByValue(“1”);

System.out.println(“****verify selected value from dropdown inside a frame *****”);

verify selected value from dropdown inside a frame

//get the selected value and store into selected_value variable

String  selected_value=s.getFirstSelectedOption().getText();

//print selected value

System.out.println(“selected_value  :”+selected_value);

//verify selected value from dropdown

if (selected_value.equals(“Emp. First Name”)) {

System.out.println(“selected value  verified successfully”);

} else {

System.out.println(“selected value not verified successfully”);

}

// How switch back to main window from inside any frame

driver.switchTo().defaultContent();

// Clicking On Logout Button

driver.findElement(By.xpath(“//*[@id=’option-menu’]/li[3]/a”)).click();

// Close the Firefox Browser

driver.close();

}

}

Click here: How to verify multiple checkboxes in a webpage using selenium?

Click here: Steps to configure Selenium WebDriver with java to develop test scripts

Selenium Training in Hyderabad

Kosmik Technologies is on of the best selenium training institutes in Hyderabad. We are providing lab facilities with complete real-time training. Training is based on complete advance concepts. So that you can get easily “hands-on experience”. We will give 100% job assistance.

SELENIUM

SELENIUM:

 
It is main purpose for testing and automate the web applications. It is not limited. Some of the broad web browsers publishers use on take steps for make it native part. This is the core technology in other browsers framework, automation tools and APIs. In web applications software testing framework is portable for it. In test scripting language SELENIUM provides a playback tool. It is no need for learning the script. If you write any tests it is offers test domain language. It contains the courses Scale, Ruby, Python, Groovy, Java, Perl, and PHP. These language set up Windows, Linux and micros platform. Without charge we can download and use it. Under Apache 2.0 License open source software released.
 
 SELENIUM

SELENIUM WEB DRIVER:

 
our topic used for web applications. In this programming language it used for automatic interact with the web browser to do any task. In this SELENIUM WEB DRIVER we discuss about the tools and features. Using  Firebug and IDE we can build a few scripts. These scripts moved and locating the strategies. Into the different type of web elements.
 

 FEATURES:

 
-Google Chrome
 
– Mozilla Firefox
 
– Html Unit
 
– Android Drive
 
– Internet Explorer
 
-Opera

SELENIUM COMPONENTS:

 
1. Web Driver:
 
It is very useful for Selenium. Commends are send to the browser and agreed by this. Browser-Specific driver achieved by this content. Commands are sending to a Browsers and gets results. Most of programming applications are launch and access by the browser drives. It is  known as HTML Unit browser. the driver encouraged to browse using HMTL Unit.
 
2. IDE:
 
It is complete information about integrated development environment for testing the tests. It extended through Add on Firefox and let on editing recording and testing on debugging. Recorder known as Selenium IDE. Selenium IDE is suitable with Selenium RC and it is little maintain and put down.
 
3. client API:
 
In different programming language can written in  tests an alternative written tests. This is discuss with Selenium in different methods. our programming language offers programming languages are Python, Java, Ruby, Java script and C++.
 
4. Remote Control:
 
It is also called as Selenium RC. Which agreed the commands in HTTP. It written in Java. Automated test written in web applications programming language by using RC. It is very useful for promoting Selenium Unit test frameworks.
 
5.  Grid:
 
It is a web server. Selenium grid used for remote machine running and it agreed for tests in web browser. One web server act as a hub. To know about the access on browser instance tests contact the hub. Hub has a list of web servers that provides browser instance used as tests and access.
Some programming languages are given below:
 
· Java
 
· C++
 
· Pearl
 
· PHP
 
· Python
 
· Ruby
 ADVANTAGES ON SELENIUM WEB DRIVER:
 
-It is not supported to extend the functionality and features.
 
-Not important for start executing scripts to start server prior.
 
-Testing on iPhone and android servers is support to add.
 
-Extracting the objectives is big problem. It is get to extract the object bulk.
 
-AJAX- based, Drag and Drop, and page navigation based UI elements used to support the features.
 
-Coordinates of any objects we can find through the web driver.
 
-Web driver can coordinate with testing frame work like Testing and J unit.
 
-It offers and improves reliability between browsers.
 
– Implementation of listeners is most important feature.
Ajax controls using Web Driver | Best Selenium Training Institute in Hyderabad

Best Selenium Training Institute in Hyderabad

 

Ajax controls using Web Driver

 

 
AJAX stands for Asynchronous JavaScript. It allows the Web page to retrieve amounts of data from the server without reloading the entire page. In AJAX has driven web applications, data from the server without refreshing the page.

 

We provide  Best Selenium Training Institute in Hyderabad by Real time Experts. We Offer Selenium live project

 

When we perform any action on Ajax controls. It using Wait commands will not work as the page is not actually refreshed here. Pausing the test execution using threads for a certain period of time. It is also not a good approach as web element. They earlier than the period of time depending on the system’s responsiveness, load. The other uncontrolled factors of the moment lead to test failures.

 

The best approach would be to wait for the required element in a dynamic period. Then continue the test execution as soon as the element found/visible manner.

 

This can do achieved with WebDriverWait in combination with the Expected condition. The best way to wait for an element checking for the condition in the script condition.

 

There are many methods which are available to use with wait.until.
The below are the few use testing an application

 

Syntax:

 

WebDriverWait wait = new WebDriverWait(driver, waitTime);

wait.until(ExpectedConditions.presenceOfElementLocated(locator));

The above statement will check for the element presence on the DOM of a page. This does not mean that the element is visible.

 

Syntax:

 

WebDriverWait wait = new WebDriverWait(driver, waitTime);

wait.until(ExpectedConditions.visibilityOfElementLocated(locator));

The above syntax will for the element present in the DOM of a page is visible.
Sometimes We need to check the element is invisible or not.
 

Syntax:

 

WebDriverWait wait = new WebDriverWait(driver, waitTime);

wait.until(ExpectedConditions.invisibilityOfElementLocated(locator));

an exception as org.openqa.selenium.WebDriverException. The element is not clickable at the point. Another element would receive the click The below one use to wait for the element to be clickable.

Syntax:

 

WebDriverWait wait = new WebDriverWait(driver, waitTime);

wait.until(ExpectedConditions.elementToBeClickable(locator));

 

Best Selenium Training Institute in Hyderabad

 

Best Selenium Training Institute in Hyderabad: We provide  Best Selenium Training Institute in Hyderabad by Real time Experts. We Offer Selenium live project

 

Selenium Remote Control ​

 

 

Selenium Online Training in Hyderabad

 

Selenium RC is the old version of selenium. It’s powerful but has many issues as well. The core engine of selenium RC is based on JavaScript (like IDE). Selenium RC tool in many languages such as: – Ruby

 

 

Selenium Remote Control (RC)

 

 

1. Overview


 

  • While Selenium IDE a productive and efficient tool for write test-cases. it many features of a testing tool

 

  • Conditional statements

 

  • Loops

 

  • Logging

 

  • Exception handling

 

  • Reporting

 

  • Test fixtures and data-driven tests

 

  • Test dependencies

 

  • Taking screenshots

 

  • It follows a client/server model. The allowing client libraries to execute tests on a browser controlled by the server

 

  1.  Selenium Server

 

  • Selenium server is the program that drives the browser

 

  • It embeds Selenium Core framework and injects it into the browser

 

  • It communicates with the running test client and drives the browser

 

  • Client tests sends commands that the server interprets to drive the browser

 

  • The server sends back results to the client

 

  • Client and server communicates via HTTP GETs and POSTs can easy plug into

 

  • Server is configurable at startup via command-line options. use java -jar selenium-server.jar -h to see the list of options

 

  1. Client libraries

 

  • Client libraries provides the API to program tests and execute them on the server

 

  • Each implementation provides access to all Selenium commands

 

  • Supported API implementation exists in:

 

  • Java (also accessible via Groovy)

 

  • .Net

 

  • PHP

 

  • Python

 

  • Perl

 

  • Ruby

 

 

4.Lab 3: Installation of Selenium RC

 

         

           4.1. Prerequisites

 

  • A JVM installed on the system

 

  • A Ruby distribution with the rspec and selenium-client gems installed if

 

  • you’re working

 

  • The Selenium RC archive

 

4.2. Download the Tested Application

 

  • In the folder of your choice, execute the following command: git clone http://github.com/wolframarnold/selenium-test-app.git

 

  • Go to the selenium-test-app folder and run the following

 

  • cp ./vendor/plugins/active_scaffold/test/mock_app/config/database.yml ./config/

 

  • rake db:migrate

 

  • to lauch the application with the script server available in the scripts folder: ./scripts/server

 

  • The application should be available at http://localhost:3000

 

4.3. Running the RC Server

 

  • Unzip the Selenium RC archive somewhere on your system

 

  • Go into the selenium-rc, then the selenium-server folder

 

  • Open a terminal in this folder and enter the command java -jar selenium-server.jar

 

  • If there’s no error message, your Selenium RC server should be running now

 

4.4. Running a Test (Java)

 

  • Create a new Java project in Eclipse or your Java IDE

 

  • Add the selenium-java-client-driver.jar jar to the project’s classpath

 

  • Add a new JUnit test-case to the project. When asked, select Junit 4

 

  • You should now have an empty .java file

 

  • Open the lab2 test-case on Selenium IDE

 

  • On Selenium IDE, open the Options menu then Format… and click Java (Junit)

 

  • Copy/paste the contents in the JUnit file on Eclipse

 

  • Change the package name at your will

 

  • You may have to fix the imports

 

  • Click on the following icon and choose the most appropriate option to correct the file

 

  • press Ctrl + Shift + O to let Eclipse do it

 

  • At this point you shouldn’t have any more errors and you are ready to run the test

 

  • Selenium RC will open a couple of Firefox windows and run the test

 

4.5. Running a Test (Ruby)

 

  • Open the lab2 test-case on Selenium IDE and export it as Ruby (rspec)

 

  • A little workaround need, open the exported file:

 

  • Run the test with spec <filename>.rb

 

  • Selenium RC should launch a couple of new browser windows and run the test

 

 

5.JUnit

 

  • Junit is the reference unit-testing framework for Java

 

  • The framework allows test your applications. classes containing the logic actions on the tested classes and checking the results

 

  • Eclipse provides support for Junit, so we’ll be using that

 

  • JUnit 3 uses named methods to detect set-up and test methods

 

 

6.RSpec

 

  • RSpec is a Behavior Driven Development framework for Ruby

 

  • It provides a framework that tests your apps according to defined behaviors

 

  • In Behavior Driven Development (BDD), you first define the behaviors of your app. the client’s need write the tests confirm behaviors and start to develop application

 

  • It is Agile-oriented

 

  • Behaviors spec file containing set-up methods. the methods providing tests for a given behavior

 

  • run tests with the spec command in a terminal

 

 

7.JavaScript

 

 

  • Selenium works based on JavaScript, you can use it in your tests

 

  • It is an excellent way to extract information from the pages for later reuse

 

  • There are 2 methods available:

 

  • getEval(script): it takes the script as a string. Executes it and return the value to which the script evaluates too. In ruby use get_eval or js_eval

 

  • runScript(script): it actually adds a <script> tag. the current page of the tested application, making it easier to debug

 

 

 8. Fixtures

 

  • Usually, fixtures choose the environment setup for the test-cases

 

  • It is a very abstract notion and in practice. it could be very different from a project to another depending on the project’s features

 

  • the test of an application under a pre-determined environment that produces previsible results

 

  • The main motivation is to avoid errors. due to changing environments and the side-effects that may occur

 

  • Selenium doesn’t provide any support for fixtures. it by hand using your test framework’s fixtures capabilities

 

  • RSpec and JUnit have support for fixtures through the set-up methods

 

9: Lab 4: Improving a test

 

9.1. Current Situation

 

  • Test is brittle: change in the structure of the table. displaying suggestions breaks the test

 

  • Locators are complex

 

  • We can’t do Fixtures

 

9.2. How are we going to change that?

 

  • You will first creates a suggestion

 

  • Then you will find a way to delete that suggestion using only the id of the delete link

 

 

Selenium Online Training in Hyderabad

 

 

Kosmik Offers Selenium Online Training  in Hyderabad by Real Time expert. We provide Live Projects on Selenium.

Automation Testing Tools| Selenium Testing Tools Training in Hyderabad

 

 

Selenium Testing Tools Training in Hyderabad

 

 

Automation Testing Tools

 

 

 

There are many Functional and Regression Testing Tools available in the market. Here are 5 best tools certified by our experts

 

1.  Selenium

 

 

It is software testing tool use for regression testing Process. It is an open source testing tool. That provides playback and recording facility for regression testing. The Selenium IDE only supports Mozilla Firebox web browser.

 
It provides the script in other languages like Java, Ruby, RSpec, Python, C#, JUnit and TestNG.

 
It can execute many tests at a time

 
Autocomplete for Selenium commands is common tests.

 
Identifies the element using id, name, X-path etc.

 
Store tests as Ruby Script, HTML and another format

 
It provides an option to assert the title of every page

 

 
It supports selenium user-extensions.js file

 
It allows inserting comments in the better understanding and debugging

 

2 .QTP (HP UFT)

 

It is functional and regression testing. The addresses every major software application and environment test creation and maintenance. The concept of keyword testing allows building test cases from the application.
 

It is easier to use for non-technical person to adapt to and create working test cases

 
It fixes defects faster by documenting and replicating defects for developer

 
Collapse test creation and test documentation at a single site

 
Win Runner Parameterization is easy

 

 

QTP supports .NET development environment.

 

  It has better object identification mechanism

 

It QTP scripts without “Application under Test” being available, by using the Active Screen

 

 

3. Rational Functional Tester

 

 

It is an Object-Oriented automated functional testing tool. That is capable of performing automated functional, regression, data-driven testing and GUI testing. The main features of this tool are
 

 

It supports wide range applications like Java, HTML, NET, Windows, SAP and Visual basic etc.

It supports wide range applications like Java, HTML, NET, Windows, SAP and Visual basic etc.
 

Record and replay the actions on demand

 

Control management tools such as Rational Case and Rational Team integration.

 

Control management tools such as Rational Case and Rational Team integration.

 

It allows developers to create keyword associated script can be re-use

 

Eclipse Java Developer Toolkit editor team to code test scripts in Java with Eclipse

 

It supports custom controls through proxy SDK (Java/.Net).

 

This version control to parallel development of test scripts and concurrent usage.

 

4. WATIR

 

 

it is an open source testing software for regression testing. That enables you to write tests easy to read and maintain. Watir supports only internet explorer on windows. While Watir web driver supports Chrome, Firefox, IE, Opera, etc.

It supports many browsers on different platforms

 

Than using vendor script it uses a full featured modern scripting language Ruby

 

It supports web app regardless of development

 

5. SilkTest

 

 

Silk Test designed for doing functional and regression testing. For e-business application silk test is the leading functional testing product. It is a product of Segue Software take over by Borland in 2006. It is an object oriented language like C++. It uses the concept of the object, classes, and inheritance.

It consists of all the source script files

It converts the script commands into GUI commands. The same machine run on a remote or host machine

To identify the movement of the mouse along with keystrokes, Silktest executed. It can avail both playback and record method or descriptive programming methods.
 

It identifies all controls and windows of the application. The test as objects and determine all the attributes and properties of each window

 

Selenium Testing Tools Training in Hyderabad:

 

 

Kosmik provides professional Selenium Testing Tools Training in Hyderabad. We provide Online Selenium Training.