These Robot Framework based automated tests are created to complete a technical challange.
The test website was absolutely not predictable in the last few days.
I got "Resource Limit Is Reached" messages many times from the server.
Please consider this problem and try to run test cases one by one.
Test failures with message like "... did not appear in 30 seconds" are typically occurred because of this problem, but sometimes it occurres failures with other messages.
Chrome and firefox browser based executions' results are available here:
-
Install webdrivers: Download and place them into a directory that is in PATH.
-
Clone this repository
git clone [email protected]:peterkulik/automation_practice.git
-
Optionally, but recommended: Create a virtual environment (python 3.8+) and activate it.
-
Install packages:
pip install -r requirements.txt
Use the following tags to run different test scenarios:
- register
- search
- add_products
- delete_products
- purchase_products
For instance to run "Successful registration" test scenario:
robot -d Results -i register Tests
To select a browser driver pass a supported browser name to the robot command.
robot -d Results -v BROWSER:chrome Tests
robot -d Results -v BROWSER:firefox Tests
All test cases are tested with chrome and firefox.