2006-10-9
已经解决的问题:
1.How to write the test script and test suite in Selenium?
2.Run test case in multi-window mode.
3.Auto run the test suite.
4.The normal feature in Selenium Test Runner.
尚未解决的问题:
1.What's SetUp and TearDown?
2.How to implement and user the Continuous Integration?
已经解决的问题:
1.How to write the test script and test suite in Selenium?
1
The example of Test Suite
2
3
4 <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
5 < html >
6 < head >
7 < meta http-equiv ="content-type" content ="text/html; charset=windows-1250" >
8 < meta name ="generator" content ="PSPad editor, www.pspad.com" >
9 < title >
10 </ title >
11 </ head >
12 < body >
13
14 < table id ="suiteTable" cellpadding ="1" cellspacing ="1" border ="1" class ="selenium" >
15 < tbody >
16
17 < tr >
18 < td >
19 < b > the suite's name </ b >
20 </ td >
21 </ tr >
22
23 < tr >
24 < td >
25 < a href ="the_script_file.html" > the script's name </ a >
26 </ td >
27 </ tr >
28
29 </ tbody >
30 </ table >
31
32 </ body >
33 </ html >
2
3
4 <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
5 < html >
6 < head >
7 < meta http-equiv ="content-type" content ="text/html; charset=windows-1250" >
8 < meta name ="generator" content ="PSPad editor, www.pspad.com" >
9 < title >
10 </ title >
11 </ head >
12 < body >
13
14 < table id ="suiteTable" cellpadding ="1" cellspacing ="1" border ="1" class ="selenium" >
15 < tbody >
16
17 < tr >
18 < td >
19 < b > the suite's name </ b >
20 </ td >
21 </ tr >
22
23 < tr >
24 < td >
25 < a href ="the_script_file.html" > the script's name </ a >
26 </ td >
27 </ tr >
28
29 </ tbody >
30 </ table >
31
32 </ body >
33 </ html >
1
The example of Test Script
2
3
4 <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
5 < html >
6 < head >
7 < meta http-equiv ="content-type" content ="text/html; charset=windows-1250" >
8 < meta name ="generator" content ="PSPad editor, www.pspad.com" >
9 < title >
10 </ title >
11 </ head >
12 < body >
13
14 < table cellpadding ="1" cellspacing ="1" border ="1" >
15 < tbody >
16
17 < tr >
18 < td rowspan ="1" colspan ="3" >
19 the scripts name
20 < br >
21 </ td >
22 </ tr >
23
24 < tr >
25 < td >
26 command
27 </ td >
28 < td >
29 the first argument
30 </ td >
31 < td >
32 the second argument
33 </ td >
34 </ tr >
35
36 </ tbody >
37 </ table >
38
39 </ body >
40 </ html >
2
3
4 <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
5 < html >
6 < head >
7 < meta http-equiv ="content-type" content ="text/html; charset=windows-1250" >
8 < meta name ="generator" content ="PSPad editor, www.pspad.com" >
9 < title >
10 </ title >
11 </ head >
12 < body >
13
14 < table cellpadding ="1" cellspacing ="1" border ="1" >
15 < tbody >
16
17 < tr >
18 < td rowspan ="1" colspan ="3" >
19 the scripts name
20 < br >
21 </ td >
22 </ tr >
23
24 < tr >
25 < td >
26 command
27 </ td >
28 < td >
29 the first argument
30 </ td >
31 < td >
32 the second argument
33 </ td >
34 </ tr >
35
36 </ tbody >
37 </ table >
38
39 </ body >
40 </ html >
2.Run test case in multi-window mode.
3.Auto run the test suite.
4.The normal feature in Selenium Test Runner.
![](http://www.openqa.org/selenium-core/images/test_runner_frame.jpg)
尚未解决的问题:
1.What's SetUp and TearDown?
2.How to implement and user the Continuous Integration?