Automated GUI Testing for Qt WebKit application [closed] - qt

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm writing a Qt application that uses a QWebView to host the UI. Similar to the ImageAnalyzer example in the Qt SDK samples.
I would like to test this UI using an automated method. A scripting interface like Selenium Web-Driver would be preferable.
Any recommendations/examples on how to do this?
Edit:
I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change.
Tools like Sikuli (which are appearance based), don't satisfy this criterion. Note: I believe those are great for quick one-off scripting, they just don't work very well across many different platforms/configurations and over time for my purpose.

There is a WebDriver implementationfor Qt: https://github.com/cisco-open-source/qtwebdriver
Using Selenium tests and this WebDriver you can automate QtWebkit, widget and QML applications

So, I'm not sure this would satisfy your "Qt application that uses a QWebView" requirement, but when you say "I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change." I can think of WatiR (which is a "browser driver").
It's open source so perhaps you could adapt it to drive your application.
There is also a .Net version called WatiN, but then you are restricted to Windows.

Related

How To Test Multiplayer Games Unity Without Build The App? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
What is the best way to test a multiplayer network game in unity without build the app ?
It is something like in editor unity there is two editor which one is a copied editor. So we can login in one editor and login in second editor with different user. Is there a tool like this ?
Thanks
Dennis
Is there a tool like this ?
As far as i know, there is not.
What is the best way to test a multiplayer network game in unity
without build the app ?
When i test, I usually build the game, and then run another instance in the editor, on separate monitors. That should work like normal.
But you need one build. :/
If you are using the built in Unity Networking
Host from the editor
Connect the build as a client
Many issues can be resolved just by changing the host, and in these cases you don't have to rebuild.
That being said, don't forget to rebuild every now and again to be safe. And remember, sometimes you change things that you don't realize affect the client.
I would suggest ParallelSync for anything Unity 2018+, it's basically the closest successor to uecho. You can add it as a package in Unity and it will copy your project to a new folder and run however many instances you require.
https://github.com/VeriorPies/ParrelSync

Test Automation with NetSuite [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Has anyone tried using an automated test tool (like Chai or Selenium) that can be used to run automated test cases within NetSuite?
For example, I want to create an automated test case that would test if a Client Script was setting the correct values, etc.
TIA
We build our SuiteApp as an npm package that uses mocha with sinon. As much as possible, we try to isolate our business logic code from any NetSuite APIs, then we automate unit testing on the isolated logic. We use sinon to mock NetSuite APIs where we can't avoid them. We don't worry about testing the actual NetSuite API methods, as if those are broken, there's not a lot we can do to fix them anyway.
We tried Selenium several years ago (2013 maybe) for automated testing in the browser, but it could never seem to record the macros correctly and would always result in broken test suites. Perhaps both Selenium and the NetSuite DOM have improved since then; would certainly be worth investigating.
We have created an open source tool for unit testing suite scripts, it allows you to test your scripts outside of netsuite:
https://github.com/3EN-Cloud/netsumo

PyQt documentation offline [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does anyone know if an offline version of the latest PyQt4 and PyQt5 documentation is available somewhere on the Internet? I don't want to depend on whether I have a working Internet connection or not. I can of course grab it using wget or similar but I would prefer if I can do that the "normal" way (a PDF version would also be nice).
Note: Mny things are covered by the official Qt documentation (C++) however there are also things specific to Python. An example for such a treat is the fact that in C++ there are functions which have multiple overloaded versions while in Python such a thing is not possible. I find myself ever so often looking into the PyQt docs to see how this and that Qt thing looks like in Python.
The PyQt source releases contain the documentation in doc/html.
You can also use the Python builtin help() on a PyQt object - often that way you'll get more relevant information (like the exact Python signatures) compared to the documentation.
Qt comes with a dedicated program, called Qt Assistant, that can be used to browse the documentation off-line. I use it regularly. It's C++ only obviously.
I don't know where it is installed on your system but it may very well be in the same directory as the Qt Designer.

Eclipse RCP/RAP: Can anyone recommend a data-binding framework? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 months ago.
Improve this question
I have been given the task of porting an Access application to Eclipse RCP/RAP. The databases will remain unchanged, just the front-end will be redeveloped.
Having spent some away from eclipse development, I'm wondering what kind of support is available for data-binding to databases. What about controls such as DataGrid (edit/insert/delete rows), multi-line list items and so on?
What frameworks are there? Which ones are still being actively developed?
Thanks!
I'm not aware of any possibility to bind widgets directly to a database. You'll need to build a Java representation of your database models. Depending on the size of your project, Hibernate or EclipseLink will be preferable to JDBC.
JFace provides data binding that is easy to include into an RCP application. And with Grid and NatTable, there are two SWT implementations of advanced tables available, but I don't know how well they are supported by JFace data binding. Check the nebula project for other advanced widgets.
Eclipse Riena also provides advanced data binding (by conveniently wrapping JFace), but this is only one of many features. There is an experimental implementation that allows to run Riena applications on RAP.

ASP.NET A/B Split Testing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does anyone know of any good resources (books, articles, existing software, etc...) for learning how to implement A/B split testing in ASP.NET?
FairlyCertain is an AB Testing library for ASP.NET that's worth checking out. It drops seamlessly into your project and doesn't require any of the javascript voodoo that Google Website Optimizer uses (which kills your site's performance and SEO all in one shot).
I've been using it for a few of my projects for several months now with good success.
I have just written a short article describing a technique for doing split testing in ASP.Net MVC. You can check it out here
It will not take much work to make it work with traditional asp.net.
For anyone running into this post again, you may find this useful:
http://github.com/htayebi/AbTestMaster
It's an open source a/b testing framework for ASP.NET MVC which allows you to write the results either in sql database or csv file. You can download the nuget package or if interested, go through the code in github.
Google website optimizer?
http://www.google.com/websiteoptimizer/b/index.html
http://www.google.com/support/websiteoptimizer/bin/topic.py?hl=en&topic=14309
http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&answer=71976
I suggest you use Display Modes to achieve A/B testing.
But Display Modes just support simple problems by default.
If you already implement Display Modes in some other scenario. You can consider DisplayModeMatrix (just google it). It helps you use Display Modes more efficiency.
https://www.nuget.org/packages/DisplayModeMatrix/
Wth Display Modes you can simply delete/rename views after A/B testing to clean up your project.

Resources