Report generated on 26-Jul-2023 at 02:56:17 by pytest-html v2.1.1
Packages | {"pluggy": "0.13.1", "py": "1.9.0", "pytest": "7.2.2"} |
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", "order": "1.1.0", "xdist": "3.2.1"} |
Python | 3.8.5 |
65 tests ran in 8430.87 seconds.
(Un)check the boxes to filter the results.
62 passed, 0 skipped, 3 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Failed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[P] | 280.66 | |
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000014CEA5C4A00> value = 'P', initialize_pages = None testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...} @pytest.mark.test_details("0000","high","Order and Payment Flow","Pradeep") @pytest.mark.parametrize("value", certification_program_course_read_csv()) def test_Orders_and_Payment_Flow_certification(self,value,initialize_pages,testdata): ''' Objective: Make payment and validate the data in Dynamo db and mySql Step 01: get url Step 02: click on Enroll Now CTA Step 03: Make payment Step 04: Validate the Dynamo db and MySql daya for the payment ''' # url_count = self._count_url_txt_file_subdomain('Orders_and_Payment_Flow_Certification.txt') # logging.info(f"Total URL Present is: {url_count}") # Step 01: get url counter = 0 df = pd.read_csv('order_and_payment_certification_prod.csv', on_bad_lines='skip') data = df[df['id']==value] url_value = data['url'].values[0] country_value = data['country'].values[0] try: pytest.driver.delete_all_cookies() time.sleep(2) pytest.driver.get(url_value) logging.info(f"Url Opened is: {url_value}") selenium_helper.wait_for_page_to_load(10,value) selenium_helper.scroll_to_page_bottom() self.pg_home.close_iframe_popUp() self.pg_orders.change_country(country_value) if selenium_helper.is_locator_present(self.pg_orders.locators['common_button_enroll_now_certificaton'],10): course_data = None self.pg_orders.click_enroll_now_certification(url_value) course_data = self._complete_payment(country_value,testdata['payment_type'],testdata['name'],testdata['email_id'],testdata['contact_no']) logging.info(type(course_data)) time.sleep(5) logging.info(f"course_data: {course_data}") # Step 04: Validate the Dynamo db and MySql data for the payment token_no = pytest.driver.current_url.split('authtoken=')[-1] logging.info(f"Token No is: {token_no}") query = f"""SELECT emailId,contactNumber, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"name"', -1), '";', 1), '"', -1) AS name, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"training_type_txt"', -1), '";', 1), '"', -1) AS training_type_txt, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"display_total_price"', -1), '";', 1), '"', -1) AS display_total_price, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"price"', -1), '";', 1), '"', -1) AS price FROM ssvc.cart where token = '{token_no}';""" sql_data = db_helper.get_prod_data(query,testdata['db_type']) logging.info(f"RAW SQL Data: {sql_data}\n") # sql_items = self.convert_items_to_json(sql_data) # logging.info(f"SQL DATA in JSON format: {sql_items}\n") all_payment_cta = [] for i in course_data[1][1]: a = (list(i.values())[0]) if 'failed' in list(i.values())[0].lower(): all_payment_cta.append('fail') message = self.verify_mySQL_data_certification(course_data[0],sql_data,testdata) if 'successfull' in message[0].lower() and len(all_payment_cta) == 0: status = 'Success' else: status = 'Fail' filename = 'Report.csv' course_name = course_data[0]['course_name'] course_type = 'Certification Program' rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if status == 'Fail': pytest.fail("Status is Fail") else: message = "Enroll Now button is not Appearing" logging.info(message) filename = 'Report.csv' course_name = self.pg_orders.course_name_in_url.get_text() course_type = 'Certification Program' rows = [[country_value.upper(),course_name,course_type,url_value,message,'','','CTA NOT AVAILABLE']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) except Exception as e: counter = counter+1 logging.error("Exception occurred", exc_info=True) filename = 'Report.csv' course_name = 'NA' course_type = 'Certification Program' if course_data == None: logging.info("If block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'','','','Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) elif len(course_data) == 1: logging.info("1st else block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'',course_data[0],'','Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) elif len(course_data) == 2: logging.info("2nd else block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'',course_data[1][1],course_data[1][0],'Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if counter != 0: > pytest.fail('Failed') E Failed: Failed test_prod\test_orders_and_payment_flow.py:207: Failed -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:59 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:60 url opend for paymnent is : https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [1m[31mERROR [0m setup:selenium_helper.py:61 Message: [33mWARNING [0m setup:selenium_helper.py:62 the locator ('xpath', "//div[@id='ssvcApp']//div[contains(text(), 'Cart Summary')][contains(@class,'active_heading')]") on url https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ('Failed to Load Cart Page',) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [] [1m[31mERROR [0m setup:test_orders_and_payment_flow.py:182 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 148, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range [32mINFO [0m setup:test_orders_and_payment_flow.py:193 1st else block in Exception | |||
Failed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AE] | 280.14 | |
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000014CEA5D9580> value = 'AE', initialize_pages = None testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...} @pytest.mark.test_details("0000","high","Order and Payment Flow","Pradeep") @pytest.mark.parametrize("value", certification_program_course_read_csv()) def test_Orders_and_Payment_Flow_certification(self,value,initialize_pages,testdata): ''' Objective: Make payment and validate the data in Dynamo db and mySql Step 01: get url Step 02: click on Enroll Now CTA Step 03: Make payment Step 04: Validate the Dynamo db and MySql daya for the payment ''' # url_count = self._count_url_txt_file_subdomain('Orders_and_Payment_Flow_Certification.txt') # logging.info(f"Total URL Present is: {url_count}") # Step 01: get url counter = 0 df = pd.read_csv('order_and_payment_certification_prod.csv', on_bad_lines='skip') data = df[df['id']==value] url_value = data['url'].values[0] country_value = data['country'].values[0] try: pytest.driver.delete_all_cookies() time.sleep(2) pytest.driver.get(url_value) logging.info(f"Url Opened is: {url_value}") selenium_helper.wait_for_page_to_load(10,value) selenium_helper.scroll_to_page_bottom() self.pg_home.close_iframe_popUp() self.pg_orders.change_country(country_value) if selenium_helper.is_locator_present(self.pg_orders.locators['common_button_enroll_now_certificaton'],10): course_data = None self.pg_orders.click_enroll_now_certification(url_value) course_data = self._complete_payment(country_value,testdata['payment_type'],testdata['name'],testdata['email_id'],testdata['contact_no']) logging.info(type(course_data)) time.sleep(5) logging.info(f"course_data: {course_data}") # Step 04: Validate the Dynamo db and MySql data for the payment token_no = pytest.driver.current_url.split('authtoken=')[-1] logging.info(f"Token No is: {token_no}") query = f"""SELECT emailId,contactNumber, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"name"', -1), '";', 1), '"', -1) AS name, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"training_type_txt"', -1), '";', 1), '"', -1) AS training_type_txt, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"display_total_price"', -1), '";', 1), '"', -1) AS display_total_price, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"price"', -1), '";', 1), '"', -1) AS price FROM ssvc.cart where token = '{token_no}';""" sql_data = db_helper.get_prod_data(query,testdata['db_type']) logging.info(f"RAW SQL Data: {sql_data}\n") # sql_items = self.convert_items_to_json(sql_data) # logging.info(f"SQL DATA in JSON format: {sql_items}\n") all_payment_cta = [] for i in course_data[1][1]: a = (list(i.values())[0]) if 'failed' in list(i.values())[0].lower(): all_payment_cta.append('fail') message = self.verify_mySQL_data_certification(course_data[0],sql_data,testdata) if 'successfull' in message[0].lower() and len(all_payment_cta) == 0: status = 'Success' else: status = 'Fail' filename = 'Report.csv' course_name = course_data[0]['course_name'] course_type = 'Certification Program' rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if status == 'Fail': pytest.fail("Status is Fail") else: message = "Enroll Now button is not Appearing" logging.info(message) filename = 'Report.csv' course_name = self.pg_orders.course_name_in_url.get_text() course_type = 'Certification Program' rows = [[country_value.upper(),course_name,course_type,url_value,message,'','','CTA NOT AVAILABLE']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) except Exception as e: counter = counter+1 logging.error("Exception occurred", exc_info=True) filename = 'Report.csv' course_name = 'NA' course_type = 'Certification Program' if course_data == None: logging.info("If block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'','','','Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) elif len(course_data) == 1: logging.info("1st else block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'',course_data[0],'','Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) elif len(course_data) == 2: logging.info("2nd else block in Exception") rows = [[country_value.upper(),course_name,course_type,url_value,'',course_data[1][1],course_data[1][0],'Fail']] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if counter != 0: > pytest.fail('Failed') E Failed: Failed test_prod\test_orders_and_payment_flow.py:207: Failed -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:59 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:60 url opend for paymnent is : https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [1m[31mERROR [0m setup:selenium_helper.py:61 Message: [33mWARNING [0m setup:selenium_helper.py:62 the locator ('xpath', "//div[@id='ssvcApp']//div[contains(text(), 'Cart Summary')][contains(@class,'active_heading')]") on url https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ('Failed to Load Cart Page',) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: https://www.simplilearn.com/cart/index?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [] [1m[31mERROR [0m setup:test_orders_and_payment_flow.py:182 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 148, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range [32mINFO [0m setup:test_orders_and_payment_flow.py:193 1st else block in Exception | |||
Failed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AB] | 116.85 | |
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowMastersProgram object at 0x0000014CEA5F52E0>, value = 'AB' initialize_pages = None testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...} @pytest.mark.test_details("0001","high","Order and Payment Flow","Pradeep") @pytest.mark.parametrize("value", master_program_course_read_csv()) def test_Orders_and_Payment_Flow_masters_program(self,value,initialize_pages,testdata): ''' Objective: Make payment and validate the data in Dynamo db and mySql Step 01: get url Step 02: click on Enroll Now CTA Step 03: Make payment Step 04: Validate the Dynamo db and MySql daya for the payment ''' # self.add_rows_in_csv('Report.csv') this step is commentd to make one CSV file # self.add_rows_in_csv('Report.csv') #url_count = self._count_url_txt_file_subdomain('Order_and_Payment_Flow_masters.txt') #logging.info(f"Total URL Present is: {url_count}") # Step 01: get url counter = 0 df = pd.read_csv('order_and_payment_master_prod.csv', on_bad_lines='skip') data = df[df['id']==value] url_value = data['url'].values[0] country_value = data['country'].values[0] try: pytest.driver.delete_all_cookies() pytest.driver.get(url_value) logging.info(f"Url Opened is: {url_value}") selenium_helper.wait_for_page_to_load(10,value) self.pg_orders.change_country(country_value) if selenium_helper.is_locator_present(self.pg_orders.locators['btn_enroll_now_masters_program'],10): course_data = None self.pg_orders.click_enroll_now_for_masters(url_value) course_data = self._complete_payment(country_value,testdata['payment_type'],testdata['name'],testdata['email_id'],testdata['contact_no']) logging.info(type(course_data)) time.sleep(5) logging.info(f"course_data: {course_data}") # Step 04: Validate the Dynamo db and MySql data for the payment token_no = pytest.driver.current_url.split('authtoken=')[-1] logging.info(f"Token No is: {token_no}") query = f"""SELECT emailId,contactNumber, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"name"', -1), '";', 1), '"', -1) AS name, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"training_type_txt"', -1), '";', 1), '"', -1) AS training_type_txt, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"display_total_price"', -1), '";', 1), '"', -1) AS display_total_price, SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(items, '"price"', -1), '";', 1), '"', -1) AS price FROM ssvc.cart where token = '{token_no}';""" sql_data = db_helper.get_prod_data(query,testdata['db_type']) logging.info(f"RAW SQL Data: {sql_data}\n") # sql_items = self.convert_items_to_json(sql_data) # logging.info(f"SQL DATA in JSON format: {sql_items}\n") all_payment_cta = [] for i in course_data[1][1]: a = (list(i.values())[0]) if 'failed' in list(i.values())[0].lower(): all_payment_cta.append('fail') message = self.verify_mySQL_data_masters_program(course_data[0],sql_data,testdata) if 'successfull' in message[0].lower() and len(all_payment_cta) == 0: status = 'Success' else: status = 'Fail' filename = 'Report.csv' course_name = course_data[0]['course_name'] course_type = 'Masters Program' # course_type = sql_items['training_type_txt'] rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if status == 'Fail': > pytest.fail("Status is Fail") E Failed: Status is Fail test_prod\test_orders_and_payment_flow.py:502: Failed ------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 151: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 463, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'failed in validating payment options '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:164 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:165 url opend for paymnent is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrOTcxLTEyMzQ1Njc4OSxTaW1wbGlsZWFybg== [32mINFO [0m setup:orders_page.py:175 clicked on Enroll Now button for Masters Program again [32mINFO [0m setup:orders_page.py:178 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:241 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 231, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'failed in validating payment options '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: c8ee7a6c62030f4fdc20b663b2e0ec3137ac1e3950b9777ab2cdca803f59b912 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '54,407.00', 'price': '64200.26'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[A] | 156.13 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 171: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 129, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 29 - Jul 30\\n(2 days) Classroom', 'base_price': '₹ 18,999.00', 'final_price': '22,418.82'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', '', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:selenium_helper.py:61 Message: [33mWARNING [0m setup:selenium_helper.py:62 the locator ('xpath', "//li[@id='shopse']//h2[contains(text(),'EMI')][not(contains(@style,'none'))]/ancestor::a") on url https://www.simplilearn.com/secure/checkout/details?authtoken=697585f8438e6ca8e448f4bfae2ab5a6c2483c4de36db48ee1dc0c1606861eb9 is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 29 - Jul 30\n(2 days) Classroom', 'base_price': '₹ 18,999.00', 'final_price': '22,418.82'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', '', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 697585f8438e6ca8e448f4bfae2ab5a6c2483c4de36db48ee1dc0c1606861eb9 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '18,999.00', 'price': '22418.82'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[B] | 83.05 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[C] | 93.49 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 128: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 129, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '₹ 174,195.00', 'final_price': '205,550.10'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:home_page.py:519 Popup Iframe present [32mINFO [0m setup:home_page.py:521 Inside Iframe [32mINFO [0m setup:home_page.py:523 Clicked On Popup [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '₹ 174,195.00', 'final_price': '205,550.10'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: c16d7e7989bd3cf4c56b68f9fae056b72fc9e11735dea64300d6360a9a5cbb25 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '174,195.00', 'price': '205550.10'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[D] | 107.54 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 134: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 129, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 168,525.00', 'final_price': '198,859.50'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 168,525.00', 'final_price': '198,859.50'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: fb172133e7c20130513ca8e1bc7182e40fb7f01fa6b1308248b53210c7c2a7c8 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '168,525.00', 'price': '198859.50'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[E] | 108.15 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 163: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 129, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '₹ 21,420.00', 'final_price': '25,275.60'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '₹ 21,420.00', 'final_price': '25,275.60'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 6fbbba3cde12d2f23c1d40bb974f22d6853b784948218a07e7292c6ea268afa8 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '21,420.00', 'price': '25275.60'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[F] | 151.65 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 29 - Jul 30\n(2 days) Classroom', 'base_price': '$ 599.00', 'final_price': '599.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 707d5cd4f66fd77facb7c076db5942147fd1c4f12d68ec5df07c186a93b6ac1b [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '599.00', 'price': '599.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[G] | 79.73 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[H] | 113.44 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '$ 2,299.00', 'final_price': '2,299.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 7567228c34799b084b11b996477b50afabf13d57347307d94e7ced768510e688 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '2,299.00', 'price': '2299.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[I] | 113.41 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,200.00', 'final_price': '2,200.00'}, (['Credit Card', 'PayPal', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: b52ab7d85a87eedec9067d3c9c2c1183af3e24103032eec5d58382e0924cb2e8 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,200.00', 'price': '2200.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[J] | 113.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 899.00', 'final_price': '899.00'}, (['Credit Card', 'PayPal', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: a4fd480b57febe06e366e624c09aa91762a649e87bfa8b2c18a3d956c9af23b9 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '899.00', 'price': '899.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[K] | 188.07 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 26 - Jul 28\n(2 days) Classroom', 'base_price': '£ 549.00', 'final_price': '549.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: ed7eefd1d4ea809aa1c7a44662e8e383199335ef10f9ef61ef51d264f64dfe38 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '549.00', 'price': '549.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[L] | 79.35 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[M] | 143.64 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '£ 2,799.00', 'final_price': '2,799.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 8e4129ade934015de2ecdf61fb549f0cd9e918d90a23ff5122980f820f699ce0 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '2,799.00', 'price': '2799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[N] | 144.33 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '£ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 45308a1891a45e871b2c1a241989dd848846c14ff4ec9bc1ee27897bb8ce5dfb [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,099.00', 'price': '2099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[O] | 145.23 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '£ 969.00', 'final_price': '969.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: c3af87cc37410810743933f1ad218d0bd6b1656492b8d1482d4ad886e698b564 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '969.00', 'price': '969.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Q] | 79.16 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[R] | 144.11 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 3,799.00', 'final_price': '3,799.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 06681a405e633de35c5d7980bff547b3f0f2bffb45db7514d91053136ee5baa2 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '3,799.00', 'price': '3799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[S] | 144.11 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': 'A$ 2,689.00', 'final_price': '2,689.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 4f3771d89ce2204a2c5ae6e8665ce2c704aba878fd764620da7128034842fabb [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,689.00', 'price': '2689.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[T] | 181.32 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:57 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': 'A$ 1,125.00', 'final_price': '1,125.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 9eb018f953b798e0b3b05ce0c8f09e56cd509add421f51de7605317bcac1dae4 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,125.00', 'price': '1125.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[U] | 183.74 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 29 - Jul 30\n(2 days) Classroom', 'base_price': '€ 599.00', 'final_price': '599.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: cbeef6a2577923b41e3bc163420b916a8984d838d50f0d9a99e7d389af796ff6 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '599.00', 'price': '599.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[V] | 79.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[W] | 142.02 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '€ 2,799.00', 'final_price': '2,799.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: aaf65e6f889ef70bf5559750d4b8884a40e967b29657cabb37ea89c04207190d [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '2,799.00', 'price': '2799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[X] | 143.31 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '€ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 322a5fa0425a492c7a8d4285ac220f7cf61c9fe7c7fc76e371ed2a8ae17377f4 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,099.00', 'price': '2099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Y] | 141.87 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '€ 749.00', 'final_price': '749.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 57d8b1c3571f4bd2ae0df622af85a14e3a3279575044ef598502857a9439facc [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '749.00', 'price': '749.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Z] | 185.49 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Jul 29 - Jul 30\n(2 days) Classroom', 'base_price': '$ 599.00', 'final_price': '646.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: b5c41c22df809c293cbbd416d03faf41e07e39dc25c01f90a6225fe98c81290b [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '599.00', 'price': '646.92'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AA] | 79.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AB] | 179.34 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDktMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:57 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '$ 2,799.00', 'final_price': '3,022.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 0183144508ec470c1d25986af19ba747296daca683a49c0da57c07c185cc966a [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '2,799.00', 'price': '3022.92'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AC] | 178.96 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:57 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,099.00', 'final_price': '2,266.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: e8114962cf043608af2dffbb74a4925df87aa2f9041e6d8291c4d9f50ea68529 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,099.00', 'price': '2266.92'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AD] | 179.33 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:57 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 748.00', 'final_price': '807.84'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 7bc5cabc0dbb78a01ce0ebb32663c92b5b77252a60e1cabbd76169cc44beb12b [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '748.00', 'price': '807.84'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AF] | 78.98 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:test_orders_and_payment_flow.py:171 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AG] | 178.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:43 Payment Page is not Loaded [32mINFO [0m setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:orders_page.py:54 clicked on Enroll Now button again [32mINFO [0m setup:orders_page.py:57 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Bootcamp', 'base_price': '$ 2,799.00', 'final_price': '2,799.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: f89036d65270cc8bab72fc5ed81dc5eca046c759cdd35b6642ff840d788ffe3c [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'CISA<sup>®</sup> Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '2,799.00', 'price': '2799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AH] | 144.57 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: ba0ed65652f39cb9a3aba58614b54fa754fc46b03cdd78104f821d008b4a9f8c [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'CISSP<sup>®</sup> Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '2,099.00', 'price': '2099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AI] | 142.89 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:116 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:38 clicked on Enroll Now button [32mINFO [0m setup:orders_page.py:41 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:233 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:126 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:129 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 749.00', 'final_price': '749.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:133 Token No is: 6d6d235f10c69f943f56c6af721fd651c024ad13ed428b0f93b53ee109df38a7 [32mINFO [0m setup:test_orders_and_payment_flow.py:143 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '749.00', 'price': '749.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:359 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[A] | 107.01 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 160: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 463, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: c0feb6f3d2485cbcb9d5926998cf6b295a65e7fee854160380af007ada2810ab [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '45,762.00', 'price': '53999.16'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[B] | 106.55 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 157: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 463, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: c33bb4934daec8c1d160a6e857ff31926a9d76302771bbba27eea39658a178d6 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '45,762.00', 'price': '53999.16'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[C] | 107.28 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 142: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 463, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 64040804ec65088796ac510c5b1312184965eafd3dbafebeaf954162f03fa982 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '52,541.50', 'price': '61998.97'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[D] | 65.86 | |
------------------------------Captured stderr call------------------------------ --- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 151: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 463, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: () -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: IN [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 561d20cfa2ec68ee84cd63878763fb3d917d579bcbb47609a89b00a6207d8a23 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '54,407.00', 'price': '64200.26'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[E] | 111.55 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,499.00', 'final_price': '1,499.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 460a1d568fb73e2c1ffcf1e2d254531314d033b70579ff0494ff3110583d5fcc [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,499.00', 'price': '1499.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[F] | 111.16 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,499.00', 'final_price': '1,499.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 38b1a98172a46b551ac45e8966bc2341897a9efe94640674e0e9882c758a0545 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,499.00', 'price': '1499.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[G] | 111.38 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,999.00', 'final_price': '1,999.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 4987c75adebda2a6856c7b33c226f40138a4c9d65144487e9e3d675c18459f4f [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,999.00', 'price': '1999.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[H] | 69.47 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: US [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,649.00', 'final_price': '1,649.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: d86782b5195671110bb0ff510b3826d1b8cb3fcf7b5faf441c91675c43856b61 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,649.00', 'price': '1649.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[I] | 144.02 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 4c510ec1ad951abe382ed28685cb3967faccac725999474d0271c718373bfc9f [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,390.00', 'price': '1390.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[J] | 143.45 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: e84590867436d57863dd51c50cac63660cd4e3f40a5583ef06e42699bde827c4 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,099.00', 'price': '1099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[K] | 142.94 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 7de5b0cc8cd6fc03828e9e0447202ea1eacd35a2e0978f53dc8ac72de9f2592f [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,700.00', 'price': '1700.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[L] | 101.42 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: GB [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: c2fc43b3523cf7490e7654e8a0ace3296c27ced2b7ac7603d731b33effee0e4c [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,049.00', 'price': '1049.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[M] | 142.82 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,605.00', 'final_price': '1,605.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: db83836ed73fc1d6801a90e8cfbbe83f7d785bc96acf4fa5b38ff14467193771 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,605.00', 'price': '1605.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[N] | 143.16 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,649.00', 'final_price': '1,649.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 95b85e9034abed82966564f21521965fe40d5c0953d9ee6ce408058c2933fe03 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,649.00', 'price': '1649.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[O] | 144.42 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,949.00', 'final_price': '1,949.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: caeb1afd50948f4101ef67d114f528847046abaf63fb919e42b3ca0818b6b244 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,949.00', 'price': '1949.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[P] | 103.31 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AU [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,399.00', 'final_price': '1,399.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 71f97287fed0305b7af2f3cf2c5752c15fd75286dbfea44b7a268f60fdd5fb2f [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,399.00', 'price': '1399.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Q] | 140.63 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 5a7f769b50207ad49704dac8dbbcdd63398e3f83e8fc3a5343a9755062e3b109 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,390.00', 'price': '1390.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[R] | 142.05 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: e6fa8abfc0294f86d31539d35537fe519450b95a7e7098ba48026188317430d8 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,099.00', 'price': '1099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[S] | 142.92 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 4af9875a67e45bb9e0f1a10654f91ba7c40e815fc619ec3a7eed3aa1b9054ac1 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,700.00', 'price': '1700.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[T] | 101.06 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: DE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: cb30939549dfcbe05074820ef92424a6eb913a4564085021014e728249a382b5 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,049.00', 'price': '1049.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[U] | 143.15 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,390.00', 'final_price': '1,501.20'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 2d2ab2fa4b25027f4021339da898d2dac23fa153b38badadbdf02ad562e05405 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,390.00', 'price': '1501.20'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[V] | 140.59 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,099.00', 'final_price': '1,186.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 6c7f262e980b35102cb01746729e93a22730e18987b94f3753a5f02974a08a57 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,099.00', 'price': '1186.92'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[W] | 141.33 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: SG [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,512.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 7f9276d71bc72c60d890e49ff6e2923f443f567f19efae83b3dae240f8a9d283 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,400.00', 'price': '1512.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[X] | 101.51 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 870fcb837520a1859a87bb611735f47623211857431ed2cf69515883aae5fd40 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'Digital Marketing Specialist Online Self Learning', 'training_type_txt': 'Online Self Learning', 'display_total_price': '1,049.00', 'price': '1049.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Y] | 142.25 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: 0bd60359ca0109df8541b096fc3d078fd89cb65c78625ea890337090b65c74af [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,390.00', 'price': '1390.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Z] | 142.49 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: a0a1b0b948ca9760358856583d6820eb88896815197c651b2d27a71954272b17 [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,099.00', 'price': '1099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AA] | 141.92 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:451 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course [32mINFO [0m setup:orders_page.py:30 Country Set to: AE [32mINFO [0m setup:orders_page.py:159 clicked on Enroll Now button for Masters Program [32mINFO [0m setup:orders_page.py:162 Payment Page Loaded [1m[31mERROR [0m setup:ssvc_cart_page.py:55 Exception in City dropdown Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 52, in fill_learner_details_and_proceed self.city_dropdown.select_element_by_index(1) File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: city_dropdown [32mINFO [0m setup:test_orders_and_payment_flow.py:566 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:460 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:463 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,400.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) [32mINFO [0m setup:test_orders_and_payment_flow.py:467 Token No is: a075030b357e7e926db0de1320d9f0f793bc56bf20013df14aeeb2a9ae37943a [32mINFO [0m setup:test_orders_and_payment_flow.py:477 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'training_type_txt': 'Online Classroom Flexi-Pass', 'display_total_price': '1,400.00', 'price': '1400.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:703 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_orderAndPayment_flow_certification_program_report_details_to_DB | 0.50 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:55 Total rows present in file are 63 [32mINFO [0m setup:test_orders_and_payment_flow.py:71 Total certification program urls are 35 [32mINFO [0m setup:test_orders_and_payment_flow.py:73 Total testcases passes is 35 [32mINFO [0m setup:test_orders_and_payment_flow.py:74 Total testcases failed is 0 [32mINFO [0m setup:db_helper.py:51 DB_type selected : mysql [32mINFO [0m setup:db_connection.py:96 Requested Query : INSERT INTO automation_ice9.td_order_and_payment_flow_report_details(module_name, sub_module_name, total_testcase_count, passed, failed, run_date) VALUES( 'Order and Payment Flow', 'Certification Program', '35', '35', '0', '2023-07-26'); | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_orderAndPayment_flow_master_program_report_details_to_DB | 0.32 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:390 Total rows present in file are 63 [32mINFO [0m setup:test_orders_and_payment_flow.py:406 Total master program urls are 28 [32mINFO [0m setup:test_orders_and_payment_flow.py:408 Total testcases passes is 28 [32mINFO [0m setup:test_orders_and_payment_flow.py:409 Total testcases failed is 0 [32mINFO [0m setup:db_helper.py:51 DB_type selected : mysql [32mINFO [0m setup:db_connection.py:96 Requested Query : INSERT INTO automation_ice9.td_order_and_payment_flow_report_details(module_name, sub_module_name, total_testcase_count, passed, failed, run_date) VALUES( 'Order and Payment Flow', 'Master Program', '28', '28', '0', '2023-07-26'); |