码迷,mamicode.com
首页 > 其他好文 > 详细

SoftwareTest lab2 homework

时间:2017-03-26 17:04:09      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:case   nis   play   技术分享   bdr   cli   ima   height   exp   

1. Install the Selenium IDE for the firefox browser.

  To begin with, I install the firfox(V42.0). Then, the selenium IDE for firfoxe can be found in the marketplace, so all I have do is install it according to the indication.

2.Record and Export the test case

  1).Record:

    When we open the IDE, we just need to click the red button at the top right-hand corner. Then, we can opperate on firefox and when we finish, click again the red button to stop recording.  

    And we can click the green tringle to play.

技术分享

技术分享

 

  2). Export:

技术分享

 

3. After exporting the test case as Java/ Junit4/ WebDriver, we can oppen it in the eclips. It‘s necessary to add some Libraries to make sure that the WebDriver can be run successfully.

 技术分享

 

4. The specific code of the Selenium Java WebDriver has been upload to github.

 

SoftwareTest lab2 homework

标签:case   nis   play   技术分享   bdr   cli   ima   height   exp   

原文地址:http://www.cnblogs.com/amazing-lin/p/6623288.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!