Closed akkuldn closed 2 months ago
@akkuldn I and @nelabhotlaR Tested this on local:
If you pass the browser version without setting the browser, the test will error out with the message asking you to set the browser
python -m pytest --browser="" --ver="119" --remote_flag=Y tests/test_example_table.py
this will error out for browser name not specified.
If you pass the OS version without specifying the OS name then test will error out with message asking you to set the os name
python -m pytest --browser="chrome" --ver="" --os_name="" --os_version="08" --remote_flag=Y tests/test_example_table.py
The tests are running without any issues by take defaults, when the --os_name is not specified but the parameter is passed.
python -m pytest --browser="chrome" --ver="" --os_version="08" --remote_flag=Y tests/test_example_table.py
without os_name parameter running the command will throw out the error
If you pass the browser and not specify the browser version then it will run against the latest version of that browser [working as expected]
If you pass the OS name without specifying the version then, if the OS is windows it will run against "windows 11" , if its "os x" then it will run against "sequoia" [working as expected]
@akkuldn If above test case scenarios are expected, then its good to merge
Have added link between CLI arguments that are required to run the test remotely.