Hi all there,
As one said a while ago: "We are more than well self served..".I found the solution for the issue i was facing.
even if the code lines are explicite, if any one needs more details, do not hesitate...
function ExportReport()
{
[... ] //Section to lauch the export...
//Perform Save (Export) on generated report
browsWind = Aliases.browser.BrowserWindow;
browsWind.FrameNotificationBar.SetFocus();
toolBar = browsWind.FrameNotificationBar.DirectUIHWND;
toolBar.SetFocus();
toolBar.Click();
var btnSave = browsWind.FrameNotificationBar.DirectUIHWND.splitbuttonSave;
var btnSaveVOS = btnSave.VisibleOnScreen;
while(!btnSaveVOS)
{
Sys.Refresh();
aqUtils.Delay(1500);
btnSave.RefreshMappingInfo();
btnSaveVOS = btnSave.VisibleOnScreen;
toolBar.SetFocus();
toolBar.Click();
}
if(btnSave.WaitProperty("VisibleOnScreen", true, 1500))
{
btnSave.Click();
aqUtils.Delay(1500);
browsWind.FrameNotificationBar.DirectUIHWND.buttonClose.Click();
}
}
catch(e)
{
Log.Error("Exception/Error in function ExportAReport...");
}
Ciao,