SeleniumBase/examples
Michael Mintz b94e4971e3 Make the rate-limiting test more fancy 2016-02-02 11:56:59 -05:00
..
logs_for_test_fail Add info about the log files 2015-12-10 02:41:27 -05:00
ReadMe.md Update the README 2015-12-14 01:55:27 -05:00
__init__.py Fresh Copy 2015-12-04 16:11:53 -05:00
example_config.cfg Fresh Copy 2015-12-04 16:11:53 -05:00
my_first_test.py Update example test 2016-01-10 03:00:27 -05:00
rate_limiting_test.py Make the rate-limiting test more fancy 2016-02-02 11:56:59 -05:00
run_my_first_test_in_chrome.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_my_first_test_in_firefox.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_my_first_test_in_phantomjs.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_my_first_test_with_config.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_rate_limiting_test.sh Update the rate-limiting example test 2016-01-11 20:15:38 -05:00
run_test_fail_with_debug.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_test_fail_with_debug_in_firefox.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_test_fail_with_logging.sh Fresh Copy 2015-12-04 16:11:53 -05:00
run_test_fail_with_logging_in_firefox.sh Fresh Copy 2015-12-04 16:11:53 -05:00
setup.cfg Fresh Copy 2015-12-04 16:11:53 -05:00
test_fail.py Fresh Copy 2015-12-04 16:11:53 -05:00

ReadMe.md

The python tests here are in nosetest format, which means that you CANNOT run them by using “python [NAME OF .PY FILE]” in the command prompt. To make running these files easy, .sh files have been created. Those contain the run commands to properly execute the python tests.

On a MAC or Unix-based system, you can execute .sh files by using ./[NAME OF .SH FILE] in a command prompt from the folder that the .sh files are located in. On a Windows-based system .bat files work the same way. You can switch the file extensions from .sh to .bat if you need to. One .bat file has been included in this folder.

You may have trouble opening .cfg files if you want to try viewing/editing them because the file extension may be unrecognized on your system. If so, use the Right-Click “Open With” option, or just drag & drop the file into a text-editing program.

If you run scripts with logging enabled, youll see two folders appear: “logs” and “archived logs”. The “logs” folder will contain log files from the most recent test run, but logs will only be created if the test run is failing. Afterwards, logs from the “logs” folder will get pushed to the “archived_logs” folder.

You may also see .pyc files appear as you run tests. Thats compiled bytecode, which is a natural result of running Python code.