-
Notifications
You must be signed in to change notification settings - Fork 59
Test Suites
hekra01 edited this page Apr 6, 2017
·
3 revisions
Any Selenium code can be used with QtWebdriver.
However to run the QtWebdriver test suites proceed as follows:
- Checkout the modified selenium version (based on Selenium 2.43.1):
$ cd /home/user
$ git checkout https://github.com/cisco-open-source/selenium.git
- Set environment variables:
# Set the path to the qtwebdriver exe, e.g:
$ export qtwebdriver=/home/user/qtwebdriver/out/desktop/release/Default/WebDriver
# set LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=/home/user/qt/lib:$LD_LIBRARY_PATH
- Run test suites (Note the tests require ant 1.8.2 installed to work properly)
$ cd /home/user/selenium
$ ./go test_qtwebkit --trace
- The test results are in
build/test_logs
- The list of all possible tests is in the Readme and in the Rakefile:
./go test_qtwebkit
./go test_wd_native_qt4
./go test_wd_native_qt5
./go test_wd_hybrid_qt4
./go test_wd_hybrid_qt5
./go test_wd_quick1
./go test_wd_quick2
- The sources of the tests is in
selenium/java/client/test/org/openqa/selenium/qtwebkit/
Home | Build And Run | Releases | Features
Copyright © 1992-2016 Cisco and/or its affiliates