使用Robot Framework的Selenium Library测试Web(2)
发表于:2012-03-22来源:新浪博客作者:lxg0618点击数:
标签:
Test Case Action Arguments OpenWeibo Start Selenium server Open Browser http://www.weibo.com ie Maximize Browser Window Input Text loginname aaa@gmail.com Input Password password 123 Click Link login_
Test Case |
Action |
Arguments |
OpenWeibo |
Start Selenium server |
|
|
|
|
Open Browser |
http://www.weibo.com |
ie |
|
|
Maximize Browser Window |
|
|
|
|
Input Text |
loginname |
aaa@gmail.com |
|
|
Input Password |
password |
123 |
|
|
Click Link |
login_submit_btn |
|
|
|
Wait Until Page Loaded |
|
|
|
|
Input Text |
publish_editor |
Robot Framework Test! |
|
|
Click Link |
publisher_submit |
|
|
|
Page Should Contain |
Robot Framework Test! |
|
|
|
Close Browser |
|
|
|
|
Stop Selenium Server |
|
|
|
|
|
|
|
原文转自:http://www.ltesting.net