-
Notifications
You must be signed in to change notification settings - Fork 58
Pre-built binaries for Windows version : WebDriver-win64-Qt5.7 ? #41
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
Comments
Hi, 1-Updated the release with win binaries. Qt 5.6 & 5.7. 2-No release plan or roadmap per se. This project is in maintenance phase. |
Thanks! There are good instructions (2). If I understood correct, I should change/modify my env variables (path) to point QT environment QT 5.7... and Qtwebkit disabled -> build QTwebdriver project with Microsoft Visual Studio. |
Yes this is correct.
Then build.bat will create the wd.sln that you can open in MSVC and the build the exe. |
I have Windows 7 64-bit Operation System I would like to test that my environment is ok "WebDriver_noWebkit.exe + QT5.7.0"and after I will build my QT application main.c with #ifdef WD_TEST_APPL_SELENIUM and I will add my application configuration file: I tried to use pre-binary from WebDriver-win-Qt5.7-cisco-cmt-1.3.3.zip.zip
What should I do next? |
The binaries uploded were 32 bits. |
I got also webdriver.log text document. It looks that server starts OK...: [13140793176.583][INFO]: *** Webdriver **** [13140793176.592][INFO]: Server::Start() [13140793176.592][FINE]: >>>>>>>>>>>>> Server::Start routes: >>>>>>>>>>> [13140793176.592][FINE]: /status [13140793176.592][FINE]: /log [13140793176.592][FINE]: /session [13140793176.592][FINE]: /session/* [13140793176.592][FINE]: /sessions [13140793176.592][FINE]: /session/*/timeouts [13140793176.592][FINE]: /session/*/timeouts/async_script [13140793176.592][FINE]: /session/*/timeouts/implicit_wait [13140793176.592][FINE]: /session/*/log/types [13140793176.592][FINE]: /session/*/log [13140793176.592][FINE]: /session//window//size [13140793176.592][FINE]: /session//window//position [13140793176.592][FINE]: /session//window//maximize [13140793176.592][FINE]: /session/*/title [13140793176.592][FINE]: /session/*/forward [13140793176.592][FINE]: /session/*/back [13140793176.592][FINE]: /session/*/refresh [13140793176.592][FINE]: /session/*/screenshot [13140793176.592][FINE]: /session//element//screenshot [13140793176.592][FINE]: /session/*/keys [13140793176.592][FINE]: /session//element//click [13140793176.592][FINE]: /session//element//hover [13140793176.592][FINE]: /session/*/click [13140793176.592][FINE]: /session/*/doubleclick [13140793176.592][FINE]: /session/*/buttondown [13140793176.592][FINE]: /session/*/buttonup [13140793176.592][FINE]: /session/*/moveto [13140793176.592][FINE]: /session/*/wheel [13140793176.592][FINE]: /session//element//clear [13140793176.592][FINE]: /session//element//value [13140793176.592][FINE]: /session//element//submit [13140793176.592][FINE]: /session//element//text [13140793176.592][FINE]: /session//element//name [13140793176.592][FINE]: /session//element//selected [13140793176.592][FINE]: /session//element//enabled [13140793176.592][FINE]: /session//element//displayed [13140793176.592][FINE]: /session//element//location [13140793176.592][FINE]: /session//element//location_in_view [13140793176.592][FINE]: /session//element//size [13140793176.592][FINE]: /session//element//attribute/* [13140793176.592][FINE]: /session//element//css/* [13140793176.592][FINE]: /session//element//equals/* [13140793176.592][FINE]: /session/*/element [13140793176.592][FINE]: /session/*/elements [13140793176.592][FINE]: /session//element//element [13140793176.592][FINE]: /session//element//elements [13140793176.592][FINE]: /session/*/frame [13140793176.592][FINE]: /session/*/element/active [13140793176.592][FINE]: /session/*/window_handle [13140793176.592][FINE]: /session/*/window_handles [13140793176.592][FINE]: /session/*/window [13140793176.592][FINE]: /session/*/source [13140793176.592][FINE]: /session/*/url [13140793176.592][FINE]: /session/*/execute [13140793176.592][FINE]: /session/*/execute_async [13140793176.592][FINE]: /session/*/application_cache/status [13140793176.592][FINE]: /session/*/browser_connection [13140793176.592][FINE]: /session/*/alert_text [13140793176.592][FINE]: /session/*/accept_alert [13140793176.592][FINE]: /session/*/dismiss_alert [13140793176.592][FINE]: /session/*/cookie [13140793176.592][FINE]: /session//cookie/ [13140793176.592][FINE]: /session/*/local_storage [13140793176.592][FINE]: /session//local_storage/key/ [13140793176.592][FINE]: /session/*/local_storage/size [13140793176.592][FINE]: /session/*/session_storage [13140793176.592][FINE]: /session//session_storage/key/ [13140793176.592][FINE]: /session/*/session_storage/size [13140793176.592][FINE]: /session/*/location [13140793176.592][FINE]: /session/*/touch/click [13140793176.592][FINE]: /session/*/touch/down [13140793176.592][FINE]: /session/*/touch/up [13140793176.592][FINE]: /session/*/touch/move [13140793176.592][FINE]: /session/*/touch/scroll [13140793176.592][FINE]: /session/*/touch/doubleclick [13140793176.593][FINE]: /session/*/touch/longclick [13140793176.593][FINE]: /session/*/touch/flick [13140793176.593][FINE]: /session/*/orientation [13140793176.593][FINE]: /xdrpc [13140793176.593][FINE]: /session//element//-cisco-player-element/state [13140793176.593][FINE]: /session//element//-cisco-player-element/volume [13140793176.593][FINE]: /session//element//-cisco-player-element/seek [13140793176.593][FINE]: /session//element//-cisco-player-element/mute [13140793176.593][FINE]: /session//element//-cisco-player-element/speed [13140793176.593][FINE]: /session/*/-cisco-visualizer-source [13140793176.593][FINE]: /session/*/-cisco-visualizer-show-point [13140793176.593][FINE]: /session/*/touch/-cisco-pinch-zoom [13140793176.593][FINE]: /session/*/touch/-cisco-pinch-rotate [13140793176.593][FINE]: /-cisco-shutdown [13140793176.593][FINE]: /shutdown [13140793176.593][FINE]: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
Yes, you're all set and can use wd
No need if you run from Qt command prompt |
Where will I find example project for Windows QT application? It looks that it is not so easy to setup with QTwebdriver... I build clean example and I run it with debugger. It works OK. Option 1: WebDriver attaches to the running application Instructions:
|
Question 1 Check these examples, then let me know
Not necessatry. Headers.h brings all the headers need by WD |
If you check Headers.h: I haven't these headers in example of QT5.7. If I tried to compile project : C:\Qt\Examples\Qt-5.7\designer\calculatorform . Have you any example of Windows QT applicaton project with integrated QTwebdriver configuration ? Have you tried to compile it? If you send example QT project to me. I could open it with my QT Creator and I could try compile it. |
To all these questions, yes. Compiles and run. https://github.com/cisco-open-source/qtbase/pull/1/files If you do option 1 the WD libs an header are available. |
I sent private email with my QT example source code to you (hekra01) Could you double-check these files, please? I don't find reason, what does it go wrong? |
I'll look into it
You can try on Linux directly with the example i provided previously, doing the same on win is just a matter of tools. |
msvc 2017 not supported by Qt 5.7 |
Now I tried with MSVC 2015 32-bit (x86). Microsoft Visual Studio Community 2015 Installed Version: Community Visual Basic 2015 00322-20000-00000-AA223 Visual C# 2015 00322-20000-00000-AA223 Visual C++ 2015 00322-20000-00000-AA223 Application Insights Tools for Visual Studio Package 7.0.20622.1 |
I solved it. The problem was that some projects have been used wrong target platform version. 10.0.xxx Next I can start to integrated QTWebDriver libraries to QT application project. |
I tried to add WD libraries to my QT calculator project. I installed qt-opensource-windows-x86-msvc2015-5.7.0 from https://download.qt.io/official_releases/qt/5.7/5.7.0/ QT Creator + WD driver libraries ( QT 5.7 MSVC2015 32bit ): main.obj:-1: error: LNK2019: unresolved external symbol "public: void __thiscall CommandLine::ParseFromString(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (?ParseFromString@CommandLine@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@v?$allocator@_W@2@@std@@@z) referenced in function "int __cdecl wd_setup(int,char * * const)" (?wd_setup@@YAHHQAPAD@Z) |
same error here. Seems like a compatibility issue with qt because of the /Zc:wchar_t- configuration. cmd_line.ParseFromString(::GetCommandLineW()); in Headers.h. Instead I set the options i need directly using cmd_line.AppendArg(argument); Anyway a fix would be good. By the way I am using Qt5.9.1. |
Done: 6aa0f01 |
thank you. It works on 5.9.1 |
https://github.com/cisco-open-source/qtwebdriver/releases/tag/WebDriver-cisco-cmt-1.3.3
There are pre-built binaries:
Linux-versions:
WebDriver-linux64-Qt5.7
WebDriver-linux64-Qt5.6
WebDriver-linux64-Qt5.5
But there is only: Windows version: WebDriver-win64-Qt5.5
I noticed that at first it became Linux version for new QT release and after it will be published Win version….
Questions:
The text was updated successfully, but these errors were encountered: