or
Hi,
I have an asp gridview that display users, I want a test to add a user then for example edit the user by changing the password. The problem I have is that the gridview contains upwards of 80 users and the pagesize is set to 15. Is there a way to get test studio to loop/iterate through each row (including changing to page 2, 3 etc) until it finds the username I have specified?
Any help on this would b great because I have quite a few gridviews I need to test which I foresee having similar problems
Thanks
Jo
'03-07-2013 14:51:29' - 'Fail' : 2. Handle 'OnBeforeUnload' dialog.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '15000' msec. for any dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '15000' 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.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)
public
void
Logout_CodedStep1()
{
OnBeforeUnloadDialog dialog = OnBeforeUnloadDialog.CreateOnBeforeUnloadDialog(ActiveBrowser, DialogButton.OK);
Manager.DialogMonitor.AddDialog(dialog);
}