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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 5
0
        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();
        }
Ejemplo n.º 6
0
 public WebAddressCreateTest(TestFixture fixture)
     : base(fixture)
 {
     this.Login();
     this.personListPage = this.Sidenav.NavigateToPeople();
 }
Ejemplo n.º 7
0
 public PersonEmailCommunicationCreateTest(TestFixture fixture)
     : base(fixture)
 {
     this.Login();
     this.personListPage = this.Sidenav.NavigateToPeople();
 }
Ejemplo n.º 8
0
 public PersonEditTest(TestFixture fixture)
     : base(fixture)
 {
     this.Login();
     this.people = this.Sidenav.NavigateToPeople();
 }
Ejemplo n.º 9
0
 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();
 }
Ejemplo n.º 11
0
 public PersonFaceToFaceCommunicationEditTest(TestFixture fixture)
     : base(fixture)
 {
     this.Login();
     this.personListPage = this.Sidenav.NavigateToPeople();
 }
Ejemplo n.º 12
0
 public CustomerRelationshipEditTest(TestFixture fixture)
     : base(fixture)
 {
     this.Login();
     this.personListPage = this.Sidenav.NavigateToPeople();
 }