public PersonOrganisationContactRelationshipEditTest(TestFixture fixture) : base(fixture) { this.organisation = new OrganisationBuilder(this.Session).WithName("organisation").Build(); this.contact = new PersonBuilder(this.Session).WithLastName("contact").Build(); this.editPartyRelationship = new OrganisationContactRelationshipBuilder(this.Session) .WithContactKind(new OrganisationContactKinds(this.Session).GeneralContact) .WithContact(this.contact) .WithOrganisation(this.organisation) .Build(); this.Session.Derive(); this.Session.Commit(); this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public PostalAddressCreateTest(TestFixture fixture) : base(fixture) { var person = new People(this.Session).Extent().First; this.editContactMechanism = new PostalAddressBuilder(this.Session) .WithDefaults() .Build(); var partyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(this.editContactMechanism).Build(); person.AddPartyContactMechanism(partyContactMechanism); this.Session.Derive(); this.Session.Commit(); this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public WebAddressEditTest(TestFixture fixture) : base(fixture) { var person = new People(this.Session).Extent().First; this.editContactMechanism = new WebAddressBuilder(this.Session) .WithElectronicAddressString("www.acme.com") .Build(); var partyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(editContactMechanism).Build(); person.AddPartyContactMechanism(partyContactMechanism); this.Session.Derive(); this.Session.Commit(); this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public TelecommunicationsNumberCreateTest(TestFixture fixture) : base(fixture) { var person = new People(this.Session).Extent().First; this.editContactMechanism = new TelecommunicationsNumberBuilder(this.Session) .WithCountryCode("0032") .WithAreaCode("498") .WithContactNumber("123 456") .Build(); var partyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(this.editContactMechanism).Build(); person.AddPartyContactMechanism(partyContactMechanism); this.Session.Derive(); this.Session.Commit(); this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public PartyContactMechanismCreateTest(TestFixture fixture) : base(fixture) { var person = new People(this.Session).Extent().First; var postalAddress = new PostalAddressBuilder(this.Session) .WithAddress1("Haverwerf 15") .WithLocality("city") .WithPostalCode("1111") .WithCountry(new Countries(this.Session).FindBy(M.Country.IsoCode, "BE")) .Build(); this.editPartyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(postalAddress).Build(); person.AddPartyContactMechanism(this.editPartyContactMechanism); this.Session.Derive(); this.Session.Commit(); this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public WebAddressCreateTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public PersonEmailCommunicationCreateTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public PersonEditTest(TestFixture fixture) : base(fixture) { this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public EmailAddressEditTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public PersonLetterCorrespondenceEditTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public PersonFaceToFaceCommunicationEditTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }
public CustomerRelationshipEditTest(TestFixture fixture) : base(fixture) { this.Login(); this.personListPage = this.Sidenav.NavigateToPeople(); }