Skip to content

To handle QT win objects #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 443 commits into
base: selenium-2.43.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
ffb6721
use simple classnames for QML items
AndriyP Aug 29, 2013
50bfbd9
ported Quick1 test content to Quick2 version
AndriyP Aug 29, 2013
d7be7f9
QtQuick: minor changes in javascript test
AndriyP Aug 29, 2013
2f222f3
Add support of WidgetView to remotePlayer
Aug 30, 2013
63248bc
Ignore one alert test due to qtWebKit issue
Aug 30, 2013
632318b
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Aug 30, 2013
9ff502f
Quick2: updated TypingTest content
AndriyP Aug 30, 2013
d33b7ac
Quick2: updated list of tests to execute
AndriyP Aug 30, 2013
f587c50
Correct error in JsonToWebElement converter
Aug 30, 2013
a72d0b1
Quick1: updated Typingtest content
AndriyP Aug 30, 2013
d2a9986
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Aug 30, 2013
7871973
Quick: updated test set
AndriyP Sep 3, 2013
9e04307
Fixed QtWebKitDriverSupplier ignore required capabilities.
Sep 4, 2013
49f406a
added driver's cleanup after HTML5 video/audio tests
AndriyP Sep 5, 2013
d2c11a2
fix incorrect behaviour DefaultHttpProxyServer for persistent connection
Sep 11, 2013
cf78710
Added ProxySettingTest
Sep 11, 2013
21063cb
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 11, 2013
fae39f4
Add volume tests to HTML5VideoTest
Sep 11, 2013
2991be3
Add volume tests to HTML5AudioTest
Sep 11, 2013
9394170
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 11, 2013
8c54bd7
Add RemotePlayerTest for quick view
Sep 11, 2013
079d464
Upgrade Volume RemotePlayerTests for web view
Sep 11, 2013
4fa5005
Add VideoTest page for quick2
Sep 11, 2013
04df41f
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 11, 2013
7520f4e
a bit fix prev commit
Sep 12, 2013
38eefc5
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 12, 2013
ffa1c9c
add temp test for debug
nataliakoval Sep 12, 2013
aad6492
add temp test for debug
nataliakoval Sep 12, 2013
a4cdf92
add temp log for debug
nataliakoval Sep 12, 2013
43686fe
add temp log for debug
nataliakoval Sep 12, 2013
7674bad
add temp log for debug
nataliakoval Sep 12, 2013
c0f5e1c
remove temp log for debug
nataliakoval Sep 13, 2013
273f3e6
Add VideoTest for widget view
Sep 16, 2013
12cdb8f
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 16, 2013
e6dc701
Add AppcacheStatus command to QtWebKitDriver
Sep 16, 2013
4d3de5b
Delete useless sleep() in tests
Sep 16, 2013
904d032
Add java docs to Player interface
Sep 16, 2013
d7697e6
separated hybrid tests for qt4 and qt5
nataliakoval Sep 17, 2013
682c7d6
added WindowWithDeclarativeViewTest
nataliakoval Sep 17, 2013
3dedba7
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Sep 17, 2013
b254d88
added quick1 web view test page
AndriyP Sep 17, 2013
a8b1ed4
added test for qml web view
AndriyP Sep 17, 2013
a1d830a
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Sep 17, 2013
e0ce378
added test with embedded web view in quick1 test suite
AndriyP Sep 17, 2013
dfa938f
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 17, 2013
8ab602b
Change sleep time in HTML5VideoTag testsuite
Sep 17, 2013
90c0346
augmented EmbeddedWebViewTest
nataliakoval Sep 17, 2013
0353e26
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Sep 17, 2013
3dca9db
updated test content for quick1
AndriyP Sep 18, 2013
3463e07
augmented EmbeddedWebViewTest
nataliakoval Sep 18, 2013
5bae99d
augmented EmbeddedWebViewTest
nataliakoval Sep 18, 2013
8d3fadf
remove WindowWithQuickViewTest with hybrid tests for qt5
nataliakoval Sep 18, 2013
556d17e
Added WindowWithSeparatedDeclarativeAndWebViewsTest to hybrid tests f…
nataliakoval Sep 19, 2013
18058f4
Add test of touch commands for QtQuick2
dteteruk Sep 19, 2013
8b41042
Correct qml test file
dteteruk Sep 19, 2013
961bdb3
Uncomented Touch tests
dteteruk Sep 19, 2013
4f76b70
Add RemotePlayerSpeed command
Sep 19, 2013
b78ea2d
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 19, 2013
8f8b009
Add getSpeed and setSpeed tests
Sep 20, 2013
27e1a70
Delete implementation of AppCache from QtWebkitDriver
Sep 20, 2013
25e77de
Change default video format for HTML5 video test
Sep 20, 2013
cf3b316
Change testing script for seek command
Sep 20, 2013
e152e49
Touch Tests for Native WD
dteteruk Sep 24, 2013
fb9b6b8
added GraphicsWebView sanity tests|
AndriyP Sep 25, 2013
a102838
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Sep 25, 2013
13b9bf5
QtWebDriver implements ApplicationCache and BrowserConnection
nataliakoval Sep 27, 2013
b36ab93
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Sep 27, 2013
41aa28f
Divide NativeTests into 2 testSets - for Qt4 and Qt5
Sep 30, 2013
8e24a6d
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Sep 30, 2013
120ce19
Add Multitouch functionality and tests
dteteruk Oct 1, 2013
bed56ee
added takesElementScreenshot command
AndriyP Oct 1, 2013
7ff4c55
added 2 tests for element screenshot command
AndriyP Oct 1, 2013
4b71022
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Oct 1, 2013
667de41
added elementScreenshot test for widgets
AndriyP Oct 2, 2013
61ab881
test coomit
Oct 3, 2013
d417beb
a bit fix javadoc
nataliakoval Oct 4, 2013
c809d62
Fixed wrong constructor QtWebKitDriver
nataliakoval Oct 4, 2013
56d29ea
updated qml xpath element finding test
AndriyP Oct 7, 2013
2b4596a
Merge branch 'master' into selenium-2.35.0
Oct 7, 2013
9937549
moved HasMultiTouchScreen and MultiTouchScreen to java/client/src/org…
Oct 7, 2013
2a21a80
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Oct 9, 2013
59c1dbe
a bit fix for selenium-2.35.0
nataliakoval Oct 9, 2013
edd9e27
Fixed native test compilation after 2.35 merge
Oct 9, 2013
a890ee0
revert commit 733e58ac36fd1e21404d6af3a80abd680c77f6c9
nataliakoval Oct 10, 2013
d948ffd
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Oct 10, 2013
02e95a4
Ignore test in QmlVideoTest due to Qt issue
Oct 11, 2013
30e60e0
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Oct 11, 2013
ba5ab9a
added test for different view transitions
AndriyP Oct 16, 2013
b6a4774
Add valgrind report fo other type tests
Oct 18, 2013
482ffdd
Revert "Add valgrind report fo other type tests"
Oct 18, 2013
f45dfe1
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Oct 21, 2013
31b0b32
Renamed CISCO_Player command
Oct 21, 2013
43cae28
added hybrid capabilities to QtWebkitDriver
nataliakoval Oct 23, 2013
5c77799
added json-files for configuration grid with custom hybrid capabilities.
nataliakoval Oct 23, 2013
8bce136
added QtCapabilityMatcher class.
nataliakoval Oct 23, 2013
e9cd5be
added GridQtWebDriverTest to grid tests
nataliakoval Oct 23, 2013
22f0f28
RemotePlayer refactoring
Oct 23, 2013
55d3fc4
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Oct 23, 2013
689611b
added tests RequiredPlatform and testRequiredBrowserName to Capabilit…
nataliakoval Oct 23, 2013
58d9e99
added test custom hybrid capabilities
nataliakoval Oct 23, 2013
4d58ac6
add temp debug log
nataliakoval Oct 24, 2013
9463f48
Change timeout in widgetVideoTestSeek()
Oct 24, 2013
4040c47
remove some debug logs.
nataliakoval Oct 24, 2013
4e09fc5
Delete unused cast
Oct 24, 2013
62b091a
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Oct 24, 2013
2029c94
added test for color attribute
AndriyP Oct 25, 2013
1d9cb8b
added test canConfigureProxyWithDesiredCapability to hybrid tests and…
nataliakoval Oct 25, 2013
8b7c457
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Oct 25, 2013
a5ca723
Add ability to launch WD binary
dteteruk Oct 28, 2013
1c5ad82
Add ability to launch WD executable with command line arguments
dteteruk Oct 28, 2013
a7ec877
fixed incorrect behaviour DefaultToFIFOPriorityTest
nataliakoval Oct 30, 2013
c571d56
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Oct 30, 2013
e2268a5
added visualizer source command
Oct 18, 2013
ac047d1
added web visualizer tests
Oct 30, 2013
d5223ea
Visualizer documented
Oct 30, 2013
672253c
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Oct 31, 2013
ce70e05
added -cisco-visualizer-show-point command
nataliakoval Nov 4, 2013
ef0e53e
remove incorrect commands from CommandReport.xml
nataliakoval Nov 6, 2013
039bd6d
Add QtWebDriverVisualizerTest
Nov 7, 2013
1ed77fb
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Nov 7, 2013
4f31168
Fix QtWebDriverVisualizerTest compilation error
Nov 7, 2013
31bdc1d
Move Visualizer test to separated suite
Nov 8, 2013
41e4a32
added webdriver.CommandName.GET_SESSIONS command implementation
Nov 8, 2013
8f4a751
Removed redundant file
Nov 11, 2013
ddc6d8b
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Nov 12, 2013
0bba52b
fixed qml content type
AndriyP Nov 12, 2013
f8dbe8a
Fixed instability in QtWebDriverVisualizerTest
Nov 12, 2013
8fa83e1
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
Nov 12, 2013
548f1c7
Add back QtWebkitDriverTests.java deleted by mistake
Nov 12, 2013
bf6c3b6
remove incorrect commands from CommandReport.xml
nataliakoval Nov 6, 2013
7dbfa85
added some methods of access to CommandInfo
nataliakoval Nov 13, 2013
c3989d0
remove needless static methods and fields
nataliakoval Nov 13, 2013
acc47b1
ignore QTWEBKIT in default profiler log test
nataliakoval Nov 13, 2013
d4ca792
removed ReportSupplier
nataliakoval Nov 14, 2013
be5c91c
added getSupportedCommandMap() method to HttpCommandExecutor
nataliakoval Nov 14, 2013
2ebd527
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Nov 14, 2013
59e7bab
reindent file
Nov 14, 2013
613e79b
added waitForActiveElementToBe
Nov 14, 2013
f9b3d6d
Refactoring: MultiTouchScreen and HasMultiTouchScreen
dteteruk Nov 15, 2013
5683059
fixed incorrect behavior WindowWithSeparatedDeclarativeAndWebViewsTest
nataliakoval Nov 18, 2013
a332893
fixed missing waiting for active element to propagate to second webdr…
Nov 18, 2013
d301c23
added touch commands in webdriver js
Nov 18, 2013
92eca74
added test for native menus
AndriyP Nov 19, 2013
a7270a4
enabled DnD tests for widgets
AndriyP Nov 20, 2013
469052b
added tests capabilities 'windowposition' and 'windowsize' for widget
nataliakoval Nov 21, 2013
053e8f2
enabled drag&drop test for Quick
AndriyP Nov 22, 2013
c532fdd
extended HttpProfilerLogEntry
nataliakoval Nov 22, 2013
2174821
add StatisticCommands
nataliakoval Nov 22, 2013
575fa20
JUnit4TestBase refactoring
nataliakoval Nov 22, 2013
f792fb3
fix get remote logs for unsupported profiler's log
nataliakoval Nov 22, 2013
adf39f1
generation xml report refactoring
nataliakoval Nov 22, 2013
a5e0350
grouping visualizer tests
Nov 24, 2013
9a6c864
covered the case of double quote mark in attribute
Nov 24, 2013
a44045b
Add multitouch test for web
dteteruk Nov 22, 2013
c7c4ddc
Fixed webkit test, move touch test for WD
dteteruk Nov 25, 2013
00df182
Remove old touch test
dteteruk Nov 25, 2013
f375fa7
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Nov 26, 2013
a0911df
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Nov 26, 2013
d327ac8
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Nov 26, 2013
ad6f042
change executor for hybrid tests
nataliakoval Nov 27, 2013
63bf167
added createServise() with env map
nataliakoval Nov 27, 2013
abf4ba5
added testSystemProxy
nataliakoval Nov 27, 2013
ff37dee
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Nov 27, 2013
f821859
Change in rotate test in web
dteteruk Nov 28, 2013
1065ec4
added elementScreenshot test for webviews
AndriyP Nov 28, 2013
49232de
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
AndriyP Nov 28, 2013
9d2fe78
remove comment
nataliakoval Dec 2, 2013
11af09f
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Dec 2, 2013
28b6b86
fixed duplicating testcases in xml report
nataliakoval Dec 3, 2013
f2b0b6c
adjusted visualizer tests with regards to its reimplementation in QWe…
Dec 4, 2013
d1aacb4
added tests for restore desired size/position
nataliakoval Dec 11, 2013
62558c0
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Dec 11, 2013
57988f6
a bit extended testRestorePosition
nataliakoval Dec 12, 2013
a4b93de
give a chance to use AbstractBuilder to define custom builders
Dec 13, 2013
eae14cc
a bit fix testAppCacheStatus
nataliakoval Dec 16, 2013
034ef94
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Dec 16, 2013
2c55337
test will run WebDriver binary by itself
Dec 16, 2013
2c6de20
extracted some code from test function
Dec 16, 2013
947d252
added click in visualizer test
Dec 16, 2013
af2a7b4
added screenshot testing
Dec 16, 2013
328c71d
splitted code over files
Dec 16, 2013
81b1c85
added window list test and started extracting page object pattern
Dec 16, 2013
7a726ac
WebDriverJs: window related test
Dec 16, 2013
1027a57
WebDriverJS UI: logs and find tests
Dec 17, 2013
a0e48fd
WebDriverJs app: adjust test according to changes in UI
Dec 17, 2013
3424a24
tested more webdriverjs demo UI
Dec 18, 2013
3615936
moved EmbeddedWebViewTest to hybridtests
nataliakoval Dec 18, 2013
3016b4d
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Dec 18, 2013
08c71cb
set player in state 'stopped'
nataliakoval Dec 20, 2013
64a24f0
added player.stop() after video tests
nataliakoval Dec 24, 2013
34dd864
added player.stop() after video tests at nativetests
nataliakoval Dec 25, 2013
c578411
extracted source button click to the page class
Jan 3, 2014
d66b12f
added touch tests
Jan 9, 2014
7a851c0
added test for virtual keyboard
Jan 10, 2014
b81b085
extended virtual keyboard test
Jan 13, 2014
6bdf25a
trying to overcome fragility on CI server
Jan 14, 2014
7c5250f
additional trying to overcome fragility on CI server
Jan 14, 2014
3e326bc
print more info
Jan 14, 2014
c3b5672
Move VideoTests to the end of suite execution in order to avoid test …
Jan 17, 2014
f22372b
Revert "Removed *.iml"
Jan 17, 2014
8b13301
Merge branch 'selenium-2.39.0'
Jan 17, 2014
599717b
Remove cpp/IEDriver/Generated folder
Jan 20, 2014
e27d773
Fix error fatal: Unable to mark file cpp/iedriver/Generated/atoms.h
Jan 20, 2014
4635b34
removed dependency on jmock and easymock for quick tests
nataliakoval Jan 21, 2014
57ec777
fixed dependency on jmock and easymock for native tests
nataliakoval Jan 21, 2014
0ec1bef
wait for application to be ready
Jan 21, 2014
bfc6105
Ignore testSwitchingToMissingAlertInAClosedWindowThrows because of QT…
Jan 22, 2014
86b2a4b
Temporary ignore regression tests, todo: uncomment after MHA-863 fix
Jan 22, 2014
ff76bce
updated ignore handleFormWithJavascriptAction for selenium-2.39
nataliakoval Jan 28, 2014
e2e0f03
removed temporary ignore alert tests
nataliakoval Jan 28, 2014
9d365f2
ignore proxy tests which use pac
nataliakoval Jan 29, 2014
41c20af
temporary ignore test
nataliakoval Jan 29, 2014
a47c498
ignored test with not supported characters
nataliakoval Jan 29, 2014
fa2753a
a bit fix log
nataliakoval Jan 29, 2014
1e56461
temporary debug changes
nataliakoval Jan 30, 2014
480c90b
revert debug changes
nataliakoval Jan 30, 2014
37f5112
Ignored some tests on QTWEBKIT
Jan 30, 2014
830b7a7
minor change
Jan 30, 2014
785bbd0
delete ignore QTWEBKIT for testShouldTimeoutIfAPageTakesTooLongToLoad
nataliakoval Feb 5, 2014
d54dc33
updated ignore testCanClickAnImageMapArea on QTWEBKIT
nataliakoval Feb 7, 2014
dbd0b72
Check web page field update in WebDriverJs
Feb 8, 2014
6c832f3
added test for web page url retrieval upon session reuse
Feb 8, 2014
6f2552e
test for right clicks handling in visualizer
Feb 8, 2014
eee0163
ignored testRemotePlayerGetMute
nataliakoval Feb 13, 2014
559fc2b
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Feb 13, 2014
21031df
changed reason for ignore testRemotePlayerGetMute
nataliakoval Feb 13, 2014
de0725d
ignored some tests for player mute
nataliakoval Feb 13, 2014
ed816ef
change time of seeking video in native test suite
nataliakoval Feb 19, 2014
f927f8c
ignored HTML5AudioTagTest for player mute
nataliakoval Mar 5, 2014
bf3989e
ignored player seek tests
nataliakoval Mar 5, 2014
a0bd093
minor changes prev commit
nataliakoval Mar 5, 2014
dd0a685
ignored some failed tests, because ones ignored for chrome with same …
nataliakoval Mar 11, 2014
848f740
temporary commented testScroll()
nataliakoval Mar 12, 2014
fa9936b
added some code for future support mouse wheel command
nataliakoval Mar 19, 2014
216348c
Revert "temporary commented testScroll()"
nataliakoval Mar 20, 2014
6a5ca00
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Apr 10, 2014
332dfe5
Merge branch 'master' of https://portal-ua.globallogic.com/git/selenium
nataliakoval Apr 10, 2014
cd1e2c9
added 'reuseUI' caps
nataliakoval Apr 10, 2014
5e78b36
added tests for 'reuse_ui' caps
nataliakoval Apr 10, 2014
7d1e558
added CISCO license file header
vzhgl Oct 16, 2014
5c34cff
Merge branch 'selenium-2.43.1'
Oct 22, 2014
216b55c
TestWaiter class was deleted
Oct 22, 2014
1cc5603
fixed visualizer tests
Oct 23, 2014
bb663cb
fixed compilation errors in native/hybrid/quick tests
Oct 23, 2014
f4c1258
fixed NPE: we shall create wait too
Oct 27, 2014
6a4bcbe
ignore tests which are ignored for other WebKit based browser
Oct 27, 2014
8c7591a
ignore tests that require more than one session
Oct 28, 2014
9cb8d6c
Updated README with info on QtWebDriver
Oct 29, 2014
76b7266
Added Performance Logging test for QtWebkitDriver.
nataliakoval Feb 11, 2015
66a17f0
Fix for svg not clickables
Mar 31, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .git-fixfiles
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
git update-index --assume-unchanged cpp/prebuilt/**/*.so
git update-index --assume-unchanged cpp/iedriver/Generated/atoms.h
#git update-index --assume-unchanged cpp/iedriver/Generated/atoms.h
exit 0
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ javascript/node/selenium-webdriver/node_modules/
.idea/vcs.xml
.idea/misc.xml
.idea/workspace.xml
.idea/projectCodeStyle.xml
*.idea*
*.iml
.idea/dictionaries/
.idea/scopes/
.idea/qaplug_profiles.xml
Expand Down Expand Up @@ -66,4 +69,4 @@ GSYMS
GTAGS
.project
Gemfile.lock
/rb/.bundle
/rb/.bundle
4 changes: 0 additions & 4 deletions .idea/codeStyleSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/libraries/commons_collections.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/libraries/little_proxy.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# Selenium
# Selenium (branch with QtWebDriver)

