Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Systers is an international community for all women involved in the technical aspects of computing. We welcome the participation of women technologists of all ages and at any stage of their studies or careers.
We engage our community by contributing to open source, collaborating with the global community, and learning/enhancing our coding skills. We are committed to providing a safe, positive online community for our many volunteers that offer their skills, time, and commitment to our projects.
In order to engage with the community, you can sign up on Systers Open Source Slack.
Code of Conduct
A primary goal of Systers is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
Welcome to the automated-testing wiki!
This document contains an explaination to all the coding work regarding development of a Java based Test Framework that targets testing automation of Systers Portal, that have been made so far as part of the Project work for Google Summer of Code 2014.
The project of Testing Automation aims at making reusable and automated scripts for regression testing. A selenium based testing framework was developed to contain test suites for the User Interface testing of Systers Portal, which is a web application in developmental stage.Tests cases have also been written for testing the queries for the user present in the DB of a given web application.
Steps for setting up the Testing Environment
Tools and Technologies
- Framework: Selenium using JUnit
- Language: Java
- Build automation tool: Ant
- IDE: Eclipse
- Web browser: Firefox suits best for the testing but any of the browser may be made compatible by following some steps like adding plugins and driver in the code.
- Selenium IDE: Portable testing framework for web applications. It has record/playback tool and doesnot requires learning scripting language for it
- Eclipse IDE: Is a Integrated Development Environment that contains various plugins and functionality already packeaged into it
- JUnit Framework: For writing java based test cases
For the Installation and work guide please refer to the following link: Selenium Guide
Working on Eclipse
- Download the IDE from its downloads link
- Unzip the package on your system and do the installation
- Set the workspace where all the codes created will be saved
- Add external JARs for JUnit, Ant and Selenium
- Create a new project by clicking on file in the menu bar, make a new source folder under it and then create a package inside it
- Right click on the package and create a new JUnit test case
- Copy the selenium tests that were done on the UI of the website
- Write the test conditions as desired in the testcase
- Save and run as JUnit application
- The output will be shown on the side bar window. (On success: green, On failure: red)