Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var handler = new VbScriptMsgBoxDialogHandler(buttonToPush);
- using(new UseDialogOnce(Ie.DialogWatcher, handler ))
- {
- Ie.Button("vbScriptMsgBox").ClickNoWait();
- handler.WaitUntilHandled(10);
- Assert.That(handler.HasHandledDialog, "Should have handled dialog");
- }
Add Comment
Please, Sign In to add comment