Skip to content

Commit 13e5d73

Browse files
Merge pull request #40 from hurricanemark/Phase2-BaselineToSeriousWorks
Phase2 baseline to serious works
2 parents cedfb80 + 8d405e4 commit 13e5d73

File tree

4 files changed

+10705
-1557
lines changed

4 files changed

+10705
-1557
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,33 @@ We will choose [Selenium IDE chrome extension](https://chrome.google.com/webstor
208208

209209
2. Write test cases as follow and click `Run all tests`:
210210

211-
![UI-Automation](./public/SeleniumIDEAutomation.PNG)
211+
![UI-Automation](./public/SeleniumIDEAutomation.PNG)
212+
213+
<br />
214+
215+
3. Save the Selenium script as `./public/tests/SeleniumIDE_ChromeTestWeatherBitApp.side`
216+
217+
4. Install [`selenium-side-runner`](https://www.selenium.dev/selenium-ide/docs/en/introduction/command-line-runner), then run the test script above from the command console.
218+
219+
```c
220+
StagingProjs> selenium-side-runner .\public\tests\SeleniumIDE_ChromeTestWeatherBitApp.side -c "browserName=chrome"
221+
222+
info: Running test UITests
223+
info: Building driver for chrome
224+
225+
RUNS C:/Users/markn/AppData/Roaming/npm/node_modules/selenium-side-runner/dist/main.test.js
226+
info: Driver has been built for chrome
227+
info: Finished test UITests Success
228+
PASS C:/Users/markn/AppData/Roaming/npm/node_modules/selenium-side-runner/dist/main.test.js
229+
Running project TestWeatherBitApp
230+
Running suite Default Suite
231+
√ Running test UITests (2086 ms)
232+
233+
Test Suites: 1 passed, 1 total
234+
Tests: 1 passed, 1 total
235+
Snapshots: 0 total
236+
Time: 2.75 s, estimated 7 s
237+
Ran all test suites within paths "C:\Users\markn\AppData\Roaming\npm\node_modules\selenium-side-runner\dist\main.test.js".
238+
239+
StagingProjs>
240+
```

0 commit comments

Comments
 (0)