SoftwareTest lab2 homework
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SoftwareTest lab2 homework相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章