rajatkverma / sal-test Goto Github PK
View Code? Open in Web Editor NEWThis project forked from speakagent/sal-test
An automated suite of tests to help QA not lose their mind
This project forked from speakagent/sal-test
An automated suite of tests to help QA not lose their mind
Selenium tests for SAL ====================== Goal: Decrease time for integration testing through the magic of code! Prerequisites ------------- You will need a test user that is already set up on the target server. Installation ------------ Set up your virtualenv as usual and pip install ``requirements.txt``. For the purpose of these instructions, I'm going to assume that the name of your env is "saltest". Download geckodriver (the headless driver for Firefox) from https://github.com/mozilla/geckodriver/releases. Unzip it and move it to ``~/.virtualenvs/saltest/bin/``. Add the TeacherUser username and password to your virtualenv env (don't put this in the code!):: echo "export TUSER=username" >> "$VIRTUAL_ENV/bin/postactivate" echo "export TPASS=password" >> "$VIRTUAL_ENV/bin/postactivate" Running the code ---------------- You can either run the files on their own, or you can copy and paste them into the shell. The latter is a good option if you want to further play around with the driver, since ``main()`` returns it. Good to know ------------ * Pausing is good. It can sometimes take a bit for elements to get onto the page. * None of the scripts shut down the browser after they run. We should keep it this way for now, so testers can poke around more if needed. * Use TODO liberally in the comments. Documentation ------------- I have mostly been using the unofficial docs: http://selenium-python.readthedocs.io/ The official docs are here: http://www.seleniumhq.org/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.