A
A
Archer_kzn2014-06-10 21:20:12
Automation
Archer_kzn, 2014-06-10 21:20:12

Automated testing Windows 8 WinJS based app?

How to automate GUI testing of a Windows 8 WinJS application?
Do not offer Ranorex and RIATest, because the first is paid, and the second tightly hangs the system when trying to write a script. (and also paid)
CodedUI can only "touch" XAML based apps.
Now I use Jasmine tests, which are loaded into a separate (invisible for all configurations except the test one) section, and are executed by pressing a special button. This approach has disadvantages: there is no nativeness of actions, i.e. all actions are done by javascript and happen instantly. UI does not have time to work out such a speed of interaction. When placing slips, the application freezes for this time, and sometimes it does not work out the actions of the tests correctly. Also, with this approach, there is no way to hook tests to CI.
Similarly, you can use QUnit, but unlike jasmin, it needs the "qunit-parameterize" addition for DDT tests, and the "qunit-metro" version for proper display in the application.
Maybe it's possible to run a VS emulator with an application, and how to control it programmatically?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question