Sudheendran Posted February 12, 2019 Share Posted February 12, 2019 Dear Team, I have my test scripts from which I am handling the file download ,upload and window authentication pop-up by integrating selenium and autoIT. The test scripts perfectly works fine when it is triggered locally, but when I run the scripts from Jenkins, it doesn't work. your help will be greatly appreciated. Thank you. Sudheendran P L Link to comment Share on other sites More sharing options...
Developers Jos Posted February 12, 2019 Developers Share Posted February 12, 2019 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 12, 2019 Developers Share Posted February 12, 2019 Don't think that is enough information to be able to help you. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Sudheendran Posted February 12, 2019 Author Share Posted February 12, 2019 I have a web application and I am using selenium for test automation, but there are few scenarious where I have window based pop-up like file upload, file download etc, I have handled these window based pop-up by integrating selenium and autoIT tool. Everything perfectly works fine if I run the scripts locally, but if I trigger the same from the Jenkins job, the .exe file which I am calling is not doing what it is suppose to do. Kindly help. Please let me know if more details required. Link to comment Share on other sites More sharing options...
jdelaney Posted February 12, 2019 Share Posted February 12, 2019 (edited) Jenkins runs as a service on session 0. That means that some window states will not occur like when you run on a user session. Example, windows will never be active, so send () and winwaiactive won't work. Use controlclick instead. Edited February 12, 2019 by jdelaney Earthshine 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. 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