-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_tests.bat
More file actions
55 lines (53 loc) · 1.94 KB
/
run_tests.bat
File metadata and controls
55 lines (53 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@echo off
echo Running Robot Framework Tests...
echo.
if "%1"=="smoke" (
echo Running smoke tests...
python -m robot -i smoke -d results tests/
) else if "%1"=="ab_testing" (
echo Running A/B Testing tests...
python -m robot -d results tests/ab_testing.robot
) else if "%1"=="add_remove" (
echo Running Add/Remove Elements tests...
python -m robot -d results tests/add_remove_elements.robot
) else if "%1"=="basic_auth" (
echo Running Basic Auth tests...
python -m robot -d results tests/basic_auth.robot
) else if "%1"=="checkboxes" (
echo Running Checkboxes tests...
python -m robot -d results tests/checkboxes.robot
) else if "%1"=="context_menu" (
echo Running Context Menu tests...
python -m robot -d results tests/context_menu.robot
) else if "%1"=="dropdown" (
echo Running Dropdown tests...
python -m robot -d results tests/dropdown.robot
) else if "%1"=="drag_and_drop" (
echo Running Drag and Drop tests...
python -m robot -d results tests/drag_and_drop.robot
) else if "%1"=="file_upload" (
echo Running File Upload tests...
python -m robot -d results tests/file_upload.robot
) else if "%1"=="javascript_alerts" (
echo Running JavaScript Alerts tests...
python -m robot -d results tests/javascript_alerts.robot
) else if "%1"=="dynamic_loading" (
echo Running Dynamic Loading tests...
python -m robot -d results tests/dynamic_loading.robot
) else if "%1"=="hovers" (
echo Running Hovers tests...
python -m robot -d results tests/hovers.robot
) else if "%1"=="inputs" (
echo Running Inputs tests...
python -m robot -d results tests/inputs.robot
) else if "%1"=="headless" (
echo Running tests in headless mode...
python -m robot -v HEADLESS:True -d results tests/
) else (
echo Running all tests...
python -m robot -d results tests/
)
echo.
echo Tests completed. Check results in 'results' folder
echo Open 'results/report.html' to view the report
pause