使用python和SciTE进行windows身份验证

使用python和SciTE进行windows身份验证,python,jenkins,selenium-webdriver,ubuntu-16.04,scite,Python,Jenkins,Selenium Webdriver,Ubuntu 16.04,Scite,我正在尝试在Ubunt服务器16.04上通过Jenkins运行selenium脚本,而不使用GUI 在打开网页之前,需要进行windows身份验证。我用AutoIT为Windows创建了它,它运行良好,但现在我必须通过Ubunt服务器上的Jenkins执行,并出现以下错误: Using deprecated data structure for setting timeouts java.io.IOException: Cannot run program "/usr/share/GlobalS

我正在尝试在Ubunt服务器16.04上通过Jenkins运行selenium脚本,而不使用GUI

在打开网页之前,需要进行windows身份验证。我用AutoIT为Windows创建了它,它运行良好,但现在我必须通过Ubunt服务器上的Jenkins执行,并出现以下错误:

Using deprecated data structure for setting timeouts
java.io.IOException: Cannot run program "/usr/share/GlobalStagingERP/global.staging.erp/authentification/WindowsAuthenticationFireFoxCodeExample.exe": error=13, Permission denied
我决定用python和SciTE来实现它

我还尝试了“”,但它不起作用,出现了致命错误

以下是我如何使用AutoIT脚本在Windows中处理身份验证的示例:

WinWaitActive("Authentication Required","")
MouseClick("left",331, 288,1)
Send("username")
Send("{TAB}")
Send("password")
Send("{ENTER}")

但是,如何使用python在SciTE中执行相同的操作?

我将尝试以下解决方法: