I want to download a pdf (It will be keep on changing everyday, has same name and id) from my partner company site. My partner company site has login restriction and after logging in i want to switch to a tab and download the pdf. This pdf will be used for some calculation purpose.
Right now instead of manually doing it im trying to find a way to do that. I know there is a way in SELENIUM IDE. I need to know is there is a way to do this using bamboo?
Hi @Alagukumarappan Ramasamy ,
If the authentication method on the web site is basic authentication, on bamboo you can do it via curl or wget by specifiying the both the pdf url and username/password.
If authentication is not "basic authentication" and it is form based, then you can execute selenium on the bamboo as well. But it requires a installing browser on the bamboo. It is not straightforward to set it up. Instead, I suggest that you request from partner company to put the pdf behind basic authentication and use curl/wget.
If I were you, I wouldn't bother with actually clicking the button, but use some command line tool like wget instead.
Bamboo doesn't have such functionality built-in, you will need to write a script yourself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.