UIAutomation 0.8.0

Rating: No reviews yet
Downloads: 108
Released: Sep 21, 2012
Updated: Sep 21, 2012 by xinliu
Dev status: Beta Help Icon

Recommended Download

Application UIAutomation 0.8.0 .NET35
application, 188K, uploaded Sep 21, 2012 - 46 downloads

Other Available Downloads

Application UIAutomation 0.8.0 .NET40
application, 184K, uploaded Sep 21, 2012 - 24 downloads
Application UIAutomation 0.8.0 for Metro testing
application, 558K, uploaded Sep 21, 2012 - 13 downloads
Source Code UIAutomation 0.8.0 sources
source code, 1426K, uploaded Sep 21, 2012 - 8 downloads
Example UIAutomation 0.8.0 samples
example, 41K, uploaded Sep 21, 2012 - 17 downloads

Release Notes

This release introduces

Metro UI testing:

(P1) unattended runs of scripts

UIARunner.exe is a utility that runs your PowerShell scripts from GUI as well as from command-line. Regarding unattended runs, UIARunner requires at least one file: the script you are running.
Nonetheless, there is also the possibility to use a 'profile' or 'autoexec' file (functioning similarly to autoexec.bat in elderly versions of Windows or the auto_open macro in MS EXcel) called UIARunner.ps1. Package includes the file, allowing you to run scripts as soon as you downloaded the package.
The command-line is :
UIARunner .\script1.ps1
UIARunner C:\[path]\script2.ps1
The test results are stored to the UIARunner_report.csv file in the folder of the application.

(P2) bug fix in UIARunner

(P3) bug fix in UIARunner

Windows UIAutomation:

(R) the -SearchCriteria parameters in Get-UIAControlType cmdlets

(R) bugfix

  • the Save-UIAScreenshot cmdlet doesn't requires the -Description parameter. Parameters -Path and -Name work (fixed)

(P5) bugfix

  • if a control is not found by MS UI Automation, search by Win32 API returns all the controls with handles (fixed)
  • UIAutomation.Preferences::AfterFailTurboTimeout was passed to the release not working (because of the tight release schedule) - fixed

(P5) speeding up the test suite if a control's gone

The -IsCritical parameter tells the test that if a Get- or Wait- cmdlet fails, the default timeout will be set to the UIAutomation.Preferences::AfterFailTurboTimeout value and tests will work faster unitl a control or a window will be get successfully.

(P4) output as a collection

Get-UIAWindow and Get-UIAControlType cmdlets return all objects that match the condition (-Name, -Class, and/or -AutomationId)

(P4) the Search- cmdlets are switched off

The Search-UIAControl and Search-UIAWindow cmdlets are now obsolete and hidden from the public. Consider using Get-UIAWindow and Get-UIAControlType instead. If you need them back, please explain the need in the forum.

(P1) automated test result generation

Each cmdlet reports the result as a test case
if parameter [UIAutomation.Preferences]::EveryCmdletAsTestResult is set to $true

(P1) UIARunner in the graphical mode shows the test results

- (P2) UIARunner shows date/time, status, name of a test result, line number, pipeline position, error message and the path to a screenshot if available

(P1) UIARunner in the graphical mode generates the same report as in the command-line mode

(P2) UIAutomation, UIARunner, UIAutomaitonSpy now can display two squares over controls (over the control of interest and over its parent) what should help the operator to understand the hierachy of controls

(P2) UIAutomationSpy reads autoconfig script

- UIAutomationSpy read the UIAAutomaitonSpy.ps1 file if it's represented in the application's folder. The file is the same as UIARunner.ps1 and effective for running scripts from the Script tab

the satellite product TMX

(P1) new sorting cmdlets

now return test results, test scenarios, test suites sorted by
- date/time (test results)
- time spent (test suites, test scenarios, test results)
- Id (test suites, test scenarios, test results)
- Name (test suites, test scenarios, test results)
- Pass rate, i.e. pass/all ratio (test suites, test scenarios)
- Fail rate, i.e. fail/all ratio (test suites, test scenarios)
and filtered by the following conditions:
- name (test suites, test scenarios, test results)
- passed (test suites, test scenarios, test results)
- failed (test suites, test scenarios, test results)
- not tested (test suites, test scenarios, test results)
- known issue (test suites, test scenarios, test results)

P1 == Preview1
P2 == Preview2
P3 == Preview3
P4 == Preview4
P5 == Preview5
R == Release

Reviews for this release

No reviews yet for this release.