or
var keys = ArtOfTest.WebAii.Win32.KeyBoard.KeysFromString("SHIFT+CTRL+ALT+T"); AtlasApp.Manager.Desktop.KeyBoard.KeyPress(keys, 500);Method 2
AtlasApp.Manager.Desktop.KeyBoard.KeyDown(Keys.Control);AtlasApp.Manager.Desktop.KeyBoard.KeyDown(Keys.Alt);AtlasApp.Manager.Desktop.KeyBoard.KeyDown(Keys.Shift);AtlasApp.Manager.Desktop.KeyBoard.KeyPress(Keys.T);AtlasApp.Manager.Desktop.KeyBoard.KeyUp(Keys.Shift);AtlasApp.Manager.Desktop.KeyBoard.KeyUp(Keys.Alt);AtlasApp.Manager.Desktop.KeyBoard.KeyUp(Keys.Control);
// Create the dialog listenerFileUploadDialog theDialog = new FileUploadDialog(waManager.ActiveBrowser, filePath, DialogButton.OPEN);waManager.DialogMonitor.AddDialog(theDialog);// Start the dialog monitor listening, then give it a chance to "breathe"waManager.DialogMonitor.Start();waManager.ActiveBrowser.WaitUntilReady();// Now use the elementfileUploadControl.Upload(filePath, msecWait);// Give the browser a moment to collect itselfwaManager.ActiveBrowser.WaitUntilReady();// Finally, turn the dialog monitor off after all is said and donewaManager.DialogMonitor.RemoveDialog(theDialog);waManager.DialogMonitor.Stop();// Create the dialog listenerFileUploadDialog theDialog = new FileUploadDialog(waManager.ActiveBrowser, filePath, DialogButton.OPEN);waManager.DialogMonitor.AddDialog(theDialog);// Start the dialog monitor listeningwaManager.DialogMonitor.Start();waManager.ActiveBrowser.WaitUntilReady();// Now click the element and handle the dialogfileUploadControl.MouseClick(MouseClickType.LeftDoubleClick);theDialog.WaitUntilHandled(WAIT_Medium);// Give the browser a moment to collect itselfwaManager.ActiveBrowser.WaitUntilReady();// Finally, turn the dialog monitor off after all is said and donewaManager.DialogMonitor.RemoveDialog(theDialog);waManager.DialogMonitor.Stop();
I have tried this with the following versions of Telerik Test Framework installed:
2012.1.719
At this point I am at a loss of what to try next.
Please help.
P.S. A bit of background: I am writing automated tests for three browsers: Chrome, Firefox and Internet Explorer. My desktop is a Windows 7 machine and where development occurs. Changes are committed to SCM. The automated tests are downloaded and built by a Windows Server 2008 instance from SCM. With the various versions of the framework I have made sure that I uninstall the previous version from both machines and cleanly installed the new, to make sure I did not run into any issues with version conflicts.
<span>That's the text</span>browser.Find.ByExpression<HtmlSpan>("TextContent=That's the text");