Report generated on 14-Sep-2020 at 20:19:30 by pytest-html v2.1.1
Packages | {"pluggy": "0.13.1", "py": "1.9.0", "pytest": "6.0.1"} |
Platform | Windows-10-10.0.19041-SP0 |
Plugins | {"allure-pytest": "2.8.18", "datadir": "1.3.1", "html": "2.1.1", "metadata": "1.10.0"} |
Python | 3.8.5 |
33 tests ran in 247.07 seconds.
(Un)check the boxes to filter the results.
32 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Failed | test_registration.py::TestRegistration::test_trainer_registration_functionality | 5.41 | |
self = <test_registration.TestRegistration object at 0x000001CFAF667280>, initialize_pages = None testdata = {'profile_url': '#/profile/', 'query': "SELECT email,user_id,first_name,last_name,primary_country_code,primary_mobile_... engageX_test.user where email = '<<email>>' and status = '1'", 'register_url': '#/register', 'selectvalue': 'IN', ...} @pytest.mark.test_details("SLUB-T1403","high","Access","Pavan") def test_trainer_registration_functionality(self,initialize_pages,testdata): ''' Objective : To check New Trainer Registration Functionality Step1: Navigate to engageX Login url and click on Register Step2: Generating random email and enter user email and click next Step3: Enter all the details on Trainer Registration Page and click on Register Step4: Validate registered data present in the database Step5: Verify registered user redirecting to Profile Page ''' #STEP1: Navigate to engageX Login url and click on Register pytest.driver.get(pytest.config['login_url']) self.pg_login.btn_register.click_button() assert pytest.config['url'] + testdata['register_url'] == pytest.driver.current_url , " Expected url is not found on RegistrationPage " #STEP2: Generating random email and enter user email and click next email = utils.generate_random_email() self.pg_registration.check_registration(email) #STEP3: Enter all the details on Trainer Registration Page and click on Register logging.info(f" New Trainer Registration Started - {email} ") self.pg_registration.new_trainer_registeration(**testdata['user_details']) assert self.pg_registration.txt_email.is_enabled() == False , " Expected Email textbox is in enabled state " self.pg_registration.verify_checkbox_selected() > self.pg_registration.select_list(testdata['selectvalue']) test\test_registration.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pages\registration_page.py:28: in select_list self.dr_countries.select_element_by_value(selectvalue) core\page_factory.py:143: in select_element_by_value select.select_by_value(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.support.select.Select object at 0x000001CFAF66A820>, value = 'IN' def select_by_value(self, value): """Select all options that have a value matching the argument. That is, when given "foo" this would select an option like: <option value="foo">Bar</option> :Args: - value - The value to match against throws NoSuchElementException If there is no option with specisied value in SELECT """ css = "option[value =%s]" % self._escapeString(value) opts = self._el.find_elements(By.CSS_SELECTOR, css) matched = False for opt in opts: self._setSelected(opt) if not self.is_multiple: return matched = True if not matched: > raise NoSuchElementException("Cannot locate option with value: %s" % value) E selenium.common.exceptions.NoSuchElementException: Message: Cannot locate option with value: IN c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\support\select.py:87: NoSuchElementException -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_registration.py:52 New Trainer Registration Started - Test6670@yopmail.com | |||
Passed | test_forgot_password.py::TestForgotPassword::test_forgot_password_functionality | 2.85 | |
-------------------------------Captured log setup------------------------------- [32mINFO [0m setup:conftest.py:134 reading config from path "config.json" [32mINFO [0m setup:conftest.py:109 creating driver for provided browser - chrome | |||
Passed | test_live_classes.py::TestLiveClasses::test_admin_should_be_able_to_access_all_live_classes | 10.53 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_live_classes.py:48 Superadmin is able to access live classes : Classes Found on 1st Page -- 15 | |||
Passed | test_live_classes.py::TestLiveClasses::test_manager_should_be_able_to_access_all_live_classes | 5.96 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_live_classes.py:88 Manager is able to access live classes : Classes Found on 1st Page -- 15 | |||
Passed | test_live_classes.py::TestLiveClasses::test_search_functionality_live_classes | 5.90 | |
No log output captured. | |||
Passed | test_live_classes.py::TestLiveClasses::test_search_functionality_with_invalid_search | 11.02 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator all_live_classes_names on url https://engagex.simplilearn.com/#/classes/glvc/ongoing is not present | |||
Passed | test_live_classes.py::TestLiveClasses::test_dropdown_functionality_live_classes | 12.84 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator dr_search_box on url https://engagex.simplilearn.com/#/classes/glvc/ongoing is not present | |||
Passed | test_live_classes.py::TestLiveClasses::test_alert_popup_liveclasses_when_no_datarange_course_is_selected | 4.64 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_live_classes.py:263 Text Message On ALert Popup : Please Select Either Date Range or Course Filter Before Apply | |||
Passed | test_login.py::TestLogin::test_invalid_credentials | 5.73 | |
No log output captured. | |||
Passed | test_login.py::TestLogin::test_valid_credentials | 6.97 | |
No log output captured. | |||
Passed | test_login_role.py::TestLoginRole::test_verify_role_ta | 3.23 | |
No log output captured. | |||
Passed | test_login_role.py::TestLoginRole::test_verify_role_superadmin_and_click_on_add_course | 3.13 | |
No log output captured. | |||
Passed | test_login_role.py::TestLoginRole::test_verify_role_manager | 3.58 | |
No log output captured. | |||
Passed | test_login_role.py::TestLoginRole::test_verify_role_trainer_and_check_trainer_tab_present | 5.34 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator mod_trainers on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_manager_should_not_be_able_to_add_course | 5.23 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator add_course on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_be_able_to_add_course | 5.17 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator add_course on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_trainer_should_not_be_able_to_add_course | 5.11 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator add_course on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_be_able_to_add_tas | 12.68 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator btn_add_ta on url http://dockerv2.simplilearn.com:8875/#/tas/active is not present [33mWARNING [0m setup:page_factory.py:56 the locator btn_add_ta on url http://dockerv2.simplilearn.com:8875/#/tas/active is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_be_able_to_add_trainers | 12.85 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator btn_add_trainer on url http://dockerv2.simplilearn.com:8875/#/trainers/active is not present [33mWARNING [0m setup:page_factory.py:56 the locator btn_add_trainer on url http://dockerv2.simplilearn.com:8875/#/trainers/active is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_have_access_to_managers_tab | 10.23 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator mod_managers on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present [33mWARNING [0m setup:page_factory.py:56 the locator mod_managers on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_trainer_should_not_view_other_trainers | 5.12 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator mod_trainers on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all is not present | |||
Passed | test_login_role.py::TestLoginRole::test_trainer_should_not_able_to_assign_trainer_to_course | 7.42 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator btn_assign_trainer on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all/15/trainers is not present | |||
Passed | test_login_role.py::TestLoginRole::test_trainer_should_not_able_to_view_tas_assigned_to_course | 7.50 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator tab_tas on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all/15/learners is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_able_to_assign_trainer_to_course | 7.23 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator btn_assign_trainer on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all/15/trainers is not present | |||
Passed | test_login_role.py::TestLoginRole::test_ta_should_not_able_to_assign_tas_to_course | 7.36 | |
-------------------------------Captured log call-------------------------------- [33mWARNING [0m setup:page_factory.py:56 the locator btn_assign_ta on url http://dockerv2.simplilearn.com:8875/#/courses/activated/all/15/tas is not present | |||
Passed | test_projects.py::TestProjects::test_admin_should_be_able_to_access_all_projects | 7.52 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_projects.py:42 Total Projects Found under New Tab of My Course Projects -- 100 [32mINFO [0m setup:test_projects.py:49 Superadmin is able to access projects : Projects Found on 1st Page : 50 | |||
Passed | test_projects.py::TestProjects::test_manager_should_be_able_to_access_all_projects | 6.06 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_projects.py:84 Total Projects Found under New Tab of My Course Projects -- 100 [32mINFO [0m setup:test_projects.py:91 Manager is able to access projects : Projects Found on 1st Page : 50 | |||
Passed | test_projects.py::TestProjects::test_dropdown_functionality_projects | 8.51 | |
No log output captured. | |||
Passed | test_registration.py::TestRegistration::test_approve_registered_trainer | 3.91 | |
No log output captured. | |||
Passed | test_role_based_access.py::TestRoleBasedAccess::test_tabs_present_login_admin | 2.72 | |
No log output captured. | |||
Passed | test_role_based_access.py::TestRoleBasedAccess::test_tabs_present_login_manager | 2.66 | |
No log output captured. | |||
Passed | test_role_based_access.py::TestRoleBasedAccess::test_tabs_present_login_ta | 2.29 | |
No log output captured. | |||
Passed | test_role_based_access.py::TestRoleBasedAccess::test_tabs_present_login_trainer | 2.15 | |
No log output captured. |