https://github.com/robotframework/Selenium2Library
2. Unzip Selenium2Library.zip, we only need "demo" folder.
copy demo folder to any path.
============= Run demo using command line =================
a. open windows command line and change location to your demo path.
ex. cd F:/Project/demo
b. use commands on windows command line:
rundemo.py login_tests
Finished.
============= Run demo using Robotframework-RIDE ===========
a. open windows command line, enter:
ride.py
b. File->Open Directory, select demo folder
c. Start demp webpage :
open windows command line, change path to \demoo\demoapp, enter :
>server.py start
d. Select testsuite you want to test and click Run->start on right tab page.
沒有留言:
張貼留言