def test_verify_guidelines(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        addprofile_helper = AddProfileHelper()

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(), UtilsHelper.get_admin_password())

        # Step2 : Validate guidelines text
        signedin_helper.click_addprofile_link()
        addprofile_helper.verify_guidelines()
    def test_validate_error_alert_message(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        addprofile_helper = AddProfileHelper()

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(), UtilsHelper.get_admin_password())

        # Step2 : Perform empty save profile
        signedin_helper.click_addprofile_link()
        addprofile_helper.click_save_profile()
        addprofile_helper.verify_alertdialog('Error Message')
Ejemplo n.º 3
0
    def test_default_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform null search
        signedin_helper.click_search_link()
        search_helper.click_search_button()
        search_helper.click_search_result_by_index()
Ejemplo n.º 4
0
    def test_verify_talent_profile(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        talent_profile_helper = TalentProfileHelper()
        user_objs = {
            'jobseeker1': {
                'email': "*****@*****.**",
                'password': "******",
                'first_name': "jobseeker",
                'last_name': "cardinal",
                'full_name': "Jobseeker Cardinal",
                'phone': "123456789",
                'address': "QWERTY456 QWERTY123",
                'city': "San Francisco",
                'state': "California",
                'zipcode': "93004",
                'expected_salary': "$150,000 - $200,000",
                'interested_in': "Technology",
                'degree': "Bachelors",
                'degree_type': "Computers",
                'university': "Stanford University (2008)",
                'experience': "0-1",
                'skills': "Java, Javascript, Node.js, C",
                'interested_job_type': "remote",
                'interested_locations': "San Francisco, San Diego and San Jose"
            }
        }

        user_obj = user_objs['jobseeker1']

        # Step1: Login as admin
        login_helper.login(user_obj['email'], user_obj['password'])

        # Step2 : verify talent profile elements & values
        signedin_helper.click_profile_link()
        talent_profile_helper.verfify_social_container()
        talent_profile_helper.verify_social_container_elements()
        talent_profile_helper.verify_education_elements()
        talent_profile_helper.validate_education(user_obj)
        talent_profile_helper.verify_location_elements()
        talent_profile_helper.validate_location(user_obj)
        talent_profile_helper.verify_location_elements()
        talent_profile_helper.validate_experience(user_obj)
        talent_profile_helper.verify_salary_elements()
        talent_profile_helper.validate_salary_section(user_obj)
        talent_profile_helper.validate_contact_section(user_obj)
        talent_profile_helper.verify_profile_background_elements()
        talent_profile_helper.validate_about_experience(user_obj)
        talent_profile_helper.validate_skills(user_obj)
        talent_profile_helper.validate_education(user_obj)
Ejemplo n.º 5
0
    def test_top_search_bar_skills(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        skills = 'java'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform top search input by location
        signedin_helper.click_search_link()
        search_helper.enter_top_keyword(skills)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(4)
Ejemplo n.º 6
0
    def test_available_email_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform top school search
        signedin_helper.click_search_link()
        search_helper.select_avail_email()
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(4)
        search_helper.click_search_result_by_index()
Ejemplo n.º 7
0
    def test_top_search_bar_job_title(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        job_title = 'CTO'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform top search input job title
        signedin_helper.click_search_link()
        search_helper.enter_top_keyword(job_title)
        search_helper.click_top_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(2)
Ejemplo n.º 8
0
    def test_keyword_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        keyword = 'Jobs1*'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform keyword search
        signedin_helper.click_search_link()
        search_helper.enter_keyword(keyword)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(7)
        search_helper.click_search_result_by_index()
Ejemplo n.º 9
0
    def test_schools_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        schools = 'Sanjose University'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform schools search
        signedin_helper.click_search_link()
        search_helper.enter_schools(schools)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(2)
        search_helper.click_search_result_by_index()
Ejemplo n.º 10
0
    def test_degrees_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        degrees = 'Bachelor of Engineering'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform degrees search
        signedin_helper.click_search_link()
        search_helper.enter_degrees(degrees)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(8)
        search_helper.click_search_result_by_index()
Ejemplo n.º 11
0
    def test_companies_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        company = 'Amazon'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform companies search
        signedin_helper.click_search_link()
        search_helper.enter_companies(company)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(2)
        search_helper.click_search_result_by_index()
Ejemplo n.º 12
0
    def test_job_title_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        job_title = 'CTO'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform title search
        signedin_helper.click_search_link()
        search_helper.enter_job_title(job_title)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(3)
        search_helper.validate_job_title(job_title)
        search_helper.click_search_result_by_index()
Ejemplo n.º 13
0
    def test_location_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        location = 'Texas'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform location search
        signedin_helper.click_search_link()
        search_helper.enter_location(location)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(5)
        search_helper.validate_job_title(location)
        search_helper.click_search_result_by_index()
Ejemplo n.º 14
0
    def test_non_matching_search(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        job_title = 'ABCD'
        location = 'Mountain View'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform top company search
        signedin_helper.click_search_link()
        search_helper.enter_job_title(job_title)
        search_helper.enter_location(location)
        search_helper.click_search_button()
        search_helper.validate_no_candidate_results_text()
        search_helper.select_top_company()
        search_helper.select_top_school()
        search_helper.click_search_button()
        search_helper.validate_no_candidate_results_text()
Ejemplo n.º 15
0
    def test_multiple_filters(self):
        login_helper = LoginHelper()
        signedin_helper = SignedinHelper()
        search_helper = SearchHelper()
        job_title = 'CTO'
        location = 'Texas'

        # Step1: Login as admin
        login_helper.login(UtilsHelper.get_admin_user(),
                           UtilsHelper.get_admin_password())

        # Step2 : Perform top company search
        signedin_helper.click_search_link()
        search_helper.enter_job_title(job_title)
        search_helper.enter_location(location)
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(2)
        search_helper.select_top_company()
        search_helper.click_search_button()
        search_helper.verify_total_candidates_text()
        search_helper.validate_candidate_results_text(2)
        search_helper.click_search_result_by_index()