You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+47-2Lines changed: 47 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
# Test Automation
2
2
3
+
Testing front-end user interface can be automated using Selenium.
3
4
## Selenium extension
4
5
5
-
For automation testing, Selenium web extension is added to the browser.
6
+
For automation UI testing, Selenium web extension is added to the browser.
6
7
7
8
**Generate test cases:**
8
9
@@ -13,6 +14,50 @@ For automation testing, Selenium web extension is added to the browser.
13
14
14
15
**Load and run tests:**
15
16
- Open the Selenium extension from the browser
16
-
- Open save*.side file
17
+
- Open existing test project and load*.side file
17
18
- Start the test
18
19
20
+
**Test output from log**
21
+
22
+
```c
23
+
Running 'FrontalTests'
24
+
09:10:53
25
+
1.
26
+
open on / OK
27
+
09:10:53
28
+
2.
29
+
setWindowSize on 925x691 OK
30
+
09:10:53
31
+
3.
32
+
click on css=.active:nth-child(1) > .nav-link OK
33
+
09:10:53
34
+
4.
35
+
click on css=.btn OK
36
+
09:10:54
37
+
5.
38
+
click on linkText=ExchangeRate OK
39
+
09:10:54
40
+
6.
41
+
click on css=.btn OK
42
+
09:10:55
43
+
7.
44
+
click on linkText=About OK
45
+
09:10:55
46
+
8.
47
+
Trying to find linkText=Profile... OK
48
+
09:10:56
49
+
Warning Element found with secondary locator xpath=//div[@id='navbarToggler']/ul[2]/li/a. To use it by default, update the test step to use it as the primary locator.
50
+
09:11:26
51
+
9.
52
+
Trying to find linkText=Logout... OK
53
+
09:11:26
54
+
Warning Element found with secondary locator css=.nav-item:nth-child(2) > .active. To use it by default, update the test step to use it as the primary locator.
0 commit comments