Skip to content

Commit 8fd31f5

Browse files
committed
Update tests/README.md
1 parent ebbbc02 commit 8fd31f5

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

tests/README.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Test Automation
22

3+
Testing front-end user interface can be automated using Selenium.
34
## Selenium extension
45

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.
67

78
**Generate test cases:**
89

@@ -13,6 +14,50 @@ For automation testing, Selenium web extension is added to the browser.
1314

1415
**Load and run tests:**
1516
- Open the Selenium extension from the browser
16-
- Open save *.side file
17+
- Open existing test project and load *.side file
1718
- Start the test
1819

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.
55+
09:11:57
56+
10.
57+
click on linkText=Login OK
58+
09:11:57
59+
11.
60+
click on linkText=Google+ OK
61+
09:11:57
62+
'FrontalTests' completed successfully
63+
```

0 commit comments

Comments
 (0)