public void DownloadSourceCode_Jenkins_Outpout() { string categoryName = "DevOps and CI"; string articleTitle = "Output MSTest Tests Logs To Jenkins Console Log"; BehaviorExecutor.Execute( new HomePageNavigateBehavior(), new HomePageNavigateFindHowAssertBehavior(categoryName), new HomePageFindsHowNavigateBehavior(categoryName), new CategoryPageCategoryBackgroundAssertBehavior(categoryName), new CategoryPageOpenArticleBehavior(articleTitle), new ArticlePageDownloadSourceCodeBehavior()); }
public void DownloadSourceCode_AutomationTools_MultipleFiles() { string categoryName = "Automation Tools"; string articleTitle = "Create Multiple Files Page Objects with Visual Studio Item Templates"; BehaviorExecutor.Execute( new HomePageNavigateBehavior(), new HomePageNavigateFindHowAssertBehavior(categoryName), new HomePageFindsHowNavigateBehavior(categoryName), new CategoryPageCategoryBackgroundAssertBehavior(categoryName), new CategoryPageOpenArticleBehavior(articleTitle), new ArticlePageDownloadSourceCodeBehavior()); }
public void DownloadSourceCode_DesignPatterns_Facade() { string categoryName = "Design Pattern"; string articleTitle = "Facade Design Pattern in Automated Testing"; BehaviorExecutor.Execute( new HomePageNavigateBehavior(), new HomePageNavigateFindHowAssertBehavior(categoryName), new HomePageFindsHowNavigateBehavior(categoryName), new CategoryPageCategoryBackgroundAssertBehavior(categoryName), new CategoryPageOpenArticleBehavior(articleTitle), new ArticlePageDownloadSourceCodeBehavior()); }
private void FixedUpdate() { if (!actionsEnabled) { return; } if (usesDemoBehaviors) { activeDemoBehavior?.Execute(); } else { activeBehavior?.Execute(); } }