how to capture the download file popup using cuite

Sep 5, 2012 at 1:32 AM

Hi,

Scenario : Clicking on a button "download file" which will display a pop up with open, save, cancel buttons below the page. I am not able access this popup using F12. How to access the popup and click on one of the button.  Appreciate your help.

 

Coordinator
Sep 7, 2012 at 12:02 PM

Hi SailajaNalamati,

CUITe does not support this yet.

I have created a work item for this request here: http://cuite.codeplex.com/workitem/1025

In the meantime, you may try asking on the MSDN Visual Studio UI Automation Testing (includes CodedUI) forums here:

http://social.msdn.microsoft.com/Forums/en/vsautotest/threads

Thank you.

Sep 19, 2012 at 12:39 AM

Hi,

Thank you for your response.  I am able to open download file from popup directly from keyboard( Alt+o). Is there a way, I can do this in CUIT. Then, that would be great. If yes, can you please send me the sample code. Apprecaite your help.

Thanks,

Sailaja

 

 

Coordinator
Sep 19, 2012 at 1:00 AM

Hi Sailaja,

You may use the Keyboard.SendKeys methods to simulate key strokes.

http://msdn.microsoft.com/en-us/library/dd406342%28v=vs.100%29.aspx

Sep 19, 2012 at 3:10 AM

Working great. Thank you for prompt response.  

I need to validate the content in excel sheet.  Does cuit support this ? Appreciate your help.

Thanks,

Sailaja

Coordinator
Sep 19, 2012 at 5:55 AM
Edited Sep 19, 2012 at 5:59 AM

Hi Sailaja,

The Coded UI Test framework supports automating excel spreadsheets through an extension.

See http://msdn.microsoft.com/en-us/library/ff398055(v=vs.100).aspx.

CUITe is built on top of the Coded UI Test framework.

If needed, to get the underlying UITestControl, you can use the Unwrap method.

I haven't personally used CUITe or the Coded UI Test framework for automating excel, but it seems possible.

If there are things missing in CUITe that would make automating excel spreadsheets easier than just using the Visual Studio built-in Coded UI Test recorder and the excel extension, please let us know the specific details.

Thank you.

Nov 18, 2014 at 5:00 PM
Was Notification Bar support ever added?