Wednesday, July 4, 2012

Selenium Installation steps

For installing selenium IDE open Mozilla firefox browser and go to SELENIUM website and click on version “Number” under the heading Selenium IDE and click on “Allow” button. Do not reload the page unless your installation step completes. After installing the IDE; Mozilla shows an option to restart the browser. Click on “Restart Now” button.


Selenium Installation steps.


Tools - Selenium IDE


Now after restarting; click on ‘Alt’ button of keyboard and click on tools option of Mozilla browser as shown above and select Selenium IDE. Selenium IDE pops up in record mode. 

Now place the website URL of which you want to record and playback. Start recording by clicking on links, buttons, tabs and drop downs of the website. Make sure that your website is opened in the Mozilla browser. Watch out for the code generated in selenium IDE. Do some trials and errors and check types of codes generated in IDE and see what happens when you play the recorded script.

How to open Selenium IDE in Mozilla

To know more about selenium scripts and commands and for tutorials visit Selenium Documentation page. Hope you enjoy recording, and scripting. Just sit back and watch how selenium runs the recorded scripts. Happy testing..!



Important Links:



Testing Tools and Prerequisites

When it comes to selecting a test tool, testers are always in confusion and bugged up about which tool to be used. Usually testing tools are used for automating a test or execute Load, Stress and performance tests.

A test tool should be capable of creating test script files by recording and playback. It should be able to merge each recorded script files into a test suite for integration testing. It should be capable of changing the order of each test case file present in a test suite. It should be able to perform CURD operations on recorded scripts/codes as well as test files. It should be able to perform all the operations that an IDE is capable of. Also it should be capable to automate tests in different browsers.

Most importantly generated test scripts or test suites should be exportable in the formats of codes which conform to semantics and syntax's of the code format in which it will be exported. Codes/Programs like - JUnit, TestNG, Perl, Rspec, Python, C# and so on.

And lastly, it should be capable to detect broken links and invalid links, verify – elements like images, videos, css locations or xpaths, check validations, select-able and non selectable check boxes, count dropdown elements, check whether things are sorted in alphabetical order and many more.

If the test tool being used is intended for Load testing then it should be capable of incorporating the above said test case files or test suites and run the same scenarios simultaneously by creating n number of Virtual Users [VU] or Browser Simulated Users [BSU] - Load on the application.

If the test tool is intended for Unit testing then it should have predefined Gems or Java jar files to support Unit testing. It should be capable of handling different needs of coding and merge different environments. It should be able to handle sessions, servers, open application in different browsers and catch exceptions. It should be able to run generated codes and test each Unit in the desired manner.
There are many tools for automating a software test; many of which are open source and can be downloaded from the sites.

Few of the most popular tools which has boomed as Automation testing tool in recent times, are Selenium IDE and Selenium RC. Selenium IDE can be installed as Addon in Mozilla Firefox.


Important Links:


Read More: Selenium Installation Steps...!


|   Introduction to Software Testing   |   Roles and Responsibilities of a Software Tester   |   What is a Test Case   |   Software Testing types and Methods   |   STLC Process   |   Hierarchy Chart   |   Most Common Interview Questions   |   Resume Preparation Tips   |   SDLC Models   |   Blog Index   |   Software Testing FAQs   |



Google Search