Manual Testing folder contains 2 spreadsheets for the test cases:
- Computer Database Test Cases.xlsx
- Java Script Alerts Test Cases.xlsx
Find the bugs logged in Bugs.xlsx and the corresponding screenshot in BugJsAlerts.docx and BugComputerDatabase.docx respectively.
Automation of computer database and JavaScript alerts
.Net core 3.1
The solution consist of three projects
1. Automation Framework: The wrapper of selenium
2. Computer Database: GUI tests related to computer DB
3. JavaScriptAlerts: GUI tests related to JS alerts
$dotnet build
$dotnet test
Tests will run in parallel from Computer Database and JavaScript alerts project. It is expected that one test case will fail
JavaScriptAlerts.Tests.Alert.CanVerifyJsAlert
Opening browser Chrome
***********************************************
* Can verify JS Alert
***********************************************
1 - 'Open Heroku App'
Opening 'https://the-internet.herokuapp.com/javascript_alerts'
2 - 'Click for JS alerts'
Clicked 'By.XPath: //*[@id='content'] //button[text()='Click for JS Alert']'
3 - 'Verify alert text'
Alert present = True
Alert text = I am a JS Alert
Alert Accepted