Report generated on 18-May-2023 at 01:44:22 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 6256.80 seconds.
(Un)check the boxes to filter the results.
63 passed, 0 skipped, 2 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[F] | 233.99 | |
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x000001612928AEE0> value = 'F', 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() 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['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:202: Failed -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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: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=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrOTEtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [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/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrOTEtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [31m[1mERROR [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/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrOTEtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) [32mINFO [0m setup:test_orders_and_payment_flow.py:128 Token No is: https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrOTEtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [] [31m[1mERROR [0m setup:test_orders_and_payment_flow.py:177 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 143, 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:188 1st else block in Exception | |||
Failed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AE] | 233.27 | |
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x00000161292AF220> 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() 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['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:202: Failed -------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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/add-to-cart?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/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [31m[1mERROR [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/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) [32mINFO [0m setup:test_orders_and_payment_flow.py:128 Token No is: https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNjUtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [] [31m[1mERROR [0m setup:test_orders_and_payment_flow.py:177 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 143, 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:188 1st else block in Exception | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[A] | 110.91 | |
------------------------------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 124, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 20 - May 21\\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:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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=2a21f7a219342e9a539af47447b0d29537343efece766ca7dea5f8cd4ff759e8 is not visible [32mINFO [0m setup:test_orders_and_payment_flow.py:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 20 - May 21\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:128 Token No is: 2a21f7a219342e9a539af47447b0d29537343efece766ca7dea5f8cd4ff759e8 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[B] | 37.96 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[C] | 62.09 | |
------------------------------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 124, 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:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 696bf6aadec96e43c5f720aa5727c43f6d1acf38bb42613bc92865c00d43e0e2 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[D] | 65.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 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 124, 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:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 7da4628768176abe872fdc682247ea842d1c405a9c3456c14a9965666417b622 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[E] | 124.67 | |
------------------------------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 124, 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:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 355ed1d2a4fee4aa4e2fec5d308faf1b6ab931df7423fc61177e7a8d88eff258 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[G] | 37.06 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[H] | 67.70 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: b38e96b7eee5df936fbde184c4b6699261e79019bd94e0df6c0530c49667ddc8 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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': '2,299.00', 'price': '2299.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[I] | 69.88 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 132a00233ae6a8d46bf6e0c4ecfa7a7d4e6f3bc07cac5523a23090f84f4f0446 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[J] | 69.94 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: da1bcaf5df8e67ef2e75d7dc05d1cce672f74d4bc832033ac232849179d4e235 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[K] | 143.43 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 18 - May 19\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:128 Token No is: 66e4a767e5d7b218c8bd7c9537a3113de711215d37adff78b3a1d10586c1a358 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[L] | 36.69 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[M] | 100.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 08dafd202b9839a708697cb0d1f2103b39ec7d4f9f6ad1b7a3931504e441d071 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[N] | 102.07 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 10d486702225ea5df3a9a0237a1aa223df4135681f8317f86afde320eac3ee6c [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[O] | 100.84 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 8266a95dcd7da22ec1cac027db1e3088f18c702517b842b8b2f1e8b4f33f59f6 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[P] | 146.20 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 20 - May 21\n(2 days) Classroom', 'base_price': 'A$ 799.00', 'final_price': '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:128 Token No is: ca03be67bdbcd7af38eab5ace5457fdd9b670eda59048d2ee68a59278ebc3a67 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789', 'name': 'Certified ScrumMaster<sup>®</sup> (CSM) Classroom', 'training_type_txt': 'Classroom', 'display_total_price': '799.00', 'price': '799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Q] | 37.18 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[R] | 100.24 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 187151f4fd33165392dca2f7f8557719765ef85de7fc7b288cb0588323da692a [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[S] | 100.27 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: bf256c8539a50ac901bc1a6a595493425d38fe2ccf20b9f9aac34372dd3dc10b [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[T] | 100.83 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 5bd039b5ebb15329a6180940dc0041a3180433be646810e81bf0f4fd446d56c9 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[U] | 141.76 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 18 - May 19\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:128 Token No is: 1b0224727c27d7496e265ee4b769906f46958e248ac02aaf3ac2990c8cb1c3cd [32mINFO [0m setup:test_orders_and_payment_flow.py:138 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[V] | 37.31 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[W] | 98.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: ed784c584db19d173a0a9cd47e7b0a0e9f94308b029cb35b09ebbfd96f1c7ce8 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[X] | 99.73 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: eb3564ab2c08951c815e296c03ea7c988479bab4552cc999c85645a602dce152 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Y] | 98.83 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 121cd3438614fa52a120dcd653a550e06dc25d66c62ccdfd4fe08b9dcaf6019a [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Z] | 143.07 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'May 18 - May 19\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:128 Token No is: 32aaee7060871a6ede6bb35365ec91d25b4f5acf2d7b619320f5a33b740c26e5 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AA] | 37.00 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AB] | 98.12 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 872cc3fb42f429a2b2bd08e24fefe3440bcf83b612930aa85e3281f8a26cceaa [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AC] | 100.04 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 6a4bcc7ddb549a20d0198461155c130b5ab20a8c57ff0b66fc7ab65677986b0f [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AD] | 98.57 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 7af0e73351a577c34aa5f27e621cd72c495c3aa70f045fec3e94fa5f655b9e24 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AF] | 36.62 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:166 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AG] | 99.01 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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:41 Payment Page Loaded [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: 4278d9b383fbc25d25113fde9f936b019de83b1245b21d033190c5b27aa83c7a [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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': '2799.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AH] | 98.83 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: b08a6b6fe04e602f2cb17a0bebcef62a53c8a23fd8b958c028fb542da7de4fe4 [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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': '2099.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AI] | 98.65 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 [32mINFO [0m setup:test_orders_and_payment_flow.py:113 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 [31m[1mERROR [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:228 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:121 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:124 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:128 Token No is: d6de3f5482bd8e5cfc367b22957f90866ec49b06ca529f2af0ec6d337077170b [32mINFO [0m setup:test_orders_and_payment_flow.py:138 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:354 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[A] | 105.36 | |
------------------------------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 458, 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:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 49b6b0f7c968b73e2b29b85b54a0efd90b2acd46ff4c0eda5b9109ce1752e9d5 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[B] | 105.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 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 458, 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:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: f7668d88d35f1a67f3d44aa5e2caf329bab1fe02d20e74f64bca5692a0d9849e [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[C] | 57.97 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[D] | 62.90 | |
------------------------------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 458, 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:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:345 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 0087e4990d14cc54fb5e1d261a5c145a94c6694fbe8a4aacdba038a778152682 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[E] | 108.30 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: b7d63eed591048d7a55a3c19c6f1c27a546d360923c17ce53064ded2f2eac456 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[F] | 109.91 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 83d355691bbbcec15e3f21c0a4ff158f0706d9f7942d4a0ccb0728e639721c41 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[G] | 57.44 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[H] | 69.02 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: df5d0f6bda21902bc3c0227e524b70d5af5571a521c5a80d86c1df5e428d25c3 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[I] | 143.51 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 616726a6af735fc3246db945f71007d171b80e7f4aeb50bef3395af5f9825849 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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,390.00', 'price': '1390.00'}] [32mINFO [0m setup:test_orders_and_payment_flow.py:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[J] | 142.68 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: db7b0bf0aceacfdda18f2faea739a9bcfefba8476f391c2c0a3ba37cd4231781 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[K] | 57.99 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[L] | 100.72 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 3c061ce438e2b027d1cf4b5970ac060f35074a676a0f3a996459eecb80769191 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[M] | 142.69 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: d8726a26416431d0c432d15a836a46559bddb7bdebe5b5d560cef6853992538c [32mINFO [0m setup:test_orders_and_payment_flow.py:472 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[N] | 142.83 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: c3a3f1b13bf18e5ba16f43c25b758980dffca1b4fa2bc698acd06a2ff05cbaf1 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[O] | 57.36 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[P] | 100.99 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 31c0fb7d3c6ee81bbed6cc8d6bdc3fdaa0a9b464d187d715a4e23251ff0dad76 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Q] | 141.80 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 06be87fb88657125b895ebb3dc4f45c55d07b35bc58b25d3ffd14e83e6f49642 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[R] | 139.34 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: a29f1c3a82469d6b6995964de3b40be4e15da2defea4c1d5032ccb6b949f2be0 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[S] | 57.78 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[T] | 99.51 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 69d85175e79b655b12605ba64fe3ae89973fa4ea6af73a7a9b1c034a26b7c8fb [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[U] | 140.82 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 99abc68e9b2ed0aa6ad6f4fa39f94b53d4518383d1a3a9b5d6d1e1a99a5cd548 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[V] | 141.58 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 4148e7d01465728367df541abd023589dd5bdb69cef6c063c33babf78d0cf854 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[W] | 57.92 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[X] | 99.37 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 4be5f65d40d27f5b8e228454a10f4ba8092086ba4f4ee0b1b11ce3b18e87e542 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 RAW SQL Data: [{'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Y] | 141.29 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 1f9b58398d59106e70ccd49414a7eea048705a3c79d0a165e7dde505b2192792 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Z] | 141.34 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 501bb58de896577023214752ec4f0a72c9fc0225e36929db57295bc313bde03a [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 Verifiaction Status Log Message: ['DB Verification Successfull'] | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AA] | 57.09 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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:test_orders_and_payment_flow.py:501 Enroll Now button is not Appearing | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AB] | 98.63 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:446 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 [31m[1mERROR [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:561 <class 'tuple'> [32mINFO [0m setup:ssvc_cart_page.py:367 Payment Deatils Entered [32mINFO [0m setup:test_orders_and_payment_flow.py:455 <class 'tuple'> [32mINFO [0m setup:test_orders_and_payment_flow.py:458 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:462 Token No is: 08ddfeae58d0216084e855bb67d4719099b89fba56cf410aadb8d2305c2d6814 [32mINFO [0m setup:test_orders_and_payment_flow.py:472 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:698 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.59 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:53 Total rows present in file are 63 [32mINFO [0m setup:test_orders_and_payment_flow.py:69 Total certification program urls are 35 [32mINFO [0m setup:test_orders_and_payment_flow.py:71 Total testcases passes is 35 [32mINFO [0m setup:test_orders_and_payment_flow.py:72 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-05-18'); | |||
Passed | test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_orderAndPayment_flow_master_program_report_details_to_DB | 0.42 | |
-------------------------------Captured log call-------------------------------- [32mINFO [0m setup:test_orders_and_payment_flow.py:385 Total rows present in file are 63 [32mINFO [0m setup:test_orders_and_payment_flow.py:401 Total master program urls are 28 [32mINFO [0m setup:test_orders_and_payment_flow.py:403 Total testcases passes is 28 [32mINFO [0m setup:test_orders_and_payment_flow.py:404 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-05-18'); |