Skip to main content

Posts

Showing posts with the label Handle dialogs selenium Linux Mac Windows

Sikuli - Handling Dialogs across Platforms

Hi all, I am writing this post as I came to know this feature is some bit useful for Selenium Users who are running scripts across Windows, Linux and Mac platforms. It is some difficult to handle dialogs while automating browser applications using selenium. Though its easy to automate those dialogs using native supported EXEs like AutoIt for Windows, dogTail for linux, ATOmac( http://pypi.python.org/pypi/atomac ) and AppleScript for Mac, we need a common tool which can do the same operations in all platforms to ease the work. So we are going to Sikuli As its supporting all platforms, its not using any API to automate the dialogs and controls rather its using images of controls to do the operations. It provides IDE to do the scripting on all OSs. Also no need for typing and own scriting. IDE itself provides the flow like 1. Find / Wait / Exists for some image 2. Do KeyBoard or Mouse Operations on that image Finally you can export or save the script by .sikuli extension. T...