As you know, Locators in selenium webdriver software testing tool are main elements and CSS Locator is another alternative of Xpath element locator, ID or Name locator or any other element locators in selenium webdriver software automation testing tool. Full form of CSS is "Cascading Style Sheets" and it define that how to display HTML elements on webpage of software web application. Click here to read more about CSS. There are few advantages and also few disadvantages of using CSS element locators at

You can read step by step process of recording web test plan in jmeter in my post about how to record test plan in Jmeter. After completion of test plan recording, you need to run your test plan to measure performance of application and how it behaves when multiple concurrent users accessing specific page or request. Before running your test, you need Set properties in Thread Group element (Load Profile Settings) and need to insert some new elements in your test plan to perform load testing and recording its results.

Thread group is very important element in jmeter where you can set number of users and its ramp up time. Click here to read how to add Thread group in your web test plan. Let me describe you all required properties of thread group with detail.

Thread Group Properties settings

Number of Threads(users) :
Described the total number of threads or users used to execute test plan. Each and every user will execute full test plan.

Steps to Recording First test plan in Jmeter
If you are not aware about how to download and install apache jmeter then you can read my previous post where i have described everything about jmeter installation process. In this post i have described how jmeter record your first software load test plan using jmeter proxy server.

Changing Firefox browser settings for recording jmeter first test plan
First of all, you need to change bellow given settings of Firefox browser for recording software load test script in apache jmeter.

