Settings mySettings = new Settings(new Settings.WebSettings(BrowserType.InternetExplorer)); mySettings.Web.EnableSilverlight = true; Manager myManager = new Manager(mySettings);myManager.Start();myManager.LaunchNewBrowser();AddDialogSupport(myManager);Navigate(myManager, "http://qa.psc.lan/sites/arooj/site%20pages/administration.aspx");Thread.Sleep(mySettings.Web.SilverlightConnectTimeout);var slApp = myManager.ActiveBrowser.SilverlightApps()[0]; \\ this is where i get the errormyManager.Dispose();I'm getting the following exception when i execute the Manager.ActiveBrowser.SilverlightApps()[0] line.
ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [document.getElementsByTagName(\\'object\\')[0].settings.enableHtmlAccess] failed!
Please make the function exists and the call is using the correct prototype signature. Javascript error: Error
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'document.getElementsByTagName(\\'object\\')[0].settings.enableHtmlAccess',ClientId:'Client_da180eb3-8a78-4d51-8186-125cdf273e97',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [document.getElementsByTagName(\\'object\\')[0].settings.enableHtmlAccess] failed! Please make the function exists and the call is using the correct prototype signature. Javascript error: Error
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
objApplication = Browser.SilverlightApps().GetApp(0);
objApplication.Connect();
DataGrid objDataGrid = objApplication.Find.ByName<DataGrid>("dataGrid");
objDataGrid.Rows[0].Cells[0].Find.ByName<RadioButton>().User.Click();Hello,
I am working on programmatically automating tabstops in radgrid.Can you please give me some idea to accomplish the same.
In Real scenario, when the user clicks on right arrow, the grid cell focus should be moved to next cell, which is the usual scenario that we perform in an excel or any other grid pattern. The same functionality should be automated with TestStudio. I have checked couple of links..but still need more information…
http://www.telerik.com.tw/help/winforms/tabstrip-radtabstrip-select-tab-programmatically.html
Thanks,
Abi
<table><tbody><tr><td>Reason waived</td><td><input id="feeForm:reasonWaived" type="text" name="feeForm:reasonWaived"/></td><td/></tr></tbody></table>8/30/2011 2:08:41 PM' - Detected DataDriven Test. Starting data iterations.
'8/30/2011 2:08:41 PM' - [Iteration #1: (Login=cindy.thomas)]
Overall Result: Fail'8/30/2011 2:08:52 PM' - 'Fail' :
1. Set 'ContentPlaceHolder1UsernameTextBoxText' text to '' - DataDriven: [$(Login)]------------------------------------------------------------
Failure Information: ~~~~~~~~~~~~~~~Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' ctl00_ContentPlaceHolder1_UsernameTextBox] AND [tagname 'Exact' input]Unable to locate element. Search failed!
Why am I getting this error?