Currently I'm using CyberArk to gain access to a web browser dashboard (IBM Sterling) which shows the files that has been received from ftp, it will validate the file and display in the dashboard if the file is received and validate successfully or fail to validate based on file name prefix.
My test currently is to use selenium to automate the process whereby it need to go in the dashboard to search whether my file has been successfully received or failed to received.
My question is whether selenium able to detect browser through CyberArk or can it detect browser from remote desktop?
Related
Requirement:I want to automate application using selenium which is built using cef and some windows control.to launch the application we need to create shortcut and edit target with the url alone with file location or.Other way to launch the cef application is to pass the url along with the file address on cmd.
Exact issue I am facing is that I am able to tell webdriver to open the cef application using options.setbinary but for some reason webdriver is not accepting the url when I am passing the url using options.addargumnets().
Options.setBinary("my application.exe address");
Options.addArgument("url");
//Initialized driver with options
I forgot to update I have resolved this issue, I had to check the development code. when I asked dev to attach remote debugging port while initialising new browser from exe and then I used chromeoptions setexperimentaloptions() property to control already running chrome browser.
is there any way to find source html data of already opened chrome browser using VBA. I don't want user to show inspect and source.I can't use other softwares as per my organization policy. I can only use VBA. Please help.
I have tried http request method of VBA but it fail for access denied because one session already open in chrome browser.
Actually, I need some details from that already opened chrome browser on my PC.
I need to authenticate to a website.
After successful authentication - a form is shown, where a few details are filled.
After submitting the form, the page gives an impression that something is loading:
After a non-fixed delay, a download pop up is shown:
Sadly, assuming if I try to download from URL, I cannot overcome the authentication part. The web browser client is authenticated, not the VBA client.
My simple question is:
How to detect, whether this download pop up has appeared or not in IE9+?
A few things I have tried:
URLDownloadToFile is of no use, since the download link for the file is not fixed and appears after authentication
Siddharth's answer, does not addresses IE 9 download dialogue box, rather works for IE 8 dialogue box
I believe that after successfully detecting this pop up, I can download the file to local disk simply using SendKeys - correct me if needed.
Side question: how to download the file to local disk after detection is successful?
I've tried to research this topic and found resources like selenium, but I'm not entirely sure how to do what I need.
Basically here is the workflow:
A user completes a form on our website
The form inputs get emailed to me
I login to the related database system online (it's always the same) to produce the necessary report based on there request.
I then print a PDF version of the report and email it back to them with our email template (customized based on some of their inputs on the website)
Is there a way to automate this? Maybe even run it on a server so users can get the reports even when my computer is off?
Any help would be great!
Thanks.
If you are not able to use API of the resource which gives you PDF file...
I'd go like this:
Configure Jenkins CI on a server.
When a user completes a form - send HTTP POST request to Jenkins CI for building parametrized job (using data from user).
Jenkins job runs the Selenium tests to get desired PDF file.
Using Jenkins email notification plugin send customized email with PDF file from previous step.
We have pages where we occasionally see compromised SSL certificate because of third party scripts that load non HTTPS resources (Initially they're fine but they occasionally change). We would like to test those pages for broken SSL every day.
We have tried one approach, attempting to catch a pop-up message that would indicate that we have insecure content on the page. However, we have been unsuccessful in simulating the pop-up message through selenium. It appears that selenium has automatically disabled any popups. While we have identified a Selenium method to disable the suppression of the pop-ups(disable-popup-handler) but we have not been able to successfully see the popup even using this method.
Has anyone found a way to detect broken SSL pages using Selenium?
You need to load a browser profile (with WebDriver) that doesn't have the setting for popup blocker enabled (using the Profile class and giving it the right properties). Then, you will get the Windows popup message concerning the SSL cert. If , for some reason, you cannot control the popup using WebDriver (because its limited to Action control only within the browser content window) then you can use Sikuli API to handle the dialog and export the cert to the "Downloads" dir and then copy the file to expected location for inspection. Unfortunately, if you use Sikuli, that will make your automation script sequential and not work via a RemoteWebDriver grid server and so you wont be able to run parallel tests. Hopfully, WebDriver gives you access to the dialog and so you will be able to run with RemoteWebDriver because that is the best way to go when running scripts, even if you run a browser locally.