Thursday 27 February 2014

Features Of Selenium IDE



Selenium IDE Introduction 
Selenium IDE (Integrated Development Environment) Tool, It is open Source and freely available to download. Selenium IDE is implemented as firefox extension and allow you to Record, Play, debug the tests, It is allowing you to record and play functionality. As compare to other automation tool Selenium is very easy to use and any one can learn in one week , even who don’t know any  scripting language.
 This tools used by developers also to debug the issue, Selenium allow you to update script at run time by it predefined function like wait, waitandload, etc

Features Of Selenium:
  1. Open source Tool 
  2.  Easy for record and play
  3. Brilliant for selection ID, XPATH, names
  4. Predefined Selenium commands
  5.  Walkthrough Test
  6.  Debug Testcases
  7.   Set breakpoints
  8.   Save tests as HTML, Ruby scripts, or any other format
  9.   Support for Selenium user-extensions.js file
  10.   Option to automatically assert the title of every page
  11.   Lots of Plug-in are freely available: Selenium provides the plug-in feature to provide easy customization and extensions
Click on the below linkto learn Selenium IDE
Selenium IDE Installation Guide  

How to Install Selenium IDE?

Learn Selenium IDE installation in Just 5 Minutes




Step 2:  To Install Selenium IDE follow the steps as mentioned in the Selenium Installation Screen Image

Selenium IDE Installation Screen
Selenium IDE Installation Steps

Steps: To launch Selenium IDE Follow the steps as mentioned in the Launch Selenium IDE image
Launch Selenium IDE
Launch Selenium IDE 

Tuesday 21 January 2014

Apache JMeter HTTP Test Script Recorder - Recording controller



Jmeter Recorder with Recording Controller:
 
Before start with actual recording we need do some setting from browser side,dont worry I will help to do setting J just follow below steps.

Note: I am taking example of firefox browser.

Step I: Open you firefox browser
Step II: Go to Tools--->Options--->Advances--->Network
Jmeter HTTP Recording Controller

Step III: Click on Setting, It will open a new window
Select  Manual Proxy Configuration:
a)      HTTP Proxy: localhost
b)      Port:8080
c)       Check the checkbox”Use this proxy srver for all protocols”
JMeter Browser Setting

Now What?
Just click on “OK” and browser setting part done.

Note: Don't forget to reset browser setting otherwise it will not allow you to access any other website.



Now Let’s Start Recording
 Step I: Rename Test plan
Step II: Right click on Test plan and add Thread Group
Jmeter Test Plan

Step III: select the Thread Group Right Right click “Add -> Config Element -> HTTP Request Defaults”
 Jmeter HTTP Request


Step IV: In HTTP request enter Server URL: ex jmeter.apache.org and leave path blank
Jmeter HTTP Request Server Name
stepV: Right click on thread group and add “Recording controller” from logical controller
Jmeter Recording controller
Step VI: Add Lister
Add Listner in Jmeter
.
Return to HTTP(S) Test Script Recorder, and click the “Start” button at the bottom.
This will start the JMeter proxy server which is used to intercept the browser requests.A file called ApacheJMeterTemporaryRootCA.crt will be generated in jmeter/bin folder.Install this certificate in your browser, if you don't know how to do it, read “ Installing the JMeter CA certificate for HTTPS recording
http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S
%29_Test_Script_Recorder

Now Record Your Navigation:
Click on few link of Jmeter Page and click on close the Jmeter Web Page , Now you will see that you activity is recorded on Jmeter
Start Your Record in Jmeter
Add Summary or View Result Tree Listner to check you test result If All OK then it will come in green IF Not then Red
Play button: Jmeter Play Button

Refrence: For More details visit Jmeter Official Websit for Jmeter Test Run with Recording controller
http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf