public void PrimaryPageDataVerification_DynamicTriggers() { Go.To <PlansWithDynamicTriggersPage>(); }
protected override void OnSetUp() { page = Go.To <ScrollablePage>(); }
public void PrimaryPageDataVerification_OnVerify() { Go.To <PlansWithOnVerifyPage>(); }
protected override void OnSetUp() { page = Go.To <FindingPage>(); }
public void SetUpFixture() { Go.To <SignInPage>(); }
protected override void OnSetUp() { page = Go.To <PressTriggersPage>(); }
protected override void OnSetUp() { _page = Go.To <StubPage>(); }
protected override void Execute <TOwner>(TriggerContext <TOwner> context) { Go.To <DeletionJQueryConfirmBox <TOwner> >(temporarily: true) .Delete(); }
protected override void Execute <TOwner>(TriggerContext <TOwner> context) { Go.To <DeletionConfirmationBSModal <TOwner> >(temporarily: true) .Delete(); }
public void Test() { Go.To <TPage>(). PageTitle.Should.Equal($"{expectedPageTitle} - Atata Sample App"); }
protected override void OnSetUp() { page = Go.To <InputPage>(); }
protected RozetkaMainPage RozetkaStart() { return(Go.To <RozetkaMainPage>()); }
protected override void OnSetUp() { page = Go.To <CheckBoxListPage>(); }
public void Campaign_Edit() { Data.CampaignTypeData camptype2 = Data.CampaignTypeData.Reliant; Data.CompanyData company = Data.CompanyData.ExistingCompany; Data.Five9DomainTypeData domainType = Data.Five9DomainTypeData.Secondary; Data.CampaignData camp1 = Data.CampaignData.share; Data.InfomercialTypeData informType2 = Data.InfomercialTypeData.ShortForm; DateTime startDate = new DateTime(1980, 4, 4); DateTime endDate = new DateTime(1993, 7, 13); DateTime projectedEndDate = new DateTime(1995, 12, 14); string name = "edit"; string five9List; int? seats; string addprop = "Additional Properties"; var row = Go.To <CampaignList>() // finding "edit" campaign and clicking edit .Campaigns.Rows[x => x.Name == name].Edit() // check that "Additional properties" link exists .Content.Should.Contain(addprop) .Name.SetRandom(out name) .SeatsAllocated .SetRandom(out seats) .CampaignToShareWith.Set(camp1) .CampaignType.Set(camptype2) .Client.Set(company) .StartDate.Set(startDate) .EndDate.Set(endDate) .ProjectedEndDate.Set(projectedEndDate) .External.Set(company) .InfomercialType.Set(informType2) .Five9List.SetRandom(out five9List) .Five9DomainType.Set(domainType) // unchecking "Inactive" and "Alternate language" checkboxes .Inactive.Uncheck().AlternateLanguage.Uncheck() // saving the data and going to Campaign List .Save() // finding campaign with ("Name" == name) and clicking edit .Campaigns.Rows[x => x.Name == name].Edit() // checking that all changes we've made have been saved correctly .Name.Should.Equal(name) .SeatsAllocated.Should.Equal(seats) .ShareWithCampaign.Should.BeChecked() .CampaignToShareWith.Should.Equal(camp1) .CampaignType.Should.Equal(camptype2) .StartDate.Should.Equal(startDate) .EndDate.Should.Equal(endDate) .ProjectedEndDate.Should.Equal(projectedEndDate) .Inactive.Should.BeUnchecked() .AlternateLanguage.Should.BeUnchecked() .Client.Should.Equal(company) .External.Should.Equal(company) .InfomercialType.Should.Equal(informType2) .Five9List.Should.Equal(five9List) .Five9DomainType.Should.Equal(domainType); }
private static NumericTextBoxPage GoToTestPage() { return(Go.To <NumericTextBoxPage>()); }
protected static TPageObject On <TPageObject>() where TPageObject : PageObject <TPageObject> => (AtataContext.Current.PageObject as TPageObject) ?? Go.To <TPageObject>(navigate : false);