Quantcast
Channel: UiAutomation Releases Rss Feed
Viewing all articles
Browse latest Browse all 20

Updated Release: UIAutomation 0.8.7 Beta 2 (фев 24, 2014)

$
0
0
This release continues to deliver the new elements' object model. Now, there are available three property holders (i.e., objects that are visible as properties that in turn hold a number of methods and properties):
the Keyboard property holder:
$element.Keyboard.TypeText("any text");
(read more here the Keyboard property)

the Mouse property holder:
$element.Mouse.LeftButtonClick();
$element.Mouse.LeftButtonDoubleClick();
$element.Mouse.RightButtonClick();
(read more here the Mouse property)

the Control property holder:
$element.Control.InvokeContextMenu();
$element.Control.Click(10, 10);
(read more here the Control property)

Also, this release introduces new logging that is (expected to be) much more useful than any previous. The new logger represents cmdlet calls with parameters (elements are shown as hashtables) and method/properties of the new object model.
By default, the log is here: $env:USERPROFILE\Documents\UIA.log. You can set file name and the path by issuing the following command (there is no cmdlet right now):
[UIAutomation.AutomationFactory]::GetLogger("C:\1\new_logger_on_a_new_place.txt");

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>