Selenium 日积月累 (更新至2006-10-9)

2006-10-9

已经解决的问题:

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               < 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.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?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值