leahkim23 Posted March 31, 2016 Share Posted March 31, 2016 Hi Everyone, I am trying to call an AutoIT script which does a login into an application GUI, then do navigation, from a linux server through WinRM. If I run the script locally, no issues, but if I call it from linux through winRM, it breaks on the _IEaction command. The question that I have is does anyone encountered this issue before, or have tried this approach. The script has 2 _IEaction and it only fails on one of it. Local $loadpackagebutton = _IEGetObjByName ($oIE, "LoadPackageButton") Local $oForm = _IEFormGetObjByName($oIE, "PackageManagementForm") _IEFormElementRadioSelect ($oForm, $CmdLine[1], "selectedPackageID") _IEAction ($loadpackagebutton, "click") Thanks in advance AutoIt masters. Link to comment Share on other sites More sharing options...
AutoBert Posted March 31, 2016 Share Posted March 31, 2016 can you start IE thru winRM on linux? Link to comment Share on other sites More sharing options...
leahkim23 Posted March 31, 2016 Author Share Posted March 31, 2016 Thanks @AutoBert. Found the solution to my problem. _IEaction does click the loadpackagebutton. The problem that I have is with the other script which is called by main script. The problem is that because I am running the script in background, there is no active window. So I just replaced winactive with winexist. Anyways. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now