A Web Project's Registration Test on Selenium IDE
Testing web projects is important as development of project. Test will be crucial as long as web project grows.
Many test tools have been developed for testing. However Selenium IDE add-on which was developed for Firefox is more successful than the other tools. Selenium IDE which provides successful and unproblematic test opportunity procures creating test cases easily for users of all levels through its user friendly interface. Moreover adapting our functions to Selenium IDE with different methods is possible. If ‘user-extension.js’ file which was created personal or downloaded from different sources is adapted, the functions in content of file is possible to use on test cases.
On the other hand therefore test cases’ source code can be saved as HTML format, we can test again and again as changing the HTML formatted source code which can be modified by need. Specially, being HTML format of source code seems to me varied. It might be as XML format. Source code of multiple registration test is given on the following screenhot.
Web application’s user registration will be tested at this article. However many user will be used instead of one user. New and single test case was created thereby combine many users’ actions in test case HTML. Actions are below respectively:
User Registration Page is opened.
Name Surname information is entered.
E-mail information is entered.
Password information is entered.
Press ”Start Shopping” button.
Two clicking actions are done.
Check out. After this step, return the first step. It will be repeated.
Iteration is related to number of user. Therefore we want to show that registration operation completed incoincident, this condition tests with many users. A large web project takes many user registration. For example, 9 users from 10 users are successful, but 1 user is not successful. It means there is critical problem clearly. Therefore multiple registration test is crucial.
Selenium IDE and alternatives:
Selenium IDE: It is an add-on which was developed for Firefox. If the test is basic, you will save your test case and play again and again, Selenium IDE is preferred.
Selenium RC: Many tests will be repeated again and again, Selenium IDE will be inadequate. We can test with Selenium RC on different browsers. It provides opportunity for supporting with different programming languages. The way of work: a server application is started and the application assigns as proxy to related browser itself. Requests and responses pass over itself.
Selenium WebDriver: Browser tests as a user on local machine or remote machine thereby using Selenium Server. The way of work is different from inserting script feature which is used Selenium RC. For more detailed information click here...
Selenium Grid: It can be described as advanced level of Selenium RC. It provides opportunity for testing on many servers simultaneous. It provides to conclude tests on many browsers and operating systems.
Download Selenium IDE(v.1.0.8)How to install Selenium IDE on Firefox?