← Back to team overview

sikuli-driver team mailing list archive

[Question #207946]: Exported Sikuli Test executable from local machine does not work on remote machine

 

New question #207946 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207946

Hi again,

So I have created a script using the Sikuli IDE and exported the test as an executable.  I am using Windows 7 - 64bit OS and internet explorer 8 for launching our web application.  Running the test on my machine works fine.

I'm testing to run the script on other machines since I need to pass this automated test to the developers in my project team and it launches the internet explorer but fails to type the url.  Basically, after it opens the IE, it does not do anything and eventually fails with message saying it cannot find an image(a Maximize button).

Here is my code (This is my first test case):
def test_01AIMLoginPage(self): 
        IE = App.open("C:\Program Files (x86)\Internet Explorer\iexplore.exe")
        wait(1)
        IE.focus()
        wait(1)
        type("l", KEY_CTRL)
        paste(AIMURL)
        type("\n")
        if(not exists("1346780946846-1.png")): 
            #popup("Before Clicking the Maximize button")
            click("1346780969393-1.png")
        else:
            popup("InfoView Page Already Maximized")
        assert(exists("gwSAPBusines-1.png"))

The remote machine that I am testing this script is a Windows 2008 Server machine - 64bit and IE 8.
I have installed Sikuli on the remote machine and I have also extracted unittest2 package to the sikuli/LIB folder.
Am I missing something?

Thanks,

sincerely,

Alex Yi



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.