public override void RegisterCommands(IRegisterCommand registrator) { base.RegisterCommands(registrator); registrator.RegisterCommands(this); registrator.RegisterCommand(HideScrollBarCommand.Name, typeof(Commands.HideScrollBarCommand)); registrator.RegisterCommand(SetWebMaxWaitTimeOutCommand.Name, typeof(Commands.SetWebMaxWaitTimeOutCommand)); registrator.RegisterCommand(XpandCheckValidationResultCommand.Name, typeof(Commands.XpandCheckValidationResultCommand)); registrator.RegisterCommand(LogonCommand.Name, typeof(Commands.LogonCommand)); }
public static void RegisterCommands(this IRegisterCommand registerCommand, IXpandTestAdapter applicationAdapter) { _adapter = applicationAdapter; var dictionary = new Dictionary <Type, string> { { typeof(FillDateTimeValueCommand), FillDateTimeValueCommand.Name }, { typeof(CreatePermissionCommand), CreatePermissionCommand.Name }, { typeof(ChangeUserPasswordCommand), ChangeUserPasswordCommand.Name }, { typeof(NavigateCommand), NavigateCommand.Name }, { typeof(SaveAndCloseCommand), SaveAndCloseCommand.Name }, { typeof(HideCursorCommand), HideCursorCommand.Name }, { typeof(KillFocusCommand), KillFocusCommand.Name }, { typeof(XpandDeleteFileCommand), XpandDeleteFileCommand.Name }, { typeof(KillWindowCommand), KillWindowCommand.Name }, { typeof(XpandProcessRecordCommand), XpandProcessRecordCommand.Name }, { typeof(SqlCommand), SqlCommand.Name }, { typeof(SendKeysCommand), SendKeysCommand.Name }, { typeof(MouseCommand), MouseCommand.Name }, { typeof(UseModelCommand), UseModelCommand.Name }, { typeof(SetEnvironmentVariableCommand), SetEnvironmentVariableCommand.Name }, { typeof(XpandHandleDialogCommand), XpandHandleDialogCommand.Name }, { typeof(XpandFillFormCommand), XpandFillFormCommand.Name }, { typeof(XpandAutoTestCommand), XpandAutoTestCommand.Name }, { typeof(ResizeWindowCommand), ResizeWindowCommand.Name }, { typeof(FocusWindowCommand), FocusWindowCommand.Name }, { typeof(XpandCompareScreenshotCommand), XpandCompareScreenshotCommand.Name }, { typeof(XpandSelectRecordsCommand), XpandSelectRecordsCommand.Name }, { typeof(ScreenCaptureCommand), ScreenCaptureCommand.Name }, { typeof(StopCommand), StopCommand.Name }, }; foreach (var keyValuePair in dictionary) { registerCommand.RegisterCommand(keyValuePair.Value, keyValuePair.Key); } }
public static void RegisterCommands(this IRegisterCommand registerCommand, IXpandTestAdapter applicationAdapter) { _adapter = applicationAdapter; var dictionary = new Dictionary <Type, string> { { typeof(XpandCompareScreenshotCommand), XpandCompareScreenshotCommand.Name }, { typeof(XpandCompareFilesCommand), XpandCompareFilesCommand.Name }, { typeof(FillDateTimeValueCommand), FillDateTimeValueCommand.Name }, { typeof(FieldIsVisibleCommand), FieldIsVisibleCommand.Name }, { typeof(DeleteCommand), DeleteCommand.Name }, { typeof(DeleteAllObjectsCommand), DeleteAllObjectsCommand.Name }, { typeof(CreatePermissionCommand), CreatePermissionCommand.Name }, { typeof(CopyTextCommand), CopyTextCommand.Name }, { typeof(CheckClipboardValueCommand), CheckClipboardValueCommand.Name }, { typeof(ChangeUserPasswordCommand), ChangeUserPasswordCommand.Name }, { typeof(XpandExecuteEditorAction), XpandExecuteEditorAction.Name }, { typeof(NavigateCommand), NavigateCommand.Name }, { typeof(SaveAndCloseCommand), SaveAndCloseCommand.Name }, { typeof(HideCursorCommand), HideCursorCommand.Name }, { typeof(KillFocusCommand), KillFocusCommand.Name }, { typeof(XpandDeleteFileCommand), XpandDeleteFileCommand.Name }, { typeof(KillWindowCommand), KillWindowCommand.Name }, { typeof(XpandProcessRecordCommand), XpandProcessRecordCommand.Name }, { typeof(SqlCommand), SqlCommand.Name }, { typeof(SqlDropDatabaseCommand), SqlDropDatabaseCommand.Name }, { typeof(SendKeysCommand), SendKeysCommand.Name }, { typeof(ActivateWindowCommand), ActivateWindowCommand.Name }, { typeof(MinimizeApplicationWindowCommand), MinimizeApplicationWindowCommand.Name }, { typeof(MouseCommand), MouseCommand.Name }, { typeof(LClickCommand), LClickCommand.Name }, { typeof(RClickCommand), RClickCommand.Name }, { typeof(DblClickCommand), DblClickCommand.Name }, { typeof(MouseDragDropCommand), MouseDragDropCommand.Name }, { typeof(UseModelCommand), UseModelCommand.Name }, { typeof(SetEnvironmentVariableCommand), SetEnvironmentVariableCommand.Name }, { typeof(ProcessCommand), ProcessCommand.Name }, { typeof(XpandHandleDialogCommand), XpandHandleDialogCommand.Name }, { typeof(XpandFillFormCommand), XpandFillFormCommand.Name }, { typeof(FocusControlCommand), FocusControlCommand.Name }, { typeof(XpandFillRecordCommand), XpandFillRecordCommand.Name }, { typeof(SaveFileDialogCommand), SaveFileDialogCommand.Name }, { typeof(OpenFileDialogCommand), OpenFileDialogCommand.Name }, { typeof(XpandAutoTestCommand), XpandAutoTestCommand.Name }, { typeof(XpandCheckFieldValuesCommand), XpandCheckFieldValuesCommand.Name }, { typeof(LogOffCommand), LogOffCommand.Name }, { typeof(XpandCheckFileExistsCommand), XpandCheckFileExistsCommand.Name }, { typeof(MoveWindowCommand), MoveWindowCommand.Name }, { typeof(ResizeWindowCommand), ResizeWindowCommand.Name }, { typeof(ScreenCaptureCommand), ScreenCaptureCommand.Name }, { typeof(StopCommand), StopCommand.Name }, { typeof(ToggleNavigationCommand), ToggleNavigationCommand.Name }, }; foreach (var keyValuePair in dictionary) { registerCommand.RegisterCommand(keyValuePair.Value, keyValuePair.Key); } }
public static void RegisterCommands(this IRegisterCommand registerCommand) { var dictionary = new Dictionary <Type, string> { { typeof(FillDateTimeValueCommand), "FillDateTimeValue" } }; foreach (var keyValuePair in dictionary) { registerCommand.RegisterCommand(keyValuePair.Value, keyValuePair.Key); } }
public override void RegisterCommands(IRegisterCommand registrator) { base.RegisterCommands(registrator); registrator.RegisterCommands(this); registrator.RegisterCommand(HideScrollBarCommand.Name, typeof (Commands.HideScrollBarCommand)); }
public override void RegisterCommands(IRegisterCommand registrator) { base.RegisterCommands(registrator); registrator.RegisterCommands(this); registrator.RegisterCommand(Xpand.EasyTest.Commands.HideScrollBarCommand.Name, typeof(HideScrollBarCommand)); }