O'Reilly logo

Selenium Testing Tools Cookbook - Second Edition by Unmesh Gundecha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating a non-web UI in Selenium WebDriver with AutoIt

Selenium WebDriver is a pure browser automation API and works with HTML/web elements. It does not support the native UI built with C++, .NET, Java, or any other desktop technologies. It also does not support Flex, Flash, or Silverlight native controls out of the box.

While testing applications that interact with the native UI, it becomes difficult to automate the functionality involved. For example, the web application provides a file upload feature that invokes the native OS UI for selecting a file.

We can use tools such as AutoIt to handle the native UI. AutoIt is a freeware BASIC-like scripting language designed to automate the Windows GUI and general scripting. Using AutoIt, we can simulate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required