Steps Pull Docker image for the-internet app:
docker pull gprestes/the-internet
Run the following command:
docker run -d -p 7080:5000 gprestes/the-internet
Set the following BaseUrl for your tests:
Use ChromeDriver to write Tests for the following scenarios in Java:
Login Success: http://localhost:7080/login credentials: tomsmith/SuperSecretPassword! Login Failure: http://localhost:7080/login Login fail invalid creadentials CheckBoxes: http://localhost:7080/checkboxes Check and uncheck boxes ContextMenu: http://localhost:7080/context_menu Right-click in the box to see one called 'the-internet'. Test JavaScript alert text on Right-Click. Drag and Drop: http://localhost:7080/drag_and_drop Perofrm Drag And Drop in a Webdriver test. Dropdown: http://localhost:7080/dropdown Test dropdown using Webdriver. Dynamic Content: http://localhost:7080/dynamic_content Test content changes with page reload. Dynamic Controls: http://localhost:7080/dynamic_controls Test Dynamic Controls using Explicit Waits. Dynamic Loading: http://localhost:7080/dynamic_loading/2 Test Dynamic Loading using Explict Waits. File Download: http://localhost:7080/download Test File Download. File Upload: http://localhost:7080/upload Test File Upload. Floating Menu: http://localhost:7080/floating_menu Test Floating Menu. Iframe: http://localhost:7080/iframe Test iframe. Mouse Hover: http://localhost:7080/hovers Test Mouse Hover. JavaScript Alerts: http://localhost:7080/javascript_alerts Test confirm JS Alert. JavaScript Error: http://localhost:7080/javascript_error Test JS error. Open in New Tab: http://localhost:7080/windows Test Link Opens in new tab. Notification Message: http://localhost:7080/notification_message_rendered Test notification Message.