When trying to do batch run of files for the python files, its throwing error | Selenium Python Forum
A
Amruta Posted on 27/10/2020

When trying to do batch run of files for the python files by selecting python package, its throwing error in Pycharm.

1. have created a 'BatchRun" python package in Pycharm.

2. and have created four python files inside it, whcih has almost same contents as shown for file "four.py"

3. if i run individual it runs perfectly but when we run "BatchRun" python package , its not running in batch  and throwing the below menitoned  error.

Do we have to do any additional settings?

 


0
09914040666 Replied on 27/10/2020

Hey

Kindly follow the convections for PyTest. 

1. module name/file name should start with test_.
2. function name should start with test_.
3. class name should start with Test.

If any of the convection is not followed, the test cases will not run.


A
Amruta Replied on 30/10/2020

Thank you Jaspreet , it worked  .


0
09914040666 Replied on 04/11/2020

Thank you for the update.


Related Posts