I'm writing scripts on Java with Selenium WebDriver. To navigate with Windows Windows and other programs I decide to use sikuli-script in my project. But, I didn't think what will be if these scripts will run in other mashines on MAC OS, Linux, there will be other pictures and my script will crush. First what I think it's take pictures on all mashines and put in different folder for different mashines. For example I will have 3 folder for 3 Operation System: Windows, Linux, MAC. And if test will start on Linux it will take "navigate pictures" from Linux folder, if MAC or Windows - the same (from MAC or Windows folders). But may be there's some better decision of it?
Yeah, and don't write me to use AutoIT, cus it's not working in my case, because I need control Java app on Windows, and AutoIT can't work with it.