Hi
I'm trying to make a test which uploads some files, is this possible on a locked screen??, below is my code, the idea is to give a count of how many times the image should be uploaded and it works fine but then if i lock the screen it just hangs and doesn't seem to ever timeout with an error.
So question:
Can this be done on locked screen?
Possible bug report:
The file upload doesn't seem to ever timeout when it fails, instead it seem to just stop.
currentTest.ActiveBrowser.Manager.DialogMonitor.Start();
for (int i = 0; i < count; i++)
{
FileUploadDialog fileUp = new FileUploadDialog(currentTest.ActiveBrowser, imagePath, DialogButton.OPEN);
currentTest.ActiveBrowser.Manager.DialogMonitor.AddDialog(fileUp);
currentTest.ActiveBrowser.Find.ByExpression<HtmlInputFile>(attachFileInput).Click();
fileUp.WaitUntilHandled(SharedValues.DefaultTimeout);
currentTest.ActiveBrowser.Manager.DialogMonitor.RemoveDialog(fileUp);
}
currentTest.ActiveBrowser.Manager.DialogMonitor.Stop();
I'm trying to make a test which uploads some files, is this possible on a locked screen??, below is my code, the idea is to give a count of how many times the image should be uploaded and it works fine but then if i lock the screen it just hangs and doesn't seem to ever timeout with an error.
So question:
Can this be done on locked screen?
Possible bug report:
The file upload doesn't seem to ever timeout when it fails, instead it seem to just stop.
currentTest.ActiveBrowser.Manager.DialogMonitor.Start();
for (int i = 0; i < count; i++)
{
FileUploadDialog fileUp = new FileUploadDialog(currentTest.ActiveBrowser, imagePath, DialogButton.OPEN);
currentTest.ActiveBrowser.Manager.DialogMonitor.AddDialog(fileUp);
currentTest.ActiveBrowser.Find.ByExpression<HtmlInputFile>(attachFileInput).Click();
fileUp.WaitUntilHandled(SharedValues.DefaultTimeout);
currentTest.ActiveBrowser.Manager.DialogMonitor.RemoveDialog(fileUp);
}
currentTest.ActiveBrowser.Manager.DialogMonitor.Stop();