public WordRuleSet(StatefulRuleSet statefulRuleSet) : base(statefulRuleSet) { _elementStartRules.Add("FillPlainTextContentControl", FillPlainTextContentControl); _elementStartRules.Add("SaveDocumentAsNewFile", SaveDocumentAsNewFile); _elementStartRules.Add("WordSession", StartWordSession); _elementEndRules.Add("WordSession", EndWordSession); }
public DatabaseRuleSet(StatefulRuleSet statefulRuleSet) : base(statefulRuleSet) { _elementStartRules.Add("StoreQueryResultToVariables", StoreQueryResultToVariables); _elementStartRules.Add("StoreQueryResultToTable", StoreQueryResultToTable); _elementStartRules.Add("CompareValueWithScalarQuery", CompareValueWithScalarQuery); _elementEndRules.Add("CompareValueWithScalarQuery", PopConditionalStack); _elementStartRules.Add("DatabaseSession", StartDatabaseSession); _elementEndRules.Add("DatabaseSession", EndDatabaseSession); }
public ExcelRuleSet(StatefulRuleSet statefulRuleSet) : base(statefulRuleSet) { _elementStartRules.Add("ClearExcelRange", ClearExcelRange); _elementStartRules.Add("CopyExcelCellToExcelCell", CopyExcelCellToExcelCell); _elementStartRules.Add("StoreUsedRangeRowCountToVariable", StoreUsedRangeRowCountToVariable); _elementStartRules.Add("CopyExcelCellToVariable", CopyExcelCellToVariable); _elementStartRules.Add("StoreExcelRangeToTable", StoreExcelRangeToTable); _elementStartRules.Add("WriteToExcelCell", WriteToExcelCell); _elementStartRules.Add("ExcelSession", StartExcelSession); _elementEndRules.Add("ExcelSession", EndExcelSession); }
public TN5250RuleSet(StatefulRuleSet statefulRuleSet) : base(statefulRuleSet) { _elementStartRules.Add("StartTN5250Session", StartTN5250Session); _elementStartRules.Add("SendFunctionKeyToTN5250", SendFunctionKeyToTN5250); _elementStartRules.Add("ScrapeFromTN5250", ScrapeFromTN5250); _elementStartRules.Add("WriteToTN5250", WriteToTN5250); _elementStartRules.Add("CompareVariableWithTN5250", CompareVariableWithTN5250); _elementEndRules.Add("CompareVariableWithTN5250", PopConditionalStack); _elementStartRules.Add("CompareValueWithTN5250", CompareValueWithTN5250); _elementEndRules.Add("CompareValueWithTN5250", PopConditionalStack); _elementStartRules.Add("TN5250Session", StartTN5250Session); _elementEndRules.Add("TN5250Session", EndTN5250Session); }
public BrowserRuleSet(StatefulRuleSet statefulRuleSet) : base(statefulRuleSet) { Environment.SetEnvironmentVariable("webdriver.chrome.driver", Directory.GetCurrentDirectory() + "\\chromedriver.exe"); Environment.SetEnvironmentVariable("webdriver.edge.driver", Directory.GetCurrentDirectory() + "\\MicrosoftWebDriver.exe"); _elementStartRules.Add("AcceptAlert", AcceptAlert); _elementStartRules.Add("ClickBrowser", ClickBrowser); _elementStartRules.Add("SendTextToBrowser", SendTextToBrowser); _elementStartRules.Add("RefuseAlert", RefuseAlert); _elementStartRules.Add("WaitBrowser", WaitBrowser); _elementStartRules.Add("CompareAnyElementOfClassforVisibility", CompareAnyElementOfClassforVisibility); _elementEndRules.Add("CompareAnyElementOfClassforVisibility", PopConditionalStack); _elementStartRules.Add("CompareValueWithIdContent", CompareValueWithIdContent); _elementEndRules.Add("CompareValueWithIdContent", PopConditionalStack); _elementStartRules.Add("CompareVariableWithIdContent", CompareVariableWithIdContent); _elementEndRules.Add("CompareVariableWithIdContent", PopConditionalStack); _elementStartRules.Add("BrowserSession", StartBrowserSession); _elementEndRules.Add("BrowserSession", EndBrowserSession); }
protected StatefulRuleSetDecorator(StatefulRuleSet decoratedRuleSet) : base(decoratedRuleSet.EngineState) { _decoratedStatefulRuleSet = decoratedRuleSet; }