File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class 我的测试类(硒测试用例):
1919 self .输入文本(' input[name="search"]' , " 舞龍" )
2020 self .单击(' button:contains("搜索")' )
2121 self .断言文本(" 舞龍" , " #firstHeading" )
22+ self .断言元素(' img[src*="Chinese_draak.jpg"]' )
2223```
2324
2425Here's another example:
@@ -36,6 +37,9 @@ class 私のテストクラス(セレニウムテストケース):
3637 self .クリックして(" #searchform button" )
3738 self .テキストを確認する(" アニメ" , " #firstHeading" )
3839 self .JS 入力(' input[name="search"]' , " 寿司" )
40+ self .クリックして(" #searchform button" )
41+ self .テキストを確認する(" 寿司" , " #firstHeading" )
42+ self .要素を確認する(' img[alt="握り寿司"]' )
3943```
4044
4145<a id =" translation_api " ></a >
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class 我的测试类(硒测试用例):
2121 self .输入文本(' input[name="search"]' , " 舞龍" )
2222 self .单击(' button:contains("搜索")' )
2323 self .断言文本(" 舞龍" , " #firstHeading" )
24+ self .断言元素(' img[src*="Chinese_draak.jpg"]' )
2425```
2526
2627Here's another example:
@@ -38,6 +39,9 @@ class 私のテストクラス(セレニウムテストケース):
3839 self .クリックして(" #searchform button" )
3940 self .テキストを確認する(" アニメ" , " #firstHeading" )
4041 self .JS 入力(' input[name="search"]' , " 寿司" )
42+ self .クリックして(" #searchform button" )
43+ self .テキストを確認する(" 寿司" , " #firstHeading" )
44+ self .要素を確認する(' img[alt="握り寿司"]' )
4145```
4246
4347<a id =" translation_api " ></a >
You can’t perform that action at this time.
0 commit comments