Selenium is an umbrella project for various tools and libraries that
enable automation of web browsers. Amongst other things it provides
the support infrastructure for the [W3C WebDriver
specification](https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html),
that lets you write interchangable code for all major web browsers.

This fork of Selenium includes Java language bindings for [QtWebDriver]
(https://github.com/cisco-open-source/qtwebdriver), see [QtWebDriverService]
(https://github.com/cisco-open-source/selenium/blob/master/java/client/src/org/openqa/selenium/qtwebkit/QtWebDriverService.java) class.
It is possible to test QWidget, QWebView, QQuick1 (Qt4),
QQuick2 (Qt5) or hybrid applications using this driver. QtWebDriver features
are covered by series tests included in this repository. Information
how to run them is available below.

The project is made possible by volunteer contributors who have put in
thousands of hours of their own time, and made the source code freely
available under the [Apache 2.0
Expand Down Expand Up @@ -180,6 +188,23 @@ Note that the `test_chrome` target requires that you have the separate
[Chrome Driver](http://code.google.com/p/selenium/wiki/ChromeDriver)
binary available on your `PATH`.

To run QtWebDriver tests try:

```sh
./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
```

These targets require environment variable `qtwebdriver` to contain path
to the separate [QtWebDriver](https://github.com/cisco-open-source/qtwebdriver)
binary. Additional command line arguments to run this binary can be
provided with `qtwebdriverargs` environment variable.

If you are interested in a single language binding, try one of:

```sh
Expand Down
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,16 @@ task :test_remote => [
'//java/client/test/org/openqa/selenium/remote:client-tests:run',
:test_remote_server
]
task :test_qtwebkit => [
'//java/client/test/org/openqa/selenium/qtwebkit:test_qtwebkit:run'
]
task :test_wd_native_qt4 => [ '//java/client/test/org/openqa/selenium/qtwebkit/nativetests:nativetests_qt4:run' ]
task :test_wd_native_qt5 => [ '//java/client/test/org/openqa/selenium/qtwebkit/nativetests:nativetests_qt5:run' ]
task :test_wd_hybrid_qt4 => [ '//java/client/test/org/openqa/selenium/qtwebkit/hybridtests:hybrid_tests_qt4:run' ]
task :test_wd_hybrid_qt5 => [ '//java/client/test/org/openqa/selenium/qtwebkit/hybridtests:hybrid_tests_qt5:run' ]
task :test_wd_quick1 => [ '//java/client/test/org/openqa/selenium/qtwebkit/quick_tests:quick1_tests:run' ]
task :test_wd_quick2 => [ '//java/client/test/org/openqa/selenium/qtwebkit/quick_tests:quick2_tests:run' ]
task :test_wd_visualizer => [ '//java/client/test/org/openqa/selenium/qtwebkit/visualizer_tests:test_wd_visualizer:run' ]
task :test_safari => [ "//java/client/test/org/openqa/selenium/safari:test:run" ]
task :test_phantomjs => [ "//java/client/test/org/openqa/selenium/phantomjs:test:run" ]
task :test_support => [
Expand Down
82 changes: 82 additions & 0 deletions android/Android.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
<option name="REGENERATE_R_JAVA" value="true" />
<option name="REGENERATE_JAVA_BY_AIDL" value="true" />
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
<option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
<option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
<option name="CUSTOM_COMPILER_MANIFEST" value="" />
<option name="APK_PATH" value="" />
<option name="LIBRARY_PROJECT" value="false" />
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
<option name="GENERATE_UNSIGNED_APK" value="false" />
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
<option name="PACK_TEST_CODE" value="false" />
<option name="RUN_PROGUARD" value="false" />
<option name="PROGUARD_CFG_PATH" value="/proguard-project.txt" />
<resOverlayFolders>
<path>/res-overlay</path>
</resOverlayFolders>
<includeSystemProguardFile>true</includeSystemProguardFile>
<includeAssetsFromLibraries>false</includeAssetsFromLibraries>
<additionalNativeLibs />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../third_party/java/android/android-14.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="webbit" level="project" />
<orderEntry type="library" name="selenium1" level="project" />
<orderEntry type="library" name="guava-libraries" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../build/java/server/test/org/openqa/selenium/remote/server/test_qtwebkit.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../third_party/closure/bin/compiler-20120917.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="server1" level="project" />
<orderEntry type="library" name="selenium2" level="project" />
<orderEntry type="library" name="logging" level="project" />
<orderEntry type="library" name="remote1" level="project" />
<orderEntry type="library" name="remote" level="project" />
<orderEntry type="module" module-name="Client" />
<orderEntry type="module" module-name="Server" />
</component>
</module>

47 changes: 47 additions & 0 deletions android/android.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
<option name="REGENERATE_R_JAVA" value="true" />
<option name="REGENERATE_JAVA_BY_AIDL" value="true" />
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
<option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
<option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
<option name="CUSTOM_COMPILER_MANIFEST" value="" />
<option name="APK_PATH" value="" />
<option name="LIBRARY_PROJECT" value="false" />
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
<option name="GENERATE_UNSIGNED_APK" value="false" />
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
<option name="PACK_TEST_CODE" value="false" />
<option name="RUN_PROGUARD" value="false" />
<option name="PROGUARD_CFG_PATH" value="/proguard.cfg" />
<resOverlayFolders />
<includeSystemProguardFile>false</includeSystemProguardFile>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/production" />
<output-test url="file://$MODULE_DIR$/build/test" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="Android 4.0.3 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="server" />
<orderEntry type="library" scope="PROVIDED" name="android" level="project" />
<orderEntry type="library" name="webbit" level="project" />
<orderEntry type="library" scope="TEST" name="junit" level="project" />
</component>
</module>

6 changes: 6 additions & 0 deletions android/gen/org/openqa/selenium/android/app/BuildConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package org.openqa.selenium.android.app;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
16 changes: 16 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<project name="MyProject" default="dist" basedir=".">
<description>
simple example build file
</description>

<property name="report" value="./build/test_logs" />

<target name="test">
<junitreport todir="${report}">
<fileset dir="${report}">
<include name="TEST-*.xml" />
</fileset>
<report format="frames" todir="${report}/html" />
</junitreport>
</target>
</project>
Binary file added common/src/web/HTML5_Audio/mp3.mp3
Binary file not shown.
Binary file added common/src/web/HTML5_Audio/ogg.ogg
Binary file not shown.
Binary file added common/src/web/HTML5_Audio/wav.wav
Binary file not shown.
Binary file added common/src/web/HTML5_Audio/weba.weba
Binary file not shown.
15 changes: 15 additions & 0 deletions common/src/web/HTML5_Audio_Test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<!DOCTYPE html>
<html>
<body>

<audio id="audioPlayer" controls preload="auto">
<source src="HTML5_Audio/weba.weba">
<source src="HTML5_Audio/ogg.ogg">
<source src="HTML5_Audio/mp3.mp3">
<source src="HTML5_Audio/wav.wav">
Your browser does not support the audio tag.
</audio>

</body>
</html>
Binary file added common/src/web/HTML5_Video/big_buck_bunny.mp4
Binary file not shown.
Binary file added common/src/web/HTML5_Video/big_buck_bunny.ogv
Binary file not shown.
Binary file added common/src/web/HTML5_Video/big_buck_bunny.webm
Binary file not shown.
13 changes: 13 additions & 0 deletions common/src/web/HTML5_Video_Test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<body>

<video id="videoPlayer" controls>
<source src="HTML5_Video/big_buck_bunny.webm" type="video/webm">
<source src="HTML5_Video/big_buck_bunny.ogv" type="video/ogg">
<source src="HTML5_Video/videos/big_buck_bunny.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

</body>
</html>
2 changes: 1 addition & 1 deletion common/src/web/pageWithOnBeforeUnloadMessage.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<!--
<!--
This page differs from pageWithOnUnload.html in that it returns a string in the
event handler, which causes a different type of alert to appear (the "Stay on
page/Leave current page" alert).
Expand Down
Loading