예제 #1
0
        public ProjectReleaseInformationPage CreateAndAddProfileToRoleAcceptingMultipleProfiles(int batch, string profileName, string location)
        {
            var createdProfile = new FindOrCreateProfileToCredit(this._driver);
            var locatedBatch   = FindAllCreditsWithMultipleProfiles().ElementAt(batch);
            var creatorPad     = locatedBatch.CreatorPad();

            creatorPad.Click();
            createdProfile.CreateAndSelectProfileInline(profileName, location);
            return(new ProjectReleaseInformationPage(this._driver));
        }
예제 #2
0
        private FindOrCreateProfileToCredit CreateProfileInlineForRole(int batch, string expectedProfileName, string location)
        {
            var createdProfile = new FindOrCreateProfileToCredit(this._driver);
            var requiredBatch  = FindTheRootElementForRoleWithSingleCredit(batch);
            var creatorPad     = requiredBatch.CreatorPad();

            creatorPad.Click();
            createdProfile.CreateAndSelectProfileInline(expectedProfileName, location);
            return(new FindOrCreateProfileToCredit(this._driver));
        }
예제 #3
0
 private ProjectTrackMetadataPage CreditAProfile(string selection)
 {
     _findOrCreateProfileToCredit = new FindOrCreateProfileToCredit(this._driver);
     _findOrCreateProfileToCredit.SearchAndCreditExistingProfile(selection);
     return(new ProjectTrackMetadataPage(this._driver));
 }
예제 #4
0
 private ProjectReleaseInformationPage AddNewCollaboratorRoleToProfile(string existingProfile, string collaboratorsRole)
 {
     _findOrCreateProfileToCredit = new FindOrCreateProfileToCredit(this._driver);
     _findOrCreateProfileToCredit.SearchAndCreditExistingProfileWithCollaboratorsRole(existingProfile, collaboratorsRole);
     return(new ProjectReleaseInformationPage(this._driver));
 }
예제 #5
0
 private ProjectReleaseInformationPage CreditAProfile(string selection)
 {
     _findOrCreateProfileToCredit = new FindOrCreateProfileToCredit(this._driver);
     _findOrCreateProfileToCredit.SearchAndCreditExistingProfile(selection);
     return(new ProjectReleaseInformationPage(this._driver));
 }