or
Timed out waiting '5000' msec. for any dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1'
at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
First Name | Last Name | Middle Name |
firstname1 | lastname1 | m |
firstname2 | lastname2 | m |
Assert.IsFalse((ArtOfTest.Common.CompareUtils.StringCompare(Pages.CreateNewMeeting.SilverlightApp.FindResultsGridViewRadgridview.Rows.ToString(), "firstname", ArtOfTest.Common.StringCompareType.Contains) == false));
System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.WebAii.Controls.Xaml.RadGridView.get_GroupRows() at Telerik.WebAii.Controls.Xaml.RadGridView.get_Rows() at ...
In Coded UI, we are using this approach where we highlight the whole table and get the "InnerText" property.
It will give us this result:
"First NameLast NameMiddle Namefirstname1lastname1mfirstname2lastname2m"
So, for verification, we simply put something like this:
Assert.IsTrue(Pages.CreateNewMeeting.SilverlightApp.FindResultsGridViewRadgridview.Rows.Contains("firstname"));
Any thoughts on this?
Thanks,
Mariko
Dim variable As String = ExecutionContext.DataSource.Rows(0).Item("test")