Using "keypress" command in selenium
"keypress" command in selenium is very useful when you want to press keyboard keys like “Enter” key, “Up-Down arrows” key, “Backspace” key, “Shift” key, etc.. "keypress" command works like user pressing and then releasing that key. You need to provide targeted element locator (Where you want to press and

Apache JMeter Introduction
Let me introduce to you about apache jmeter before jmeter download. Apache JMeter is pure Java software application and open source performance testing tool of software web application. Initially it was developed for software web application load testing but now its features are extended and you can use it for measuring performance of server/script/object like HTTP, HTTPS, SOAP, Database, LDAP, JMS and many more. You can use it for measuring performance of network, server or object by simulating heavy load from multiple concurrent virtual users. Jmeter looks like a browser but it is not a browser. Jmater can not perform all those action like executing javascript of HTML page, rendering HTML page of software web application, etc.

jmeter download


How to use "verifyElementPresent" in selenium

"verifyelementpresent" command in selenium is useful for verification of element presence on page. Selenium ide will verify element present and return "[error] false" if targeted element is not present on page. Else it will becomes pass. Verify element present in selenium will check availability of element on page. I have recorded best example as bellow for "verifyelementpresent" command to describe how verify element present in selenium ide works. This command of selenium will check if element is present on page.

Using "waitForElementPresent" command to waiting for element

Sometimes elements takes time to appear on page when you are navigating through pages or clicking on

Selecting value from auto complete field is little hard if you are not aware about proper key sequence technique. Just "type" command will not provide you list of value suggestions on auto complete field. "sendKeys" command will provide you list of value suggestions on auto complete field but to select value

Selenium can drag and drop element using "dragAndDrop" and "dragAndDropToObject" commands. Click here to read both command's description with example. I have read many posts about "DragDrop doesn't work with selenium for me..", "Unable to drag and drop element using Selenium..", "selenium dragAndDrop not dragging and dropping..", etc.. Here is alternative way of dragging and dropping an element using

How to Drag and Drop Element using selenium? Bellow given "dragAndDrop" and "dragAndDropToObject" commands can perform that action in selenium. You can use anyone of them for dragging element from one position and dropping it at another position. 

"dragAndDrop" Command

"dragAndDrop" command is useful to drag an element from one position and drop it on other position. Here

"selectframe" Command in selenium 

You need to use "selectframe" command in selenium when your page contains iframe anf you have to perform some action on element inside iframe. You need to provide name or id attribute of iframe element into target column. Here is the simple example of iframe.


"verifySomethingSelected" commands

"verifySomethingSelected" is used with drop downs and list boxes. Its name describes its function so that i think i do not need to describe it more. It is used to verify that is there any label is selected in drop down or not. It will becomes pass if any one label is selected. Else it will return "false" in log. Run bellow example with


How to use "storeAttribute" command in selenium


"storeAttribute" command stores the attribute value of specified element in given variable. You can store any attribute's value using "storeAttribute" command. You need to provide proper path of element node followed by an @ sign and then the name of the attribute (e.g. a@href . Here "a" is element's node name and "href " is


Using "verifyVisible" and "verifyNotVisible" commands in selenium

Sometimes during running the script, you need to verify that specified element on the page is visible or hidden. You can use "verifyVisible" and "verifyNotVisible" commands only for the verification of the element visibility on the page. It will return just "True" and "false" based on the element visibility on page but it will not

Selenium IDE "sendKeys" command

"sendKeys" command works like type command in selenium IDE but there are 2 more functions as bellow in "sendKeys" command which are not available in "type" command. Generally "sendKeys" command is very useful in auto complete text boxes or combo boxes which require explicit key events.

1. "sendKeys" command will not replace the existing text content in the text box where as "type" command

Selenium "storeEval" command
"storeEval" command is generally used with scripts in selenium IDE software testing tool. It is useful to store result of the script in to specified variable and latter on we can use that variable's value whenever required.

'storedVars' - JavaScript associative array
'storedVars' is JavaScript associative array having string indexes and is useful to manipulate or access a variable value within a JavaScript snippet.

To understand how to use "storeXpathCount" command, you must be aware about xpath. You can read xpath tutorials for selenium ide in my previous post if you are not aware about what is the xpath of element and how to retrieve it manually. "storeXpathCount" command is useful to calculate and store number of

Xpath in selenium is close to must required. XPath is element locator and you need to provide xpath during selenium test script creation. You need to provide any element locator(like id, name, css path, xpath etc.) in target column of selenium IDE software testing tool's window to locate that specific element to perform some action on it and you are already aware about that. In previous post, we have learn about how to identify element id or name of software web application's element . If you have worked with selenium IDE software testing tool then you knows that sometimes elements does not contains id or name. Locating element by Xpath in selenium is the another way of locating element and you can use it as a alternative of id or name of element.

First of all let me introduce you about element locators and why we need to use it. Element locators are useful to identifying GUI elements (button, link, textbox, dropdown, etc..) of HTML page. Selenium requires element locator to identify such elements to perform required action on that specific element. 

There are many different types of element locators available and we will learn all of them one by one. To identifying element's id, you need to install Firebug in your Firefox browser. Generally selenium ID records

Using Regular Expression Patterns with selenium
Regular Expression Patterns is another matching text pattern which describe text pattern to selenium. There are another two matching text patterns(Globbing Patterns and Exact Patterns) are available but this is the most powerful matching text pattern from all these three. Regular Expression Pattern describes expected text

Globbing Patterns - selenium Matching Text Patterns

Globbing Patterns is the one of the matching text patterns in selenium. You can describe expected text pattern with command's target column and can use it with verify and assert commands. We can use globbing pattern when expected text string is dynamic and can use with commands like verifyTitle, assertText, verifyTextPresent, assertTextPresent etc.

When you are getting dynamic text every time when you reload page or taking some action in that case


"verifyAlertPresent" Command

Alert testing with selenium is not much hard. In Selenium IDE plug in, there are many commands available related to verify. One of them is "verifyAlertPresent" for verification of alert on the page. Some times, when you taking some action on page, it is showing alert message in popup. If you want to verify that alert message

"verifyEval" Command in selenium IDE plug in

"verifyEval" Command is very useful when you want to compare two values or string especially when you want to compare result of script with stored values in variable.

In bellow given example, I have compared value(5) stored in variable "VarA" with result of javascript{2+3}" script. It will becomes true because 5 = javascript{2+3}. You can verify reverse result by editing these