H
H
HexJ2017-03-30 16:23:32
Python
HexJ, 2017-03-30 16:23:32

Running Selenium+Python tests via .bat?

There are a lot of tests and usually I run several (or all) tests at once with a simple command:

python -m unittest discover -s ./ -p '*_testing.py'

a3083c514f3d45f5a4e3e7351d338947.png
But there was a need to write a batch file so that the guys "just clicked and the tests themselves were launched, written to a file and sent to the soap." It would be cool if he also brewed coffee, but that's for later. In short, my boss is funny.
So... do you have any ideas? Or maybe someone already solved this issue and knows where to read?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
southsoutheast, 2017-03-30
@southsoutheast

I understand correctly that you need the tests to run on machines where the python may not be installed?
then create a file with a script that runs all your scripts and saves (or sends ) the result wherever you want, and then look towards py2exe .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question