public virtual void NewPluginSourceFile() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("New Plugin Source File", new string[] { "MSTest:DeploymentItem:InfragisticsWPF4.Controls.Interactions.XamDialogWindow.v15." + "1.dll", "MSTest:DeploymentItem:Warewolf_Studio.exe", "MSTest:DeploymentItem:Newtonsoft.Json.dll", "MSTest:DeploymentItem:Microsoft.Practices.Prism.SharedInterfaces.dll", "MSTest:DeploymentItem:System.Windows.Interactivity.dll" }); #line 17 this.ScenarioSetup(scenarioInfo); #line 18 testRunner.Given("I open New Plugin Source", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 19 testRunner.Then("\"New DotNet Plugin Source\" tab is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 20 testRunner.And("title is \"New DotNet Plugin Source\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 21 testRunner.And("ConfigFile textbox is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 22 testRunner.And("ConfigFileButton button is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 23 testRunner.And("\"Save\" is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 24 testRunner.When("I type \"C:\\Development\\Dev\\Binaries\\MS Fakes\\Microsoft.QualityTools.Testing.Fakes" + ".dll\" in \"AssemblyName\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 25 testRunner.Then("ConfigFile textbox is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 26 testRunner.Then("ConfigFileButton button is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 27 testRunner.Then("\"Save\" is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 28 testRunner.When("I type \"C:\\Development\\Dev\\Binaries\\MS Fakes\\Microsoft.QualityTools.Testing.Fakes" + ".dl\" in \"AssemblyName\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 29 testRunner.Then("ConfigFile textbox is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 30 testRunner.Then("ConfigFileButton button is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 31 testRunner.Then("\"Save\" is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 32 testRunner.When("I type \"C:\\Development\\Dev\\Binaries\\MS Fakes\\Microsoft.QualityTools.Testing.Fakes" + ".dll\" in \"AssemblyName\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 33 testRunner.Then("ConfigFile textbox is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 34 testRunner.Then("ConfigFileButton button is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 35 testRunner.Then("\"Save\" is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 36 testRunner.When("I save as \"Testing Resource Save\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 37 testRunner.Then("the save dialog is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 38 testRunner.Then("title is \"Testing Resource Save\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 39 testRunner.And("\"Testing Resource Save\" tab is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden this.ScenarioCleanup(); }
public virtual void AutoCorrectAGoodTransaction() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Auto correct a good transaction", new string[] { "CorrectTransaction" }); #line 7 this.ScenarioSetup(scenarioInfo); #line 8 testRunner.Given("there are no CorrectTransaction rows for batch number 58300013", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "auxDom", "extraAuxDom", "bsbNumber", "accountNumber", "transactionCode", "documentReferenceNumber", "amount", "documentType", "unprocessable", "processingDate" }); table1.AddRow(new string[] { "001193", "", "013812", "256902729", "50", "000111222", "45.67", "CRT", "false", "2015/03/17" }); table1.AddRow(new string[] { "001193", "", "092002", "814649", "50", "000111223", "2341.45", "DBT", "false", "2015/03/17" }); #line 9 testRunner.And("a CorrectBatchTransactionRequest with batch number 58300013 is added to the queue" + " for the following CorrectTransaction vouchers:", ((string)(null)), table1, "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Value" }); table2.AddRow(new string[] { "workType", "NABCHQ_POD" }); table2.AddRow(new string[] { "processingState", "SA" }); table2.AddRow(new string[] { "scannedBatchNumber", "58300013" }); table2.AddRow(new string[] { "captureBSB", "085384" }); table2.AddRow(new string[] { "collectingBank", "123456" }); table2.AddRow(new string[] { "unitID", "123" }); #line 13 testRunner.And("a CorrectBatchTransactionRequest with batch number 58300013 contains this voucher" + " batch:", ((string)(null)), table2, "And "); #line hidden TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Value" }); table3.AddRow(new string[] { "CorrelationId", "NSBD-6e5bc63b-be84-4053-a4ce-191abbd69f27" }); table3.AddRow(new string[] { "RoutingKey", "NSBD" }); table3.AddRow(new string[] { "PublishTimeOutSeconds", "3" }); #line 21 testRunner.When("the message is published to the queue and CorrectBatchTransactionRequest process " + "the message with this information:", ((string)(null)), table3, "When "); #line hidden TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Value" }); table4.AddRow(new string[] { "S_LOCATION", "ExpertBalance" }); table4.AddRow(new string[] { "S_LOCK", "0" }); table4.AddRow(new string[] { "S_CLIENT", "NabChq" }); table4.AddRow(new string[] { "S_JOB_ID", "NabChqPod" }); table4.AddRow(new string[] { "S_MODIFIED", "0" }); table4.AddRow(new string[] { "S_COMPLETE", "0" }); table4.AddRow(new string[] { "S_BATCH", "58300013" }); table4.AddRow(new string[] { "S_TRACE", "000111222" }); table4.AddRow(new string[] { "S_PRIORITY", "5" }); table4.AddRow(new string[] { "S_VERSION", "4.0.2.152" }); table4.AddRow(new string[] { "S_SDATE", "17/03/15" }); table4.AddRow(new string[] { "RoutingKey", "NSBD" }); #line 26 testRunner.Then("a DipsQueue table row will exist with the following CorrectTransaction values", ((string)(null)), table4, "Then "); #line hidden TechTalk.SpecFlow.Table table5 = new TechTalk.SpecFlow.Table(new string[] { "S_BATCH", "S_TRACE", "S_LENGTH", "batch", "trace", "proc_date", "ead", "ser_num", "bsb_num", "acc_num", "trancode", "amount", "job_id", "micr_unproc_flag", "doc_type", "processing_state", "captureBSB", "collecting_bank", "unit_id" }); table5.AddRow(new string[] { "58300013", "000111222", "01025", "58300013", "000111222", "20150317", "", "001193", "013812", "256902729", "50", "45.67", "NabChqPod", "0", "CRT", "SA", "085384", "123456", "123" }); table5.AddRow(new string[] { "58300013", "000111223", "01025", "58300013", "000111223", "20150317", "", "001193", "092002", "814649", "50", "2341.45", "NabChqPod", "0", "DBT", "SA", "085384", "123456", "123" }); #line 40 testRunner.And("DipsNabChq table rows will exist with the following CorrectTransaction values", ((string)(null)), table5, "And "); #line hidden TechTalk.SpecFlow.Table table6 = new TechTalk.SpecFlow.Table(new string[] { "BATCH", "TRACE", "TABLE_NO" }); table6.AddRow(new string[] { "58300013", "000111222", "0" }); table6.AddRow(new string[] { "58300013", "000111223", "0" }); #line 44 testRunner.And("DipsDbIndex table rows will exist with the following CorrectTransaction values", ((string)(null)), table6, "And "); #line hidden this.ScenarioCleanup(); }
public virtual void UpdateAccountDataInTheAccountPage() { string[] tagsOfScenario = new string[] { "mytag" }; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Update Account data in the Account page", null, new string[] { "mytag" }); #line 4 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 5 testRunner.Given("Login Blazor web page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 6 testRunner.And("go to MyProfile page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "UserName", "RealName", "Email", "KeepMyEmailAddressPrivate", "Company", "Location" }); table1.AddRow(new string[] { "Matt Damon", "Carlos Orellana", "*****@*****.**", "True", "SoftCompany", "Home" }); #line 7 testRunner.When("in the \'Account\' page, set the following values:", ((string)(null)), table1, "When "); #line hidden #line 11 testRunner.And("in the \'Account page, click on [Update] button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 12 testRunner.And("in the \'Update\' popup, click on [OK] button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 13 testRunner.Then("in the \'Account\' page the \'Account\' span is displayed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "UserName", "RealName", "Email", "KeepMyEmailAddressPrivate", "Company", "Location" }); table2.AddRow(new string[] { "Matt Damon", "Carlos Orellana", "*****@*****.**", "True", "SoftCompany", "Home" }); #line 14 testRunner.Then("in the \'Account\' page, validate the expected values in the form:", ((string)(null)), table2, "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void LoginPageUsernameAndPasswordDisplayed() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Login Page Username and Password displayed", null, new string[] { "TT" }); #line 5 this.ScenarioInitialize(scenarioInfo); this.ScenarioStart(); #line 6 testRunner.Given("I have opened VersionTwo demosite", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 7 testRunner.When("I am on the demo website", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 8 testRunner.Then("Username and Password fields are shown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void TestWFWithAdvancedRecordsetSelectAll() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Test WF with Advanced Recordset Select All", ((string[])(null))); #line 6 this.ScenarioSetup(scenarioInfo); #line 7 testRunner.Given("I have a workflow \"AdvancedRecsetTestWF\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "variable", "value" }); table1.AddRow(new string[] { "[[person(1).name]]", "Bob" }); table1.AddRow(new string[] { "[[person(2).name]]", "Alice" }); table1.AddRow(new string[] { "[[person(1).surname]]", "Smith" }); table1.AddRow(new string[] { "[[person(2).surname]]", "Jones" }); #line 8 testRunner.And("\"AdvancedRecsetTestWF\" contains an Assign \"assignrecordset\" as", ((string)(null)), table1, "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "MappedTo", "MappedFrom" }); table2.AddRow(new string[] { "name", "[[TableCopy().name]]" }); table2.AddRow(new string[] { "surname", "[[TableCopy().surname]]" }); #line 14 testRunner.And("\"AdvancedRecsetTestWF\" contains Advanced Recordset \"selectall\" with Query \"Select" + " * from person\"", ((string)(null)), table2, "And "); #line 18 testRunner.And("I save workflow \"AdvancedRecsetTestWF\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 19 testRunner.Then("the test builder is open with \"AdvancedRecsetTestWF\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 20 testRunner.And("I click New Test", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 21 testRunner.And("a new test is added", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 22 testRunner.And("test name starts with \"Test 1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] { "Variable Name", "Condition", "Value" }); table3.AddRow(new string[] { "[[person(1).name]]", "=", "Bob" }); table3.AddRow(new string[] { "[[person(2).name]]", "=", "Alice" }); table3.AddRow(new string[] { "[[person(1).surname]]", "=", "Smith" }); table3.AddRow(new string[] { "[[person(2).surname]]", "=", "Jones" }); #line 23 testRunner.And("I Add \"assignrecordset\" as TestStep with", ((string)(null)), table3, "And "); #line hidden TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] { "Variable Name", "Condition", "Value" }); table4.AddRow(new string[] { "[[TableCopy(2).name]]", "=", "Alice" }); table4.AddRow(new string[] { "[[TableCopy(2).surname]]", "=", "Jones" }); #line 29 testRunner.And("I Add \"selectall\" as TestStep with", ((string)(null)), table4, "And "); #line 33 testRunner.When("I save", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 34 testRunner.And("I run the test", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 35 testRunner.Then("test result is Passed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 36 testRunner.When("I delete \"Test 1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 37 testRunner.Then("The \"DeleteConfirmation\" popup is shown I click Ok", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 38 testRunner.Then("workflow \"AdvancedRecsetTestWF\" is deleted as cleanup", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void FeatureBackground() { #line 6 #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Mandant", "Modus" }); table1.AddRow(new string[] { "Mandant_1", "strassennamen" }); #line 7 testRunner.Given("folgende Einstellungen existieren:", ((string)(null)), table1, "Gegeben sei "); #line 10 testRunner.And("ich bin Data-Manager von \'Mandant_1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Und "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Id", "Strassenname", "Abschnittsnummer", "BezeichnungVon", "BezeichnungBis", "Strasseneigentümer", "Belastungskategorie", "Trottoir", "Länge", "Breite Fahrbahn", "BreiteTrottoirLinks", "BreiteTrottoirRechts" }); table2.AddRow(new string[] { "1", "Kantonsstrasse", "1", "0.2", "2.0", "Gemeinde", "III", "kein Trottoir", "1800", "19.56", "0", "0" }); table2.AddRow(new string[] { "2", "Kantonsstrasse", "2", "2.0", "7.0", "Gemeinde", "IV", "links", "5000", "19.00", "2.32", "0" }); table2.AddRow(new string[] { "3", "Landstrasse", "1", "0.0", "2.5", "Privat", "III", "rechts", "2500", "20.00", "0", "1.9" }); table2.AddRow(new string[] { "4", "Hauptstrasse", "5", "1.2", "2.5", "Gemeinde", "II", "beide", "1300", "15.00", "1.4", "1.35" }); table2.AddRow(new string[] { "5", "Hauptstrasse", "4", "0.4", "1.2", "Korporation", "IC", "Noch nicht erfasst", "800", "8.45", "", "" }); table2.AddRow(new string[] { "6", "Hauptstrasse", "1", "0.0", "0.1", "Korporation", "IB", "kein Trottoir", "100", "12.87", "0", "0" }); table2.AddRow(new string[] { "7", "Hauptstrasse", "2", "0.1", "0.2", "Korporation", "IB", "rechts", "100", "12.87", "0", "1.1" }); table2.AddRow(new string[] { "8", "Hauptstrasse", "3", "0.2", "0.4", "Korporation", "IB", "links", "200", "12.87", "1.2", "0" }); #line 11 testRunner.And("folgende Netzinformationen existieren:", ((string)(null)), table2, "Und "); #line hidden }
public virtual void RetrieveANotificationByItsId() { string[] tagsOfScenario = ((string[])(null)); System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Retrieve a notification by its Id", null, tagsOfScenario, argumentsOfScenario, this._featureTags); #line 7 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "NotificationType", "UserId", "Timestamp", "PropertiesJson", "CorrelationIds" }); table2.AddRow(new string[] { "marain.test.notification.v1", "304ABC0E-08AF-4EF5-A9AC-281B67D633F4", "2012-03-19T07:22Z", "{ \"prop1\": \"val1\" }", "[\"id1\", \"id2\"]" }); #line 8 testRunner.Given("I have created and stored a notification in the current transient tenant and call" + "ed the result \'output\'", ((string)(null)), table2, "Given "); #line hidden #line 11 testRunner.When("I send an API delivery request for the user notification with the same Id as the " + "user notification called \'output\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 12 testRunner.Then("the response status code should be \'OK\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 13 testRunner.And("the response content should have a property called \'_links.self\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 14 testRunner.And("the response content should have a string property called \'userId\' with value \'30" + "4ABC0E-08AF-4EF5-A9AC-281B67D633F4\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 15 testRunner.And("the response content should have a string property called \'notificationType\' with" + " value \'marain.test.notification.v1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.And("the response content should have a date-time property called \'timestamp\' with val" + "ue \'2012-03-19T07:22Z\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 17 testRunner.And("the response content should have a boolean property called \'delivered\' with value" + " \'true\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 18 testRunner.And("the response content should have a boolean property called \'read\' with value \'fal" + "se\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 19 testRunner.And("the response content should have a string property called \'properties.prop1\' with" + " value \'val1\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden } this.ScenarioCleanup(); }
public virtual void ResetCards() { string[] tagsOfScenario = ((string[])(null)); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Reset cards", null, ((string[])(null))); #line 3 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 4 testRunner.Given("I have added a new room to the hub with the card deck \"1,2,3,4,5,6\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 5 testRunner.And("I let a user with username \"Jim Hopper\" join room \"1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 6 testRunner.And("I let a user with username \"Jane Hopper\" join room \"1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 7 testRunner.And("I let a user with username \"Joyce Byers\" join room \"1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 8 testRunner.And("user \"Jim Hopper\" in room \"1\" selects card \"4\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 9 testRunner.And("user \"Jane Hopper\" in room \"1\" selects card \"6\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 10 testRunner.And("user \"Joyce Byers\" in room \"1\" selects card \"1\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 11 testRunner.When("the cards in room \"1\" are revealed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 12 testRunner.And("the cards in room \"1\" are reset", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 13 testRunner.Then("the cards in room \"1\" should not be revealed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 14 testRunner.And("user \"Jim Hopper\" in room \"1\" should have card \"-1\" selected", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 15 testRunner.And("user \"Jane Hopper\" in room \"1\" should have card \"-1\" selected", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.And("user \"Joyce Byers\" in room \"1\" should have card \"-1\" selected", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden } this.ScenarioCleanup(); }
public virtual void ValidFormSubmission() { string[] tagsOfScenario = new string[] { "regression" }; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Valid Form Submission", null, new string[] { "regression" }); #line 8 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 9 testRunner.Given("I navigate to the BlueSky Testing Form", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 10 testRunner.When("I enter the Single Line Text", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 11 testRunner.And("I enter the one in the select Box", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 12 testRunner.And("I enter Email", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 13 testRunner.And("I select the Multi-Select", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 14 testRunner.And("I select the Radio List", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 15 testRunner.And("I select the Check Box List", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.And("I select United Kingdom as Country", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 17 testRunner.And("I select 17th of the current month", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 18 testRunner.And("I enter Paragraph Text", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 19 testRunner.And("I click on the Submit button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 20 testRunner.Then("message \"Your Form is successfully submitted\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void SearchForABusiness_() { string[] tagsOfScenario = new string[] { "regression" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Search for a business.", null, tagsOfScenario, argumentsOfScenario); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 6 testRunner.Given("I navigate to the self registration portal", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "FirstName", "LastName", "Email", "Mobile" }); table1.AddRow(new string[] { "Didier", "Drogba", "*****@*****.**", "07956827903" }); #line 7 testRunner.When("I enter the following details", ((string)(null)), table1, "When "); #line hidden #line 10 testRunner.And("I click the continue button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 11 testRunner.Then("I should see the eligibility page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 13 testRunner.When("I enter the loan amount as \'10000\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 14 testRunner.And("I enter the loan purpose as \'Business\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 15 testRunner.And("I click the next button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.Then("I should see the ABR search page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 18 testRunner.When("I enter \'ncino\' in the company name field", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 19 testRunner.And("I select NCINO APAC PTY LTD", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "EntityName", "EntityType", "BusinessLocationState", "ABN", "ASICRegistration", "BusinessPostcode" }); table2.AddRow(new string[] { "NCINO APAC PTY LTD", "Australian Private Company", "NSW", "42622945493", "622945493", "2060" }); #line 20 testRunner.Then("the following fields should be populated", ((string)(null)), table2, "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void VerifySellerIsAbleToLoginToPortal() { string[] tagsOfScenario = new string[] { "mytag" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Verify seller is able to Login to portal", null, tagsOfScenario, argumentsOfScenario); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 7 testRunner.Given("I navigate to skill exchange Portal", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 8 testRunner.When("I add username \"[email protected]\" and password \"AruPriya@29\" to the inputfie" + "ld and press submit", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 9 testRunner.Then("I am able to navigate to skill exchange portal of user\'s login \"Hi Ramapriya\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 11 testRunner.When("I select Profile option", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 12 testRunner.Then("I am able to see Profile page of \"Ramapriya Arumugam\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 14 testRunner.When("I enter \"I am an IT Analyst.\" to the textbox after clicking Edit icon", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 15 testRunner.And("When I save the description", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.Then("I verify that the\"I am an IT Analyst.\" description is displayed in textbox", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 18 testRunner.When("I navigate to skill table", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 19 testRunner.And("I click Add New button of Skill and add skill type \"Cobol\" and choose level \"Expe" + "rt\" from dropdown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 20 testRunner.Then("the added skill details \"Cobol\", \"Expert\" got displayed in skill field.", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 22 testRunner.When("I click update button for skillType and update the skillType \"Cobol\" to \"C#\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 23 testRunner.Then("I verify that selected skillType \"C#\" got updated", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 25 testRunner.When("I click delete button for skillType \"C#\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 26 testRunner.Then("I verify that selected skillType \"C#\" got deleted", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 28 testRunner.When("I click edit icon and change Availability to \"Full Time\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 29 testRunner.And("I click edit icon and change Hours to \"More than 30hours a week\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 30 testRunner.Then("I see the option \"Full Time\" for Availability and \"More than 30hours a week\" for " + "Hours", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void _001_Cases_DocumentsPageVerification() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("001 - Cases- Documents page verification", new string[] { "CasesTab" }); #line 9 this.ScenarioSetup(scenarioInfo); #line 10 testRunner.Given("I enter to Documents page as superuser", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 11 testRunner.Then("\'Document Management\' header should be displayed on Document Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 12 testRunner.When("I click on Filter on Documents page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 13 testRunner.Then("Documents \'FILTER OPTIONS\' should be displayed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 14 testRunner.When("I click on close on Documents page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 15 testRunner.Then("Documents \'FILTER OPTIONS\' should be closed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 16 testRunner.And("I SignOut from the Unity Application", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden this.ScenarioCleanup(); }
public virtual void SignUpToWebsite_Positive() { string[] tagsOfScenario = new string[] { "Sanity_Web" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Sign up to website_positive", null, tagsOfScenario, argumentsOfScenario); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 6 testRunner.Given("I launch the website login page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table6 = new TechTalk.SpecFlow.Table(new string[] { "Email" }); table6.AddRow(new string[] { "*****@*****.**" }); #line 7 testRunner.When("I sign up to website with the following email", ((string)(null)), table6, "When "); #line hidden TechTalk.SpecFlow.Table table7 = new TechTalk.SpecFlow.Table(new string[] { "Title", "First Name", "Last Name", "Password", "Address", "City", "State", "Zip", "Phone" }); table7.AddRow(new string[] { "Mrs", "Donna", "Martin", "98765", "Beverly Hills", "Los Angeles", "California", "90210", "032567890" }); #line 10 testRunner.And("I create an account with the following details", ((string)(null)), table7, "And "); #line hidden #line 13 testRunner.Then("I go to my account", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void CorrectingErrorsOnSqlBulkInsertClickingDoneShowsSmallViewUsingIds() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Correcting errors on sql bulk insert clicking Done shows small view (using ids)", new string[] { "SQLBulkInsert" }); #line 7 this.ScenarioSetup(scenarioInfo); #line 8 testRunner.Given("I have Warewolf running", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 9 testRunner.And("all tabs are closed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 10 testRunner.And("I click \"EXPLORER,UI_localhost_AutoID\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 11 testRunner.And("I click \"RIBBONNEWENDPOINT\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 12 testRunner.Given("I double click \"TOOLBOX,PART_SearchBox\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 13 testRunner.Given("I send \"{Delete}\" to \"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 15 testRunner.When("I send \"Sql\" to \"TOOLBOX,PART_SearchBox\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 16 testRunner.Then("I drag \"TOOLBOX,PART_Tools,Recordset,Dev2.Activities.DsfSqlBulkInsertActivity\" on" + "to \"WORKSURFACE,StartSymbol\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 18 testRunner.Given("I double click \"WORKFLOWDESIGNER,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(Sql" + "BulkInsertDesigner)\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 20 testRunner.And("I click \"WORKFLOWDESIGNER,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(SqlBulkIns" + "ertDesigner),DoneButton\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 21 testRunner.Given("\"WORKSURFACE,UI_Error0_AutoID\" is visible", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 22 testRunner.Given("\"WORKSURFACE,UI_Error1_AutoID\" is visible", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 23 testRunner.Given("\"WORKSURFACE,UI_Error2_AutoID\" is visible", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 25 testRunner.Given("I click point \"151,42\" on \"UI_DocManager_AutoID,UI_SplitPane_AutoID,UI_TabManager" + "_AutoID,UI_WorkflowDesigner_AutoID,UserControl_1,scrollViewer,ActivityTypeDesign" + "er,WorkflowItemPresenter,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(SqlBulkIns" + "ertDesigner)\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 26 testRunner.And("I send \"testingDBSrc{ENTER}\" to \"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 27 testRunner.Given("I click point \"148,75\" on \"UI_DocManager_AutoID,UI_SplitPane_AutoID,UI_TabManager" + "_AutoID,UI_WorkflowDesigner_AutoID,UserControl_1,scrollViewer,ActivityTypeDesign" + "er,WorkflowItemPresenter,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(SqlBulkIns" + "ertDesigner)\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 28 testRunner.And("I send \"dbo.City{ENTER}\" to \"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 29 testRunner.And("I click \"WORKFLOWDESIGNER,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(SqlBulkIns" + "ertDesigner),DoneButton\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 30 testRunner.Given(@"""UI_DocManager_AutoID,UI_SplitPane_AutoID,UI_TabManager_AutoID,UI_WorkflowDesigner_AutoID,UserControl_1,scrollViewer,ActivityTypeDesigner,WorkflowItemPresenter,Unsaved 1(FlowchartDesigner),SQL Bulk Insert(SqlBulkInsertDesigner),SmallViewContent,UI__Database_AutoID"" is visible", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 32 testRunner.Given("I double click \"TOOLBOX,PART_SearchBox\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 33 testRunner.Given("I send \"{Delete}\" to \"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden this.ScenarioCleanup(); }
public virtual void PasDeVainqueurSiLeScrutinNestPasCloture() { string[] tagsOfScenario = ((string[])(null)); System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Pas de vainqueur si le scrutin n\'est pas clôturé", null, tagsOfScenario, argumentsOfScenario, this._featureTags); #line 4 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Name" }); table1.AddRow(new string[] { "candidat1" }); table1.AddRow(new string[] { "candidat2" }); #line 5 testRunner.Given("Les differents candidats", ((string)(null)), table1, "Given "); #line hidden #line 9 testRunner.When("Ouvrir scrutin", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Name", "VoteNumbers" }); table2.AddRow(new string[] { "candidat1", "100" }); table2.AddRow(new string[] { "candidat2", "300" }); table2.AddRow(new string[] { "Vote Blanc", "1" }); #line 10 testRunner.Given("Les differents vote par candidats", ((string)(null)), table2, "Given "); #line hidden #line 15 testRunner.When("Recherche du vainqueur", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 16 testRunner.Then("Le résultat devrait être Le scrutin n\'est pas fini, pas de vainqueur.", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void DeleteLastRecordInARecordset() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Delete last record in a recordset", ((string[])(null))); #line 7 this.ScenarioSetup(scenarioInfo); #line hidden TechTalk.SpecFlow.Table table995 = new TechTalk.SpecFlow.Table(new string[] { "rs", "val" }); table995.AddRow(new string[] { "rs().row", "1" }); table995.AddRow(new string[] { "rs().row", "2" }); table995.AddRow(new string[] { "rs().row", "3" }); #line 8 testRunner.Given("I have the following recordset", ((string)(null)), table995, "Given "); #line 13 testRunner.And("I delete a record \"[[rs()]]\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 14 testRunner.When("the delete tool is executed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 15 testRunner.Then("the delete result should be \"Success\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table996 = new TechTalk.SpecFlow.Table(new string[] { "rs", "val" }); table996.AddRow(new string[] { "rs().row", "1" }); table996.AddRow(new string[] { "rs().row", "2" }); #line 16 testRunner.And("the recordset \"[[rs(*).row]]\" will be as follows", ((string)(null)), table996, "And "); #line 20 testRunner.And("the execution has \"NO\" error", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table997 = new TechTalk.SpecFlow.Table(new string[] { "Records" }); table997.AddRow(new string[] { "[[rs(3).row]] = 3" }); #line 21 testRunner.And("the debug inputs as", ((string)(null)), table997, "And "); #line hidden TechTalk.SpecFlow.Table table998 = new TechTalk.SpecFlow.Table(new string[] { "" }); table998.AddRow(new string[] { "[[result]] = Success" }); #line 24 testRunner.And("the debug output as", ((string)(null)), table998, "And "); #line hidden TechTalk.SpecFlow.Table table999 = new TechTalk.SpecFlow.Table(new string[] { "" }); table999.AddRow(new string[] { "[[result]] = Success" }); #line 27 testRunner.And("the debug output as", ((string)(null)), table999, "And "); #line hidden this.ScenarioCleanup(); }
public virtual void _640_AC01_PaymentForADASLearnerWithANegotiatedPriceAboveTheFundingBandCap() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("640-AC01-Payment for a DAS learner with a negotiated price above the funding band" + " cap", ((string[])(null))); #line 4 this.ScenarioSetup(scenarioInfo); #line 5 testRunner.Given("levy balance > agreed price for all months", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 6 testRunner.And("the apprenticeship funding band maximum is 15000", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table174 = new TechTalk.SpecFlow.Table(new string[] { "commitment Id", "version Id", "Provider", "ULN", "start date", "end date", "agreed price", "standard code", "status", "effective from", "effective to" }); table174.AddRow(new string[] { "1", "1", "provider a", "learner a", "01/08/2017", "01/08/2018", "18000", "50", "active", "01/08/2017", "" }); #line 7 testRunner.And("the following commitments exist:", ((string)(null)), table174, "And "); #line hidden TechTalk.SpecFlow.Table table175 = new TechTalk.SpecFlow.Table(new string[] { "Provider", "ULN", "learner type", "agreed price", "start date", "planned end date", "actual end date", "completion status", "standard code" }); table175.AddRow(new string[] { "provider a", "learner a", "programme only DAS", "18000", "06/08/2017", "08/08/2018", "", "continuing", "50" }); #line 10 testRunner.When("an ILR file is submitted with the following data:", ((string)(null)), table175, "When "); #line hidden TechTalk.SpecFlow.Table table176 = new TechTalk.SpecFlow.Table(new string[] { "Provider", "price episode", "negotiated price", "funding cap", "previous funding paid", "price above cap", "effective price for SFA payments" }); table176.AddRow(new string[] { "provider a", "08/17 onwards", "18000", "15000", "0", "3000", "15000" }); #line 13 testRunner.Then("the following capping will apply to the price episodes:", ((string)(null)), table176, "Then "); #line hidden TechTalk.SpecFlow.Table table177 = new TechTalk.SpecFlow.Table(new string[] { "Type", "08/17", "09/17", "10/17", "11/17", "12/17" }); table177.AddRow(new string[] { "Provider Earned Total", "1000", "1000", "1000", "1000", "1000" }); table177.AddRow(new string[] { "Provider Earned from SFA", "1000", "1000", "1000", "1000", "1000" }); table177.AddRow(new string[] { "Provider Earned from Employer", "0", "0", "0", "0", "0" }); table177.AddRow(new string[] { "Provider Paid by SFA", "0", "1000", "1000", "1000", "1000" }); table177.AddRow(new string[] { "Payment due from Employer", "0", "0", "0", "0", "0" }); table177.AddRow(new string[] { "Levy account debited", "0", "1000", "1000", "1000", "1000" }); table177.AddRow(new string[] { "SFA Levy employer budget", "1000", "1000", "1000", "1000", "1000" }); table177.AddRow(new string[] { "SFA Levy co-funding budget", "0", "0", "0", "0", "0" }); table177.AddRow(new string[] { "SFA Levy additional payments budget", "0", "0", "0", "0", "0" }); table177.AddRow(new string[] { "SFA non-Levy co-funding budget", "0", "0", "0", "0", "0" }); #line 16 testRunner.And("the provider earnings and payments break down as follows:", ((string)(null)), table177, "And "); #line hidden TechTalk.SpecFlow.Table table178 = new TechTalk.SpecFlow.Table(new string[] { "Payment type", "09/17", "10/17", "11/17", "12/17" }); table178.AddRow(new string[] { "On-program", "1000", "1000", "1000", "1000" }); table178.AddRow(new string[] { "Completion", "0", "0", "0", "0" }); table178.AddRow(new string[] { "Balancing", "0", "0", "0", "0" }); table178.AddRow(new string[] { "Employer 16-18 incentive", "0", "0", "0", "0" }); table178.AddRow(new string[] { "Provider 16-18 incentive", "0", "0", "0", "0" }); table178.AddRow(new string[] { "Provider disadvantage uplift", "0", "0", "0", "0" }); #line 28 testRunner.And("the transaction types for the payments are:", ((string)(null)), table178, "And "); #line hidden this.ScenarioCleanup(); }
public virtual void CreatingDynamicSetWithTheUseOfStepArgumentTransformation() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Creating dynamic set with the use of step argument transformation", ((string[])(null))); #line 6 this.ScenarioSetup(scenarioInfo); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Name", "Age", "Birth date", "Length in meters" }); table1.AddRow(new string[] { "Marcus", "39", "1972-10-09", "1.96" }); table1.AddRow(new string[] { "Albert", "3", "2008-01-24", "1.03" }); table1.AddRow(new string[] { "Gustav", "1", "2010-03-19", "0.84" }); table1.AddRow(new string[] { "Arvid", "1", "2010-03-19", "0.85" }); #line 7 testRunner.Given("I create a set of dynamic instances from this table using step argument transform" + "ation", ((string)(null)), table1, "Given "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Name", "Age", "Birth date", "Length in meters" }); table2.AddRow(new string[] { "Marcus", "39", "1972-10-09", "1.96" }); table2.AddRow(new string[] { "Albert", "3", "2008-01-24", "1.03" }); table2.AddRow(new string[] { "Gustav", "1", "2010-03-19", "0.84" }); table2.AddRow(new string[] { "Arvid", "1", "2010-03-19", "0.85" }); #line 13 testRunner.When("I compare the set to this table using step argument transformation", ((string)(null)), table2, "When "); #line 19 testRunner.Then("no set comparison exception should have been thrown", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void ReturnOneMillion() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Return one million", ((string[])(null))); #line 6 this.ScenarioSetup(scenarioInfo); #line 7 testRunner.Given("I have an integer value of 1000000"); #line 8 testRunner.When("I get the text"); #line 9 testRunner.Then("the result should be one million"); #line hidden testRunner.CollectScenarioErrors(); }
public virtual void OrderT_Shirt() { string[] tagsOfScenario = new string[] { "mytag" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Order T-Shirt", null, tagsOfScenario, argumentsOfScenario, this._featureTags); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Url", "BrowserName" }); table1.AddRow(new string[] { "http://automationpractice.com", "Chrome" }); #line 6 testRunner.Given("I launch the Retails application using below details", ((string)(null)), table1, "Given "); #line hidden #line 9 testRunner.Then("I should be displayed with \"Home\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 10 testRunner.When("I click on \"Sign In\" link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 11 testRunner.Then("I should be displayed with \"Authentication\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "EmailAddress", "Password" }); table2.AddRow(new string[] { "*****@*****.**", "Siva052021" }); #line 12 testRunner.When("I login using below details", ((string)(null)), table2, "When "); #line hidden #line 15 testRunner.And("I click on \"Sign In\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 16 testRunner.Then("I should be displayed with \"My Account\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 17 testRunner.When("I click on \"TShirts\" link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 18 testRunner.Then("I should be displayed with \"Tshirts\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 19 testRunner.When("I move the cursor on to Tshirt image and click on \"Add To Cart\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 20 testRunner.And("I click on \"Proceed To Checkout\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 21 testRunner.Then("I should be displayed with \"Shopping Cart Summary\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 22 testRunner.When("I click on \"Proceed To Checkout\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 23 testRunner.Then("I should be displayed with \"Address\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 24 testRunner.When("I click on \"Proceed To Checkout\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 25 testRunner.Then("I should be displayed with \"Shipping\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 26 testRunner.When("I click on Agree \"Terms of Services\" checkbox", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 27 testRunner.And("I click on \"Proceed To Checkout\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 28 testRunner.Then("I should be displayed with \"Payment Method\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 29 testRunner.When("I click on \"Pay By Bank Wire\" link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 30 testRunner.Then("I should be displayed with \"Order Summary\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 31 testRunner.When("I click on \"Confirm My Order\" button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 32 testRunner.Then("I should be displayed with \"Order Confirmation\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 33 testRunner.And("I should be dispalyed with Order Confirmation details", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 34 testRunner.When("I click on \"Back To Orders\" link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 35 testRunner.Then("I should be displayed with \"Order History\" screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 36 testRunner.When("I verify the Order Reference generated and click on the same", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 37 testRunner.Then("I should be displayed with Order Status Step by Step", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void LimitArgumentOptionsToEnumValues() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Limit argument options to enum values", ((string[])(null))); #line 6 this.ScenarioSetup(scenarioInfo); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Product Name" }); table1.AddRow(new string[] { "Galaxy IV" }); table1.AddRow(new string[] { "iPhone" }); table1.AddRow(new string[] { "Windows Phone" }); table1.AddRow(new string[] { "Note" }); table1.AddRow(new string[] { "Kindle" }); #line 7 testRunner.Given("the following devices", ((string)(null)), table1, "Given "); #line 14 testRunner.When("I sort by product name ascending", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Product Name", "Index" }); table2.AddRow(new string[] { "Galaxy IV", "1" }); table2.AddRow(new string[] { "iPhone", "2" }); table2.AddRow(new string[] { "Kindle", "3" }); table2.AddRow(new string[] { "Note", "4" }); table2.AddRow(new string[] { "Windows Phone", "5" }); #line 15 testRunner.Then("they should be in the following order", ((string)(null)), table2, "Then "); #line 22 testRunner.When("I sort by product name descending", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] { "Product Name", "Index" }); table3.AddRow(new string[] { "Windows Phone", "1" }); table3.AddRow(new string[] { "Note", "2" }); table3.AddRow(new string[] { "Kindle", "3" }); table3.AddRow(new string[] { "iPhone", "4" }); table3.AddRow(new string[] { "Galaxy IV", "5" }); #line 23 testRunner.Then("they should be in the following order", ((string)(null)), table3, "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void MergingAllArtifacts() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Merging all artifacts", ((string[])(null))); #line 6 this.ScenarioSetup(scenarioInfo); #line 8 testRunner.Given("there is bob repository cloned into \"D:/Projects/bob\" directory", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 9 testRunner.And("\"D:/Projects/bob\" is the working directory", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 10 testRunner.And("there is bob repository already restored in \"D:/Projects/bob/packages\" directory", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 11 testRunner.And("there is bob repository already compiled in \"D:/Projects/bob/build/output\" direct" + "ory", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Code" }); table1.AddRow(new string[] { "ILRepack.Merge(parameters =>" }); table1.AddRow(new string[] { "{" }); table1.AddRow(new string[] { "parameters.Output = FileSystem.Directories.Relative(\"build/merge/bob.exe\");" }); table1.AddRow(new string[] { "parameters.Primary = FileSystem.Files.Match(\"build/output/bob.exe\");" }); table1.AddRow(new string[] { "parameters.Assemblies = FileSystem.Files.Match(\"build/output/*.dll\");" }); table1.AddRow(new string[] { "})" }); #line 12 testRunner.When("I execute the following task", ((string)(null)), table1, "When "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Parameter", "Value" }); table2.AddRow(new string[] { "Process", "D:\\Projects\\bob\\packages\\ilrepack.1.26.0\\tools\\ilrepack.exe" }); table2.AddRow(new string[] { "WorkingDirectory", "D:\\Projects\\bob" }); table2.AddRow(new string[] { "Arguments", "/out:D:\\Projects\\bob\\build\\merge\\bob.exe D:\\Projects\\bob\\build\\output\\Bob.exe D:\\" + "Projects\\bob\\build\\output\\Microsoft.CodeAnalysis.CSharp.dll D:\\Projects\\bob\\buil" + "d\\output\\Microsoft.CodeAnalysis.dll" }); #line 22 testRunner.Then("the following process is being executed", ((string)(null)), table2, "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void EnterTooShortName(string name, string[] exampleTags) { string[] @__tags = new string[] { "Invalid_TooShortName" }; if ((exampleTags != null)) { @__tags = System.Linq.Enumerable.ToArray(System.Linq.Enumerable.Concat(@__tags, exampleTags)); } TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Enter too short name", @__tags); #line 7 this.ScenarioSetup(scenarioInfo); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Username", "Password" }); table1.AddRow(new string[] { "test001", "Test1234" }); #line 8 testRunner.Given("I am logged into my account", ((string)(null)), table1, "Given "); #line 11 testRunner.Given("I am on the fundamental information page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 12 testRunner.And(string.Format("I entered \"{0}\" less than 2 characters for the name", name), ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 13 testRunner.When("I press save", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 14 testRunner.Then("error msg 最少需要输入 2 个字符 should be shown under the name input", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void ShouldFindAFrameworkAndProvider() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Should find a framework and provider", new string[] { "E2E", "Prod" }); #line 7 this.ScenarioSetup(scenarioInfo); #line 8 testRunner.Given("I navigated to the Start page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Token", "Key" }); table1.AddRow(new string[] { "JOBROLE", "data.framework.JOBROLE" }); table1.AddRow(new string[] { "Postcode", "data.framework.Postcode" }); #line 9 testRunner.Given("I have data in the config", ((string)(null)), table1, "Given "); #line 14 testRunner.And("I navigated to the Start page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 15 testRunner.When("I choose Start Button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 16 testRunner.Then("I am on the Search page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Value" }); table2.AddRow(new string[] { "Search Box", "{JOBROLE}" }); #line 18 testRunner.When("I enter data", ((string)(null)), table2, "When "); #line 21 testRunner.And("I choose Search Button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 22 testRunner.Then("I am on the Search Results page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 24 testRunner.When("I choose First Framework Result", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 25 testRunner.Then("I am on the Framework Details page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 26 testRunner.When("I choose Search Page Button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 27 testRunner.Then("I am on the Framework Provider Search page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Value" }); table3.AddRow(new string[] { "Postcode Search Box", "{Postcode}" }); #line 29 testRunner.When("I enter data", ((string)(null)), table3, "When "); #line 32 testRunner.When("I choose Search Button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 33 testRunner.Then("I am on the Framework Provider Results page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 34 testRunner.And("I see Provider Results list contains at least 1 items", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 36 testRunner.When("I choose First Provider Link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 37 testRunner.Then("I am on the Provider Details page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] { "Field", "Rule", "Value" }); table4.AddRow(new string[] { "Provider Name", "Exists", "true" }); #line 38 testRunner.And("I see", ((string)(null)), table4, "And "); #line hidden this.ScenarioCleanup(); }
public virtual void CreatingNewRedisSource() { string[] tagsOfScenario = new string[] { "RedisSource", "MSTest:DeploymentItem:InfragisticsWPF4.Controls.Interactions.XamDialogWindow.v15." + "1.dll", "MSTest:DeploymentItem:InfragisticsWPF4.Controls.Grids.XamGrid.v15.1.dll", "MSTest:DeploymentItem:InfragisticsWPF4.DataPresenter.v15.1.dll", "MSTest:DeploymentItem:Warewolf_Studio.exe", "MSTest:DeploymentItem:Newtonsoft.Json.dll", "MSTest:DeploymentItem:Microsoft.Practices.Prism.SharedInterfaces.dll", "MSTest:DeploymentItem:Warewolf.Studio.Themes.Luna.dll", "MSTest:DeploymentItem:System.Windows.Interactivity.dll", "MSTest:DeploymentItem:EnableDocker.txt" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Creating New Redis Source", null, tagsOfScenario, argumentsOfScenario, this._featureTags); #line 19 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 20 testRunner.Given("I open New Redis Source", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 21 testRunner.Then("\"New Redis Source\" tab is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 22 testRunner.And("title is \"New Redis Source\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 23 testRunner.Given("I type HostName as a valid anonymous redis server", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 24 testRunner.Then("server port is \"6379\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 25 testRunner.And("I type port number as \"6379\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 26 testRunner.Then("\"New Redis Source *\" tab is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 27 testRunner.And("\"Save\" is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 28 testRunner.And("\"Test Connection\" is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 29 testRunner.And("\"Cancel Test\" is \"Disabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 30 testRunner.And("I Select Authentication Type as \"Anonymous\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 31 testRunner.And("Password field is \"Collapsed\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 32 testRunner.When("Test Connecton is \"Successful\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 33 testRunner.And("\"Save\" is \"Enabled\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 34 testRunner.When("I save as \"Testing Redis Source Save\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 35 testRunner.Then("the save dialog is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 36 testRunner.Then("title is \"Testing Redis Source Save\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 37 testRunner.And("\"Testing Redis Source Save\" tab is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden } this.ScenarioCleanup(); }
public virtual void ResumingAWorkflowThatHadFailedToConnect() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Resuming a workflow that had failed to connect", new string[] { "ResumeWorkflowExecution" }); #line 6 this.ScenarioSetup(scenarioInfo); #line 7 testRunner.Given("I have a workflow \"WorkflowWithMysqlToolUsingContainer\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table597 = new TechTalk.SpecFlow.Table(new string[] { "variable", "value" }); table597.AddRow(new string[] { "[[number]]", "1" }); #line 8 testRunner.And("\"WorkflowWithMysqlToolUsingContainer\" contains an Assign \"AssignNumber\" as", ((string)(null)), table597, "And "); #line 11 testRunner.And("\"WorkflowWithMysqlToolUsingContainer\" contains a mysql database service \"ToolUsin" + "gContainerAsTheSource\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table598 = new TechTalk.SpecFlow.Table(new string[] { "variable", "value" }); table598.AddRow(new string[] { "[[outnumber]]", "=[[number]]+1" }); #line 12 testRunner.And("\"WorkflowWithMysqlToolUsingContainer\" contains an Assign \"IncrementNumber\" as", ((string)(null)), table598, "And "); #line 15 testRunner.When("\"WorkflowWithMysqlToolUsingContainer\" is executed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 16 testRunner.Then("the workflow execution has \"AN\" error", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 17 testRunner.And("execution stopped on error and did not execute \"IncrementNumber\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 18 testRunner.And("the \"ToolUsingContainerAsTheSource\" in Workflow \"WorkflowWithMysqlToolUsingContai" + "ner\" has an error", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 19 testRunner.When("I startup the mysql container", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 20 testRunner.And("I select \"NewMySqlSource\" for \"ToolUsingContainerAsTheSource\" as Source", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 21 testRunner.And("I select \"Pr_CitiesGetCountries\" Action for \"ToolUsingContainerAsTheSource\" tool", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 22 testRunner.And("\"WorkflowWithMysqlToolUsingContainer\" is Saved", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 23 testRunner.And("I resume workflow \"WorkflowWithMysqlToolUsingContainer\" at \"ToolUsingContainerAsT" + "heSource\" tool", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 24 testRunner.Then("Resume has \"NO\" error", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 25 testRunner.And("Resume message is \"Execution Completed.\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table599 = new TechTalk.SpecFlow.Table(new string[] { "#", "" }); table599.AddRow(new string[] { "1", "[[outnumber]] = 2" }); #line 26 testRunner.And("the \"IncrementNumber\" in Workflow \"WorkflowWithMysqlToolUsingContainer\" debug out" + "puts as", ((string)(null)), table599, "And "); #line hidden this.ScenarioCleanup(); }
public virtual void Fortgot_Password() { string[] tagsOfScenario = new string[] { "mytag" }; System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary(); TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Fortgot_password", null, tagsOfScenario, argumentsOfScenario, this._featureTags); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 6 testRunner.Given("The user lands on login page as \"https://azdevacclaim.azurewebsites.net/Home/Home" + ".aspx\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden #line 7 testRunner.And("clicks on forgot password? link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "site_id", "enter_email" }); table2.AddRow(new string[] { "Acclaim", "*****@*****.**" }); #line 8 testRunner.And("user fills in required fields as below", ((string)(null)), table2, "And "); #line hidden #line 11 testRunner.When("user clicks button Recover Password", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 12 testRunner.Then("a lable should read \"Email has been sent to your Email Id.\" should display on the" + " screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 13 testRunner.When("user clicks close button on this screen", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 14 testRunner.Then("user should go to the Login page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 15 testRunner.When("user visits its email mentioned email inbox,", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 16 testRunner.Then("user should get a link to define new_passowrd", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden #line 17 testRunner.And("user again login with new_password should land on the pasge with link \"Home\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 18 testRunner.And("switch to other browser window and navigate to \"https://www.office.com/login?es=C" + "lick&ru=%2F \"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 19 testRunner.And("user goes into email conditional to email is logged in", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 20 testRunner.And("user fiinds specfic email from the list containing title forgot password", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 21 testRunner.When("user clicks on the email", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 22 testRunner.Then("user should able to get the password", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void NewItemShouldBeInList() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("New Item Should Be in List", new string[] { "mytag" }); #line 7 this.ScenarioSetup(scenarioInfo); #line 8 testRunner.Given("I have navigated to Angular TodoMvc", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 9 testRunner.When("I have created an Item with text \"Some Text\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 10 testRunner.Then("the item list should contain an item with \"Some Text\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden this.ScenarioCleanup(); }
public virtual void CreateAccountSuccesfully() { string[] tagsOfScenario = new string[] { "smoke" }; TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Create Account Succesfully", null, new string[] { "smoke" }); #line 5 this.ScenarioInitialize(scenarioInfo); #line hidden bool isScenarioIgnored = default(bool); bool isFeatureIgnored = default(bool); if ((tagsOfScenario != null)) { isScenarioIgnored = tagsOfScenario.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((this._featureTags != null)) { isFeatureIgnored = this._featureTags.Where(__entry => __entry != null).Where(__entry => String.Equals(__entry, "ignore", StringComparison.CurrentCultureIgnoreCase)).Any(); } if ((isScenarioIgnored || isFeatureIgnored)) { testRunner.SkipScenario(); } else { this.ScenarioStart(); #line 6 testRunner.Given("I accessed the identification page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "BaseEmail", "EmailProvider" }); table1.AddRow(new string[] { "thiago.grespi90", "gmail.com" }); #line 7 testRunner.When("I identify myself for my first purchase", ((string)(null)), table1, "When "); #line hidden #line 10 testRunner.And("I click the Continuar button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden #line 11 testRunner.And("I access the second step to create my account", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "AccountType", "FullName", "Document", "PhoneType", "PhoneDDD", "Phone", "Phone2Type", "Phone2DDD", "Phone2", "Pass", "BirthdateDay", "BirthdateMonth", "BirthdateYear", "Gender" }); table2.AddRow(new string[] { "PessoaFisica", "Thiago Grespi", "482.483.700-62", "Celular", "16", "991223456", "Residencial", "16", "37214590", "Senha@2020", "25", "07", "1990", "Masculino" }); #line 12 testRunner.And("fill all the information to create my account", ((string)(null)), table2, "And "); #line hidden #line 15 testRunner.When("click the Continuar button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden #line 16 testRunner.Then("the Cart page should be displayed with no items on it", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line hidden } this.ScenarioCleanup(); }
public virtual void AddPatientOrdersAndValidateScrollablePanels() { TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Add Patient, Orders and Validate Scrollable Panels", new string[] { "US4404" }); #line 4 this.ScenarioSetup(scenarioInfo); #line 5 testRunner.Given("I am logged in to the application", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given "); #line 6 testRunner.And("I maximize the browser", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 7 testRunner.Then("I validate the home page after login", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 8 testRunner.When("I click on \'addPatient\' button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line hidden TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] { "Sex", "Module", "Room Number", "Age", "Visit Date" }); table1.AddRow(new string[] { "Male", "ENT", "R101", "25", "12/12/1992" }); #line 9 testRunner.And("I add the following details for the new patient", ((string)(null)), table1, "And "); #line 12 testRunner.And("I click on \'Orders\' link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] { "Medications" }); table2.AddRow(new string[] { "Adoxa" }); table2.AddRow(new string[] { "Actonel" }); table2.AddRow(new string[] { "Abacavir" }); table2.AddRow(new string[] { "Alora" }); #line 13 testRunner.And("I choose \'Medications\' as below", ((string)(null)), table2, "And "); #line hidden TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] { "Labs" }); table3.AddRow(new string[] { "Uric Acid" }); table3.AddRow(new string[] { "Lipid Profile" }); table3.AddRow(new string[] { "Pap Smear" }); table3.AddRow(new string[] { "Microalbumin" }); #line 19 testRunner.And("I choose \'Labs\' as below", ((string)(null)), table3, "And "); #line hidden TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] { "Procedure" }); table4.AddRow(new string[] { "Laceration Repair" }); table4.AddRow(new string[] { "Tooth Replacement" }); table4.AddRow(new string[] { "Eye Exam Basic" }); #line 25 testRunner.And("I choose \'Procedure\' as below", ((string)(null)), table4, "And "); #line 30 testRunner.And("I save the Order", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 31 testRunner.Then("I should be able to scroll the panels", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then "); #line 32 testRunner.And("I close the browser", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line hidden this.ScenarioCleanup(); }