Thursday, December 10, 2015

Mouseover in Selenium Webdriver

How to handle Mouseover in Selenium Webdriver:

There are many application you will find that when you mouseover then dropdown expand or it's perform an action. You don't need any click or right click of that element.
In that situation how you will handle in Selenium Webdriver? If you find that element ID or xpath or any other locator and click on that element but it will not work for Selenium Webdriver.
You have to use Action Class to perform this type of action otherwise it will not work. Please see the following image for code.

How to handle Hidden Element in Selenium webdriver:


If you find any element type is 'Hidden' and you try to click that element by regular click then it will not work in Selenium Webdriver. To handle hidden element you should use Javascriptexecutor. With the help of javascriptexecutor you will be able to overcome this situation. Please see the following image for code.
Mouseover and Javascriptexecutor

Saturday, November 21, 2015

UFT/QTP Tutorial

Free UFT/QTP Tutorial

Software testing tool HP UFT/QTP is a market leading too. It's widely used. Unified Functional Testing(UFT)/Quick Test Professional is a license tool, you have to buy it but for practice purpose you can download and use it as trial version for 30 days.
UFT Trial version Download Link.
Who wants to learn UFT then they can join at FaceBook UFT Group or at FacbookPage. There you will find lot of learning material. Also if you have any question then you can post it, someone will be solve it.
The following video tutorial are very helpful for those who wants to learn UFT/QTP.

UFT/QTP video Tutorial:


QTP Principles Object Spy Standard Object Object Spy Non-Standard Object
Object Repository Example-1 Object Repository Example-2 Mandatory & Assistive Properties
Object Repository In a Nutshell High Level Recording Analog Recording
Low Level recording Virtual Objects Parameter from Database
Random Number Parameter Multiple Action Re-useable Action
Re-useable Action Parameter Password Encoder Bitmap Checkpoint
Regular Expression Environment Parameter Test Parameter
Output Parameter Dynamic Objects Set To Property
Function Library Shared Object Repository Smart Identification
Optional Step Recovery Scenario Descriptive Programming

Friday, November 20, 2015

Selenium Tutorial

Free Selenium Tutorial

Selenium is a very famous Software Testing tool. Till now Selenium has 3 version- 1) Selenium IDE, 2) Selenium RC and 3) Selenium WebDriver. Selenium is very popular because it's support multiple language such as Java, C#, Python, Ruby, PHP etc. but Java is widely used. Selenium is a free tool you can download it from the following link-
The following video tutorial will help you to learn Selenium:

*Selenium WebDriver Installation Part-1 *Selenium WebDriver Installation Part-2 *X-Path Part-1
* First Script-Selenium *Page Object Model *X-Path Part-2
* Selenium with IE * Selenium with Chrome *Selenium with HTML Unit Driver
* Reading Data from Excel * Writing data to Excel * Selenium-Maven
* Selenium-Jenkins *Selenium-AutoIT * Alert Handle
* Multiple Window Handle * Taking Screen Shot * Data Driven Framework Part-1
* Data Driven Framework Part-2 * Manually TestNG XML Creation * XSLT Report

Monday, October 26, 2015

QTP Excel Read

QTP : Read Data From Excel

Quick Test Professional(QTP) which latest version is Unified Functional Testing(UFT) is a Automation testing tool. For testing purpose lot of time it is needed to read data from Excel file or write data at excel file. Also at the time of developing Framework data or keyword are in excel file, using that data QTP/UFT script will run. How to read and write data from excel I will show you that code. It's very simple and easy but very important too.
The code is in the image. Only create a excel file and give that excel path with the script it will work.
QTP Excel Read


Wednesday, March 25, 2015

Performance Testing Process

HP LoadRunner is a Performance Testing Tool. For Performance Testing LoadRunner is widely used. LoadRunner has 3 part:
i)       VUGen (Free):
VUGen is one of three part of LoadRunner. It’s free no license required. You can create LoadRunner Script here. You can record playback your script here. Also script enhancement are done here.
ii)      Controller (License Required):
Controller is one of three part of  LoadRunner. The Performance testing scenario are created here & also run the test. This part of LoadRunner is licensed but you can use it as trial version for limited time.
iii)     Analyzer (Free):
Analyzer is one of three part of LoadRunner. It’s free. After completion of test run you can analyze the result here. After analyzing The Report are created here.

Load Testing Process:
For Load Testing you have to follow the following process. The process is very important for the test.
  • Requirement Gathering
  • Create Test Plan(Must Approved by the Project Team)
  • Create Script 
  • Create Scenario
  • Run Load Test
  • Analyze Load Test
  • Create Report with comments (Summary Report, Load runner Report, Monitoring Report)
If the report is accepted by the project team then load test is done. Otherwise you have to fix the problem & run load test again.
You can watch the LoadRunner Tutorial video at the link: TUTORIAL VIDEO LINK.