IE11 Save As Popup handling issue WebDriver/Autoit/Robot - selenium-webdriver

I need to download and save .CSV file in IE11, When i try to click save as button in the Download popup,i Couldn't able to click it and not able to set focus on the popup, I have tried
Autoit
Robot
sendkeys(keys.TAB)
Sikuli
But it getting failed.

Related

Why Sikuli API not able to click Window image for the first time? Works when repeated.

When the file upload window opens, it doesn't click for first time. I close it manually then click again to open the dialog, this time Sikuli proceeds with execution.
Using selenium webdriver to automate file upload with Sikuli API. Please find below code:
driver.get("file:///C:/Users/nitin.chawda/Desktop/example1.html");
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.findElement(By.id("usage")).click();
Screen screen = new Screen();
screen.wait("images\\location1.png",100).doubleClick();
screen.wait("images\\file1.png",100).click();
screen.wait("images\\open.png",100).click();
It's possible that your click is happening the first time, but not doing what you'd expect.
If the window you're trying to click is not in focus, then, rather than preforming some other action, the first click will focus that window, .
Try using the App.focus("WINDOW-NAME"); classmethod before the Sikuli clicks. (where "WINDOW-NAME" is a string matching the name of your file upload window)
Resources:
App Class from Sikuli docs
App Class from the javadoc
just use screen.click(), it will enable the window focused.

Why is Umbraco Load Package button always disabled for Install local package?

I am trying to install a package in Umbraco 7.1.8 using the Install local package page. I click the checkmark that I understand the security risks, browse to the zip file and then try to click the Load Package button. The button just shows a red circle with a line through it and isn't clickable. I've tried changed the order of clicking the checkbox and browsing but no luck. I've attached a screenshot of the page although the cursor isn't captured in the screenshot.
This happens locally and on my Azure server. Inspecting the button shows it is disabled.
Any suggestions would be appreciated,
Jason

Opening PDF iOS Adobe Reader

I am trying to design a website for iPad. I "Add to Homescreen" the page from within Safari, and from then on it loads in full screen mode, so no toolbar appears, with the help of a simple meta tag
In full screen mode will load a PDF file from a link without issue, but the "Open In" option is no where to be found
But if I were to navigate to the same PDF by clicking Safari, typing the page address, the option is there
My question, how can I make the "Open In" appear OR
Is there a way to open the file with a "com.adobe.Adobe-Reader" command
Regards,
Callum

ExtJS 4 uploading files (using CodeIgniter for backend)

I have the standard upload file form from the ExtJS documentations, I create form.Panel with with xtype:filefield and an open and Submit button. And as it is by default when I click Open the browser window is opened and I can choose a file, and then Submit it for saving. But now I\m asked to bypass this and leave only a button with name Open directly on the toolbar and clicking it to open directly the browser window. I don't know even if this is possible and how to do it.
thanks
Leron
Am I understanding this correctly? You need to have a just single button on the page - user clicks button, gets file open dialog and when he presses 'OK' on that dialog form is submitted?
Take a look at the second sample 'Button only'
http://dev.sencha.com/deploy/ext-4.0.0/examples/form/file-upload.html
You are going to want to listen to the filefield.change event, and submit your form when that fires. Example:
http://jsfiddle.net/62gmq/3/

Is there any way to open new tab(or popup, or window) with certain html content in silverlight?

I have a grid filled with some data in my silverlight4 app.
I want to have "Show this as html" button for the grid.
I can generate the html, export it to savefile dialog, but that's not what i need, because in this way user has to perform more actions, like:
click 'export'
enter filename
wait for download
find file open it in browser
Is there any way to create tab, or window, or popup with certain html content in it? (so it would be like
click 'show as html'
?)
Thanks in advance,
Ilya.
The problem is that you can't save it anywhere locally without user interaction (or elevated privileges).... so don't save it locally.
I can think of two options:
1.
Write the data back to the server
Open a normal popup web browser window, pointing a generated temp HTML page.
To open another HTML browser window from Silverlight you can use HtmlWindow.Navigate specifying _blank as the target type.
2.
Use the ability of Silverlight to execute any Javascript to open a popup with the content.
From Silverlight you can use ScriptObject.Invoke to execute arbitrary Javascript.

Resources