5

Reporting tool depends on the artifacts of the unit testing framework (e.g. NUnit, JUnit, TestNG), not on the testing library used (Selenium, Winium or Protractor). So you can use the same reporting tool for desktop application testing as for the web app. It might be Allure, ReportPortal, ExtentReports or any other tool that you prefer.


3

Appium has the ability to automate Windows PC Desktop apps. This driver relies on a project from Microsoft called WinAppDriver, which is an Appium-compatible WebDriver server for Windows Desktop apps (and more in the future). WinAppDriver is often abbreviated "WAD". WAD is bundled with Appium and does not need to be installed separately. The Windows Driver ...


3

Usually it isn't required to do performance testing of desktop applications as they're being used by 1 user only hence visual experience is quite enough. However if desktop application relies on backend server, i.e. it does network communication over HTTP protocol using an API or displays data from RDBMS you might want to test what will be the behaviour of ...


3

I always have used JMeter for Performance Testing. On this question, I think watching this tutorial may help you for client-side performance testing: https://www.thoughtworks.com/insights/blog/client-side-performance-testing-tutorial


2

There are other recorders for windows Desktop application. like: Coded UI, specially good with the MS .Net desktop applications Ranorex, biggest independent commercial automated test supplier Personally I do not like the "records and playback", it leads to fragile scripts that easily break. You will notice that maintaining tests like this will costs a lot ...


2

SikuliX automates anything you see on the screen of your desktop computer running Windows, Mac or some Linux/Unix. It uses image recognition powered by OpenCV to identify and control GUI components. This is handy in cases when there is no easy access to a GUI's internals or the source code of the application or web page you want to act on.


2

A lot of stuff covered by OWASP applies to applications as the line between desktop app and web app blurs. Things like SQL injection, command injection, object injection to name a few injection attacks. I once tested a .Net MVC app by uploading a PHP file and tried to see if the code was executed or presented as raw text when viewed. As far as tools you ...


2

OWASP is for the web, it is in the name. For desktop applications, the only one I know of is IBM Security AppScan. A scanner is not going to find everything. The best thing is hiring a professional. At a previous job we hired Accunetix and I learned a lot by reproducing the issues they found (so I could make sure they were fixed). Check out this SO question ...


2

Check Robot Framework. It does what you need and can be harnessed to do a lot more too. After initial setting up it is easy to manage. It has nice reports, integrates nicely to Jenkins and also to Test management tools if you need broader view on how testing is connected to user stories / requirements etc.


2

I recommend pywinauto. I used it to automate Windows GUI applications. Very easy to use. Quick example from the documentation: from pywinauto.application import Application # Run a target application app = Application().start("notepad.exe") # Select a menu item app.UntitledNotepad.menu_select("Help->About Notepad") # Click on a button app.AboutNotepad....


2

Performance Testing of Desktop applications is oxymoron. Desktop application is used by one, at most two persons at a time. So if generating a report takes 5 seconds it will take 5 seconds no matter how many users are pushing the button. It takes 9 month for a woman to born a baby. 3 women won't produce a baby in 3 month. 0.5 woman won't give you a baby in ...


2

For Windows UI automation testing, you can use pywinauto: https://github.com/pywinauto/pywinauto It has a strong community, and it's developer Vasily Ryabov is active on StackOverflow


2

Oracle Forms applications are based on Java. I know of some who are using Marathon to automate oracle forms applications.


2

Set mouse coordinate as 0 using set option: Auto It Set Option 'MouseCoordMode' 0 Auto It Set Option 'GUICoordMode' 0 Auto It Set Option 'PixelCoordMode' 0 https://www.autoitscript.com/wiki/AutoItSetOption MouseCoordMode Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current ...


1

I have experience with Sikuli, TestComplete, and have evaluated Ranorex. TestComplete and Ranorex are about the same price range. Of the two, I was able to get TestComplete to interact with my AUT faster than Ranorex. Both have a UI-based scripting front end that can be augmented with scripts in your language of choice. TestComplete scripts can be written ...


