Jump to content

Unable to handle file download pop-up when triggering the scripts from Jenkins. - (Moved)


Recommended Posts

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

  • 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

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 by jdelaney
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...