1

Since you rule out tools that are limited to Windows GUI you seem to be in need for a multi-platform tool. Maybe even a tool that can deal with non-standard UI controls. In case your application developers based the GUI on their own set of controls (without standard APIs) there are two possible approaches to make the automation work: Direct access to ...


1

I write test suites in Ruby using Rspec and Selenium. This does not mean that I must use Ruby to write automated tests for code written in Ruby. There's no need to choose your automation tool based on the fact that your application is written in Ruby. However, if you are looking for automation tools/frameworks for automating tests in Ruby then Rspec with ...


1

Before a couple of months, I did some Desktop automation using Sikuli. Sikuli may be helpful to you Here I mentioned few Practical Uses of sikuli Using Sikuli we can automate desktop applications. It provides, simple API. i.e. all methods can be accessed using screen class object. It can be easily integrated with Selenium and all other tools. Most of the ...


1

I’m building something similar using Python and Proboscis (nose with TestNG features like inter test dependencies). Proboscis allows setup and tear down functions globally and per class


1

As an alternative to feature-based testing, you can also test your SUT based on processes/use cases. Another way is to group coherent test cases into test suites. Then, it's OK to have dependencies between test cases, but test suites should still be independent. However, IMHO, all these things are suboptimal—for all the reasons you've already mentioned. ...


1

For a streaming application image-based testing (e.g. Sikuli) is probably the only way you can test it with automation. This as the probably only the image is send to the view and the mouse and keyboard clicks. There are a couple of tools that can do this. I would do your full regression testing like this. It might be a lot of maintenance on the tests, as ...


1

As the question is generic, here is a generic answer: Web: Client side browser performance measurements should be established to understand the load on the client side (each browser is a separate client and needs to be treated as such) Web Server and database/other back end parts should be measured to assure proper server performance Network performance ...


1

No, AutoIt does not have an Ubuntu version. It is a windows only automation tool. The Ubuntu team has their own test automation pages, it also lists some tools they use to test their own application. Other alternatives: https://askubuntu.com/questions/822075/what-is-the-equivalent-tool-for-autoit-in-ubuntu


1

I would check out Sikuli http://www.sikuli.org/. It works on image recognition so it would work on Windows and non-windows so long as the target image is the same. I have found that in general it works really well for anything desired.


1

Do you know of any practice of using such macro recorder? and the result was a complete failure since it required code re-touch on every recorded script (of almost every aspect, desktop resolution & etc.), it's a complete waste of time. We make good use of macro recorders, as they allow a very fast creation of test cases, even for non-programmers. ...


1

Along with other answers as mentioned, i will suggest Jasmine framework for spectron. I have tried mocha but faced some issues during automation.


1

You can find a code example on the official Github page To get started, have a look at this code snippet: # Install Spectron $ npm install --save-dev spectron A simple test to verify a visible window is opened with a title var Application = require('spectron').Application var assert = require('assert') var app = new Application({ path: '/MyApp' }) app....


1

Most caches work as following: Data is requested, retrieved and stored in the cache Data is displayed Next time data is requested the cache is checked if it has data, its max lifetime is checked, if cache is still valid data is displayed from cache, else data is retrieved again. Here some steps to check the above described cache is working Cached: Check ...


1

Talk to developers to give the item permanent id. Not sure why name is changing, in my experience ID is usually dynamic, generated by framework and name is left alone. If you cannot get permanent ID, or name, try adding CSS class (and locate element by class). Or use CSS-style locators. Failing that, you are in for a world of pain: forever-flaky XPath. :-...


1

Although I haven't tried Desktop application performance testing on my own, but like you, I too had same question (long back) and I ended up with an answer like this. It depends how your desktop application will generate load? Is there any Network connection involved or any database connectivity involved, if yes then you can put load over the network or ...


Only top voted, non community-wiki answers of a minimum length are eligible