report.html

Report generated on 31-Mar-2023 at 01:57:41 by pytest-html v2.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.9.0", "pytest": "6.1.0"}
Platform Windows-10-10.0.19041-SP0
Plugins {"allure-pytest": "2.8.18", "datadir": "1.3.1", "html": "2.1.1", "metadata": "1.10.0"}
Python 3.8.5

Summary

63 tests ran in 7055.75 seconds.

62 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[M] 132.53
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x000001DF485CDBB0>
value = 'M', 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 = testdata['sql_query'].replace('<token_no>',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")

message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower():
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)
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:
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:
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:
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:136: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.pg-p.ctme.caltech.edu/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu&_gl=1*zorvyu*_ga*MTQzMTQ0NTU4OS4xNjgwMjAyMDE2*_ga_CG9EYRX7VL*MTY4MDIwMjAxNi4xLjEuMTY4MDIwMjA0Mi4zNC4wLjA. INFO  setup:orders_page.py:54 clicked on Enroll Now button again INFO  setup:orders_page.py:59 Payment Page is not Loaded INFO  setup:orders_page.py:60 url opend for paymnent is : https://www.pg-p.ctme.caltech.edu/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu&_gl=1*hxbrpu*_ga*MTQzMTQ0NTU4OS4xNjgwMjAyMDE2*_ga_CG9EYRX7VL*MTY4MDIwMjAxNi4xLjEuMTY4MDIwMjA3NC4yLjAuMA.. ERROR  setup:selenium_helper.py:61 Message: WARNING  setup:selenium_helper.py:62 the locator ('xpath', "//div[@id='ssvcApp']//div[contains(text(), 'Cart Summary')][contains(@class,'active_heading')]") on url https://www.pg-p.ctme.caltech.edu/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu&_gl=1*hxbrpu*_ga*MTQzMTQ0NTU4OS4xNjgwMjAyMDE2*_ga_CG9EYRX7VL*MTY4MDIwMjAxNi4xLjEuMTY4MDIwMjA3NC4yLjAuMA.. is not visible INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: https://www.pg-p.ctme.caltech.edu/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrNDQtMTIzNDU2Nzg5LFNpbXBsaWxlYXJu&_gl=1*hxbrpu*_ga*MTQzMTQ0NTU4OS4xNjgwMjAyMDE2*_ga_CG9EYRX7VL*MTY4MDIwMjAxNi4xLjEuMTY4MDIwMjA3NC4yLjAuMA.. INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [] ERROR  setup:test_orders_and_payment_flow.py:114 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 86, in test_Orders_and_Payment_Flow_certification sql_items = self.convert_items_to_json(sql_data) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 168, in convert_items_to_json data = (data[0]['items']) IndexError: list index out of range
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[A] 104.61
------------------------------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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 15 - Apr 16\\n(2 days) Classroom', 'base_price': '₹ 19,999.00', 'final_price': '23,598.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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:selenium_helper.py:61 Message: WARNING  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=bd49393f317eaf664dc3a975cbcc8e4126a87b396d82cceb7fac743254ad07bd is not visible INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 15 - Apr 16\n(2 days) Classroom', 'base_price': '₹ 19,999.00', 'final_price': '23,598.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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: bd49393f317eaf664dc3a975cbcc8e4126a87b396d82cceb7fac743254ad07bd INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:8:"23598.82";s:9:"basePrice";s:5:"19999";s:19:"display_total_price";s:9:"19,999.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733389";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-15";s:2:"to";s:10:"2023-04-16";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '23598.82', 'basePrice': '19999', 'display_total_price': '19,999.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733389', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-15', 'to': '2023-04-16', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[B] 60.88
------------------------------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 136: 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 11,940.00', 'final_price': '14,089.20'}, (['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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:selenium_helper.py:61 Message: WARNING  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=d4504d7ea37cb85ff5ba2b9d1cf082f13111268996e00e604e79efb133adb4b2 is not visible INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 11,940.00', 'final_price': '14,089.20'}, (['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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: d4504d7ea37cb85ff5ba2b9d1cf082f13111268996e00e604e79efb133adb4b2 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:8:"14089.20";s:9:"basePrice";s:16:"11940.0000000000";s:19:"display_total_price";s:9:"11,940.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '14089.20', 'basePrice': '11940.0000000000', 'display_total_price': '11,940.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[C] 55.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 133: 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISA®', '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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', '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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 29e91f775ecb3afd5818176f694b317304c9786841aa71ddc754c2dd15be2a43 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:9:"198859.50";s:9:"basePrice";s:17:"168525.0000000000";s:19:"display_total_price";s:10:"168,525.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '198859.50', 'basePrice': '168525.0000000000', 'display_total_price': '168,525.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[D] 55.86
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 3a47623713f63ca1e3983f9965a7a7a86f4327b05c41be7ea20ece332aef475f INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:9:"198859.50";s:9:"basePrice";s:17:"168525.0000000000";s:19:"display_total_price";s:10:"168,525.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '198859.50', 'basePrice': '168525.0000000000', 'display_total_price': '168,525.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[E] 55.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 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: e52696c1edb952806d0792095fcaca03e7034d0954745d7cc33c567665f02673 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:8:"25275.60";s:9:"basePrice";s:10:"21420.0000";s:19:"display_total_price";s:9:"21,420.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '25275.60', 'basePrice': '21420.0000', 'display_total_price': '21,420.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[F] 115.84
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\n(2 days) Classroom', 'base_price': '$ 599.00', 'final_price': '599.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'Affirm': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: de572ea635e0281a12ab3734a89da24e99eabc1c741ade31bd6df6d79424b019 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"599.00";s:9:"basePrice";s:3:"599";s:19:"display_total_price";s:6:"599.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733314";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '599.00', 'basePrice': '599', 'display_total_price': '599.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733314', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[G] 76.41
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 26c389ac4365db08bb58277826f02b53e13262711af136f2424a998abd8b4f73 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:15:"1049.0000000000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049.0000000000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[H] 76.22
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', '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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 95a619aa55dfcd13004b6634bee57cd1f40ba826ea41febff83ee3e8fb569811 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2200.00";s:9:"basePrice";s:15:"2200.0000000000";s:19:"display_total_price";s:8:"2,200.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '2200.00', 'basePrice': '2200.0000000000', 'display_total_price': '2,200.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[I] 76.40
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 43108f1c3c7d1cac16ac338352122d7f91b910275047d212b6a5db248bd0ee5f INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2200.00";s:9:"basePrice";s:15:"2200.0000000000";s:19:"display_total_price";s:8:"2,200.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2200.00', 'basePrice': '2200.0000000000', 'display_total_price': '2,200.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[J] 77.35
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 3a9676066a198557e102a62915f01fd087e7d92fd3e0c04b2f98485609f959df INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:6:"899.00";s:9:"basePrice";s:14:"899.0000000000";s:19:"display_total_price";s:6:"899.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '899.00', 'basePrice': '899.0000000000', 'display_total_price': '899.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[K] 147.22
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\n(2 days) Classroom', 'base_price': '£ 549.00', 'final_price': '549.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: f1944dfac0b2b3e767c0fc81288d14c2dd05bfa6c181c913dd6b47baf0d4b5a5 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"549.00";s:9:"basePrice";s:3:"549";s:19:"display_total_price";s:6:"549.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733479";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '549.00', 'basePrice': '549', 'display_total_price': '549.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733479', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[L] 104.81
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '£ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: f8e938fe238ae772e94ea98bdb451e362517afc84c5fa8f2e2bdd7c7e2b914c7 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:9:"1049.0000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049.0000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[N] 104.35
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 79dc8fb83fbd96f3128dd5c2460acec0178ebf5a07c119174ceaab4a8b81627a INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2099.00";s:9:"basePrice";s:15:"2099.0000000000";s:19:"display_total_price";s:8:"2,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2099.00', 'basePrice': '2099.0000000000', 'display_total_price': '2,099.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[O] 104.98
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: d5f66434fc3d4d527ec1dce49a72411a65f600d83ef5dd77fa8a934f71c40455 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:6:"969.00";s:9:"basePrice";s:8:"969.0000";s:19:"display_total_price";s:6:"969.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '969.00', 'basePrice': '969.0000', 'display_total_price': '969.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[P] 146.69
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 6b6dfa2817471a5e648284014a187579d5fc430e9d51a615d5374b37269473c3 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"799.00";s:9:"basePrice";s:3:"799";s:19:"display_total_price";s:6:"799.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733474";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '799.00', 'basePrice': '799', 'display_total_price': '799.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733474', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Q] 104.66
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': 'A$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: e18732c416e308db753bc2db719c2cb11c12f6e18231c94b3ed1923435150bb8 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:15:"1049.0000000000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049.0000000000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[R] 75.99
------------------------------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 133: 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 77, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISA®', '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'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', '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'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: e6eb061dc6813ca5bf5a04426760c6098def74270d8b79f56e35669ea5ef2402 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:9:"198859.50";s:9:"basePrice";s:17:"168525.0000000000";s:19:"display_total_price";s:10:"168,525.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '198859.50', 'basePrice': '168525.0000000000', 'display_total_price': '168,525.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[S] 104.55
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 954a93852eb7e6f6506e24a84061ccb32efbb1ddfa59a11bce2f0c7747d3586e INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2689.00";s:9:"basePrice";s:15:"2689.0000000000";s:19:"display_total_price";s:8:"2,689.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2689.00', 'basePrice': '2689.0000000000', 'display_total_price': '2,689.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[T] 104.93
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 3e23a433b514240f027c2400897659497448a0f404fbdd8bb05dbcf36597e16c INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1125.00";s:9:"basePrice";s:15:"1125.0000000000";s:19:"display_total_price";s:8:"1,125.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '1125.00', 'basePrice': '1125.0000000000', 'display_total_price': '1,125.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[U] 146.48
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 9a57c315c7c526157dc97aec6157c61112c32053645590299baaed468b08b03b INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"599.00";s:9:"basePrice";s:3:"599";s:19:"display_total_price";s:6:"599.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733486";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '599.00', 'basePrice': '599', 'display_total_price': '599.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733486', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[V] 103.58
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '€ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 99d6b9c1d1a275bfc4160b3a60cc3f805ec519c34385b143f3fc0018a043c7b8 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:15:"1049.0000000000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049.0000000000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[W] 103.36
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': '€ 2,499.00', 'final_price': '2,499.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 174c9c4ab8b7d377e5d51f362573caf902350f976622f3e9f3c84b5e5a1eb0cf INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2499.00";s:9:"basePrice";s:15:"2499.0000000000";s:19:"display_total_price";s:8:"2,499.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '2499.00', 'basePrice': '2499.0000000000', 'display_total_price': '2,499.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[X] 103.25
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 2fa68a21e207b1357efaab16e923ed8f87c060df86424bbcd3d4b7a5de077a9c INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2099.00";s:9:"basePrice";s:15:"2099.0000000000";s:19:"display_total_price";s:8:"2,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2099.00', 'basePrice': '2099.0000000000', 'display_total_price': '2,099.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Y] 102.92
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: df8b260c58855819e4c74789eee87b44656c427eb1e5a9acad2d89302adef046 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:6:"749.00";s:9:"basePrice";s:8:"749.0000";s:19:"display_total_price";s:6:"749.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '749.00', 'basePrice': '749.0000', 'display_total_price': '749.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Z] 145.47
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: e9f36059a85988133ee4a748fab8aba17acca97b73690a710e0ce130653e7e66 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"646.92";s:9:"basePrice";s:3:"599";s:19:"display_total_price";s:6:"599.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733491";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '646.92', 'basePrice': '599', 'display_total_price': '599.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733491', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AA] 103.35
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '$ 1,049.00', 'final_price': '1,132.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 7561de01d280c3834f4a8853ef9edec2eaa3838066b5dca7837e1309b04ea289 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1132.92";s:9:"basePrice";s:15:"1049.0000000000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1132.92', 'basePrice': '1049.0000000000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AB] 103.34
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,499.00', 'final_price': '2,698.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 0e1263ac077c01dafb9ff73b38358c4ddb683aac6a842864d2a6cd01eb1fce3c INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2698.92";s:9:"basePrice";s:15:"2499.0000000000";s:19:"display_total_price";s:8:"2,499.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '2698.92', 'basePrice': '2499.0000000000', 'display_total_price': '2,499.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AC] 103.19
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: eaf93f6148487a7f2986450218b7aaff7748c5eed54cd642f09b794e60b0fbb6 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2266.92";s:9:"basePrice";s:15:"2099.0000000000";s:19:"display_total_price";s:8:"2,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2266.92', 'basePrice': '2099.0000000000', 'display_total_price': '2,099.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AD] 103.03
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 53d4d4d2b415cc4050c693c34d40d9bcee97c704a84650215904b65b69719f7f INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:6:"807.84";s:9:"basePrice";s:8:"748.0000";s:19:"display_total_price";s:6:"748.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '807.84', 'basePrice': '748.0000', 'display_total_price': '748.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AE] 146.05
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/agile-and-scrum-certification-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 01 - Apr 02\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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 15f6621971326426802407e7ad278cde41ebde8d8cb0eb6623d3f41b5a9fba0e INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:28:{s:2:"id";s:1:"4";s:4:"name";s:50:"Certified ScrumMaster<sup>®</sup> (CSM) Classroom";s:11:"description";s:4:" - 1";s:5:"price";s:6:"599.00";s:9:"basePrice";s:3:"599";s:19:"display_total_price";s:6:"599.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"1";s:10:"workshopId";s:7:"1733482";s:5:"venue";s:3:"TBD";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:40:"Certified ScrumMaster<sup>®</sup> (CSM)";s:11:"billingType";i:1;s:7:"img_url";s:77:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz";s:10:"course_url";s:43:"/agile-and-scrum/csm-certification-training";s:17:"training_type_txt";s:9:"Classroom";s:4:"from";s:10:"2023-04-01";s:2:"to";s:10:"2023-04-02";s:4:"days";i:2;s:9:"isExpired";i:0;s:6:"isSold";i:0;s:13:"workshopDates";N;s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '4', 'name': 'Certified ScrumMaster (CSM) Classroom', 'description': ' - 1', 'price': '599.00', 'basePrice': '599', 'display_total_price': '599.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '1', 'workshopId': '1733482', 'venue': 'TBD', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Certified ScrumMaster (CSM)', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-CSM.svgz', 'course_url': '/agile-and-scrum/csm-certification-training', 'training_type_txt': 'Classroom', 'from': '2023-04-01', 'to': '2023-04-02', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AF] 103.47
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/agile-and-scrum/pmi-acp-certification-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'PMI-ACP®', 'course_type': 'Online Self Learning', 'base_price': '$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: d9bf692aa1c9a19711e83315880556e838e34abf9131823955a4c77ea723c001 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:1:"9";s:4:"name";s:41:"PMI-ACP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:15:"1049.0000000000";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:20:"PMI-ACP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:81:"https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz";s:10:"course_url";s:47:"/agile-and-scrum/pmi-acp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"9";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '9', 'name': 'PMI-ACP Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049.0000000000', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'PMI-ACP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/AGILE-AND-SCRUM-PMI-ACP.svgz', 'course_url': '/agile-and-scrum/pmi-acp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '9', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AG] 103.00
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cisa-certification-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,499.00', 'final_price': '2,499.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 5a45f9e1d825bc79e5f3a70f9adc8c090ea7430bda656b6b3a13023648c96e96 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"32";s:4:"name";s:38:"CISA<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2499.00";s:9:"basePrice";s:15:"2499.0000000000";s:19:"display_total_price";s:8:"2,499.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:17:"CISA<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:67:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz";s:10:"course_url";s:43:"/cyber-security/cisa-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '2499.00', 'basePrice': '2499.0000000000', 'display_total_price': '2,499.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISA', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISA.svgz', 'course_url': '/cyber-security/cisa-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AH] 103.14
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/cyber-security/cissp-certification-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: a472e3b36277bfad52a1cfd6d43f22fe77107d3288a61647140c4e28324606d3 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"34";s:4:"name";s:39:"CISSP<sup>®</sup> Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"2099.00";s:9:"basePrice";s:15:"2099.0000000000";s:19:"display_total_price";s:8:"2,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:18:"CISSP<sup>®</sup>";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:68:"https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz";s:10:"course_url";s:44:"/cyber-security/cissp-certification-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:1:"3";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '34', 'name': 'CISSP Online Self Learning', 'description': ' - 1', 'price': '2099.00', 'basePrice': '2099.0000000000', 'display_total_price': '2,099.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'CISSP', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/ITSecCISSP.svgz', 'course_url': '/cyber-security/cissp-certification-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '3', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AI] 103.50
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:55 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:66 Url Opened is: https://www.simplilearn.com/big-data-and-analytics/big-data-and-hadoop-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:38 clicked on Enroll Now button INFO  setup:orders_page.py:41 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:162 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:74 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:77 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:81 Token No is: 4b30ac5a7338086949fae34935fc6cb1132fbad8d968f06405138e2b2b5d9ef9 INFO  setup:test_orders_and_payment_flow.py:85 RAW SQL Data: [{'items': 'a:1:{i:0;a:23:{s:2:"id";s:2:"15";s:4:"name";s:56:"Big Data Hadoop and Spark Developer Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:6:"749.00";s:9:"basePrice";s:8:"749.0000";s:19:"display_total_price";s:6:"749.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"2";s:10:"accessDays";s:3:"180";s:13:"productTypeId";s:1:"1";s:15:"productTypeName";s:6:"course";s:11:"actual_name";s:35:"Big Data Hadoop and Spark Developer";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:96:"https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz";s:10:"course_url";s:52:"/big-data-and-analytics/big-data-and-hadoop-training";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"35";s:18:"primary_label_name";s:0:"";s:12:"cateforyInfo";s:0:"";}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:87 SQL DATA in JSON format: {'id': '15', 'name': 'Big Data Hadoop and Spark Developer Online Self Learning', 'description': ' - 1', 'price': '749.00', 'basePrice': '749.0000', 'display_total_price': '749.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '2', 'accessDays': '180', 'productTypeId': '1', 'productTypeName': 'course', 'actual_name': 'Big Data Hadoop and Spark Developer', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/icons/Big-Data_Big-Data-and-Hadoop-Developer.svgz', 'course_url': '/big-data-and-analytics/big-data-and-hadoop-training', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '35', 'primary_label_name': ''} INFO  setup:test_orders_and_payment_flow.py:284 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[A] 99.11
------------------------------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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 390, 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 5c0422e047fb3dbb09c49731f85e4baaaf49d16ab93dfcbdf20e3c475aae7b9b INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:8:"53999.16";s:9:"basePrice";s:5:"45762";s:19:"display_total_price";s:9:"45,762.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680530400;s:19:"cohortStartDateUser";i:1685867400;s:17:"cohortEndDateUser";i:1698597000;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '53999.16', 'basePrice': '45762', 'display_total_price': '45,762.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[B] 98.54
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 390, 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: e766c95fd1d7414a43417c1c12b8a8d6d4e50c91127d04cc1a17522557b63de1 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:8:"53999.16";s:9:"basePrice";s:5:"45762";s:19:"display_total_price";s:9:"45,762.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681912800;s:19:"cohortStartDateUser";i:1685262600;s:17:"cohortEndDateUser";i:1698856200;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '53999.16', 'basePrice': '45762', 'display_total_price': '45,762.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[C] 110.31
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 142: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 390, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 0a6fd656cce139597c1c790b2765eb6b320b4b6fb3ce97997586491a603034da INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:8:"61998.97";s:9:"basePrice";s:7:"52541.5";s:19:"display_total_price";s:9:"52,541.50";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680530400;s:19:"cohortStartDateUser";i:1683451800;s:17:"cohortEndDateUser";i:1693589400;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '61998.97', 'basePrice': '52541.5', 'display_total_price': '52,541.50', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[D] 56.71
------------------------------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 187, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = 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 306, 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 257, 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 313, 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 338, 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 110, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 127, 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 216, 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 255, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 310, in from_call result = func() # type: Optional[TResult] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 256, 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 163, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1627, 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 184, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 390, 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: IN INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:316 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA appearing'}, {'EMI': 'Payment CTA appearing'}, {'CCAvenue': 'Payment CTA appearing'}, {'ShopSE EMI': 'Payment CTA appearing'}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 8d6c4b52c39ec73035dbbf9a1e42658dbf05cc3cece9e89d3d3dce06f933f47c INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:8:"64200.26";s:9:"basePrice";s:5:"54407";s:19:"display_total_price";s:9:"54,407.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '64200.26', 'basePrice': '54407', 'display_total_price': '54,407.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[E] 116.09
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'Affirm': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 930ca06c031b222a27aa1588d2a7e25ed9e8336292e5cf6b8b254a852c94d8d6 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1499.00";s:9:"basePrice";s:4:"1499";s:19:"display_total_price";s:8:"1,499.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680492600;s:19:"cohortStartDateUser";i:1685829600;s:17:"cohortEndDateUser";i:1698559200;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1499.00', 'basePrice': '1499', 'display_total_price': '1,499.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[F] 116.37
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'Affirm': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: ce6370d3c458ebf460337f39b53c46ac10a1d88e69b9b38528a6acabb9adf5eb INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1499.00";s:9:"basePrice";s:4:"1499";s:19:"display_total_price";s:8:"1,499.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681875000;s:19:"cohortStartDateUser";i:1685224800;s:17:"cohortEndDateUser";i:1698818400;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1499.00', 'basePrice': '1499', 'display_total_price': '1,499.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[G] 115.61
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,999.00', 'final_price': '1,999.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'Affirm': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 45ed476f3d79a1c7c0ba12a287194cf97d30985bc3b23ca76b6faa149bb15d44 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1999.00";s:9:"basePrice";s:4:"1999";s:19:"display_total_price";s:8:"1,999.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680492600;s:19:"cohortStartDateUser";i:1683414000;s:17:"cohortEndDateUser";i:1693551600;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1999.00', 'basePrice': '1999', 'display_total_price': '1,999.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[H] 74.69
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: US INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'Affirm': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 72e789cb8d5fed7eac17b48b4ff8fc02f702d1522d702e51964d638d6a1e0ceb INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1649.00";s:9:"basePrice";s:4:"1649";s:19:"display_total_price";s:8:"1,649.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1649.00', 'basePrice': '1649', 'display_total_price': '1,649.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[I] 145.92
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 8f8db23aafee6a6266bacd216198da3de598548e5a0a2b3fc689e9b1ab481ba0 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1390.00";s:9:"basePrice";s:4:"1390";s:19:"display_total_price";s:8:"1,390.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680514200;s:19:"cohortStartDateUser";i:1685851200;s:17:"cohortEndDateUser";i:1698577200;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1390.00', 'basePrice': '1390', 'display_total_price': '1,390.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[J] 146.20
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: a9ebf2aff8bb314fe8df2c7fd211a2bd65b917ee1988acfd9d1c5bca603c244f INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1099.00";s:9:"basePrice";s:4:"1099";s:19:"display_total_price";s:8:"1,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681896600;s:19:"cohortStartDateUser";i:1685246400;s:17:"cohortEndDateUser";i:1698836400;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1099.00', 'basePrice': '1099', 'display_total_price': '1,099.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[K] 146.62
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: fd3cdf2b5ed1ee5de8ca06bae1d0f593b291ee53224a6a10f369231bab7e9341 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1700.00";s:9:"basePrice";s:4:"1700";s:19:"display_total_price";s:8:"1,700.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680514200;s:19:"cohortStartDateUser";i:1683435600;s:17:"cohortEndDateUser";i:1693573200;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1700.00', 'basePrice': '1700', 'display_total_price': '1,700.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[L] 104.81
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: GB INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 17a68ec7dd2e8733cd7f1334b82c9b998a0ff56fabef78a5f0d71ef2be310a16 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:4:"1049";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[M] 146.21
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 80d7572228c694f11f523a4d40241770a39df751e1855db5aa3fc5c162d725a2 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1605.00";s:9:"basePrice";s:4:"1605";s:19:"display_total_price";s:8:"1,605.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680546600;s:19:"cohortStartDateUser";i:1685883600;s:17:"cohortEndDateUser";i:1698616800;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1605.00', 'basePrice': '1605', 'display_total_price': '1,605.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[N] 146.60
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 6a6f90baa0d898396212c1c98d6d00cd269d25b62a5ce96cdb4370cbedc46924 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1649.00";s:9:"basePrice";s:4:"1649";s:19:"display_total_price";s:8:"1,649.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681929000;s:19:"cohortStartDateUser";i:1685278800;s:17:"cohortEndDateUser";i:1698876000;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1649.00', 'basePrice': '1649', 'display_total_price': '1,649.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[O] 146.59
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,949.00', 'final_price': '1,949.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 6a4c74d3efdbcbdb8d26128a8055465bd425b6f1d8525555a8cab6a23a19fa4c INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1949.00";s:9:"basePrice";s:4:"1949";s:19:"display_total_price";s:8:"1,949.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680546600;s:19:"cohortStartDateUser";i:1683468000;s:17:"cohortEndDateUser";i:1693605600;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1949.00', 'basePrice': '1949', 'display_total_price': '1,949.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[P] 105.19
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: AU INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: af6fdfcaf2de0e4fd8d98e0508b1e5322caa2a9d7276c372b10f755f9f29985a INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1399.00";s:9:"basePrice";s:4:"1399";s:19:"display_total_price";s:8:"1,399.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1399.00', 'basePrice': '1399', 'display_total_price': '1,399.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Q] 144.63
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: db579d21e7da1dd07107b2f9f4e5636300ee956b990231e9384fc085ebbb29d1 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1390.00";s:9:"basePrice";s:4:"1390";s:19:"display_total_price";s:8:"1,390.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680517800;s:19:"cohortStartDateUser";i:1685854800;s:17:"cohortEndDateUser";i:1698580800;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1390.00', 'basePrice': '1390', 'display_total_price': '1,390.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[R] 145.13
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: a56dd2a2b3af1c60c6df29c9acaace78a3bbf1113e32941d0365290353988802 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1099.00";s:9:"basePrice";s:4:"1099";s:19:"display_total_price";s:8:"1,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681900200;s:19:"cohortStartDateUser";i:1685250000;s:17:"cohortEndDateUser";i:1698840000;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1099.00', 'basePrice': '1099', 'display_total_price': '1,099.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[S] 143.62
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 911f126422b749fefb6a94ba74034b99123fb275a60917333db3a7ce85d2432f INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1700.00";s:9:"basePrice";s:4:"1700";s:19:"display_total_price";s:8:"1,700.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680517800;s:19:"cohortStartDateUser";i:1683439200;s:17:"cohortEndDateUser";i:1693576800;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1700.00', 'basePrice': '1700', 'display_total_price': '1,700.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[T] 103.88
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: DE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 3ca84175415cb65d7b8d775855382593f724dbdc31554823f676fbf5e12448ff INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:4:"1049";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[U] 144.13
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 3a6b43440a09c1797d7f4c5e1e0439bed222df3aeca8c79c0b62b1db10f2e6dc INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1501.20";s:9:"basePrice";s:4:"1390";s:19:"display_total_price";s:8:"1,390.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680539400;s:19:"cohortStartDateUser";i:1685876400;s:17:"cohortEndDateUser";i:1698606000;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1501.20', 'basePrice': '1390', 'display_total_price': '1,390.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[V] 144.71
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 4d5aa0a61a890bd577957d7a39e34aed0239339167cfe1a818078cd2d45ad2e4 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1186.92";s:9:"basePrice";s:4:"1099";s:19:"display_total_price";s:8:"1,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681921800;s:19:"cohortStartDateUser";i:1685271600;s:17:"cohortEndDateUser";i:1698865200;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1186.92', 'basePrice': '1099', 'display_total_price': '1,099.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[W] 144.96
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: SG INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,512.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 4ccfe75021e9db36d3e7e23c64d8804f27e94f18f434ff02d533fbe3342daf2d INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1512.00";s:9:"basePrice";s:4:"1400";s:19:"display_total_price";s:8:"1,400.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680539400;s:19:"cohortStartDateUser";i:1683460800;s:17:"cohortEndDateUser";i:1693598400;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1512.00', 'basePrice': '1400', 'display_total_price': '1,400.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[X] 103.42
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: b0bdbe5a3610a2610c783bea758b7c4911968a708b70f4f7acb6cd445dd801da INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:4:"1049";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Y] 143.88
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/full-stack-web-developer-mean-stack-certification-training INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: c191e18a44d5f99b3df80a6827250ac4256faab8c0d39289be68ec5d6938ca98 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"105";s:4:"name";s:65:"Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1390.00";s:9:"basePrice";s:4:"1390";s:19:"display_total_price";s:8:"1,390.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:37:"Full Stack Web Developer - MEAN Stack";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:83:"https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63c2d0492b22261dd54ecdd1";s:14:"welcomeClassId";s:24:"63c2d0842b22261dd54ecdd2";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1680525000;s:19:"cohortStartDateUser";i:1685862000;s:17:"cohortEndDateUser";i:1698591600;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:1;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '105', 'name': 'Full Stack Web Developer - MEAN Stack Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1390.00', 'basePrice': '1390', 'display_total_price': '1,390.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Full Stack Web Developer - MEAN Stack', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/mean-stack-master.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63c2d0492b22261dd54ecdd1', 'welcomeClassId': '63c2d0842b22261dd54ecdd2', 'cohortName': 'MS MEAN JUN 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Z] 144.66
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/automation-testing-masters-program-certification-training-course INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 441343959c03f685506124f5c74ae9edc1e4fe3d2f79a862bbd4c11872b359b4 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"112";s:4:"name";s:62:"Automation Testing Masters Program Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1099.00";s:9:"basePrice";s:4:"1099";s:19:"display_total_price";s:8:"1,099.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:34:"Automation Testing Masters Program";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:105:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"641c32c32d85af2fc6b0a0ff";s:14:"welcomeClassId";s:24:"641c392186902310e306e2d3";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1681842600;s:15:"cohortStartDate";i:1685194200;s:13:"cohortEndDate";i:1698773400;s:25:"welcomeClassStartDateUser";i:1681907400;s:19:"cohortStartDateUser";i:1685257200;s:17:"cohortEndDateUser";i:1698850800;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '112', 'name': 'Automation Testing Masters Program Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1099.00', 'basePrice': '1099', 'display_total_price': '1,099.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Automation Testing Masters Program', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Automation-Testing-Masters-Program-icon.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '641c32c32d85af2fc6b0a0ff', 'welcomeClassId': '641c392186902310e306e2d3', 'cohortName': 'MS ATE MAY 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AA] 144.99
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/ui-ux-design-masters-program-certification-course INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,400.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: 5b3ae64e8f10731156c646f85349bed332abee2ef9443ef328cd40d68b696f29 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:33:{s:2:"id";s:3:"290";s:4:"name";s:47:"UI/UX Design Expert Online Classroom Flexi-Pass";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1400.00";s:9:"basePrice";s:4:"1400";s:19:"display_total_price";s:8:"1,400.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:9:"classroom";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"120";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:19:"UI/UX Design Expert";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:49:"https://www.simplilearn.com/ice9/banners/IoT.svgz";s:10:"course_url";N;s:17:"training_type_txt";s:27:"Online Classroom Flexi-Pass";s:9:"messageTT";s:0:"";s:8:"cohortId";s:24:"63e38537394d688faef02105";s:14:"welcomeClassId";s:24:"63e387c30fb88289a3a0541b";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1680460200;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1680525000;s:19:"cohortStartDateUser";i:1683446400;s:17:"cohortEndDateUser";i:1693584000;s:16:"primary_label_id";s:2:"25";s:18:"primary_label_name";s:20:"Software Development";s:12:"cateforyInfo";a:1:{i:25;s:20:"Software Development";}s:15:"program_version";i:2;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '290', 'name': 'UI/UX Design Expert Online Classroom Flexi-Pass', 'description': ' - 1', 'price': '1400.00', 'basePrice': '1400', 'display_total_price': '1,400.00', 'quantity': 'isEarlyBird', 'type': 'classroom', 'trainingType_id': '9', 'accessDays': '120', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'UI/UX Design Expert', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/banners/IoT.svgz', 'training_type_txt': 'Online Classroom Flexi-Pass', 'messageTT': '', 'cohortId': '63e38537394d688faef02105', 'welcomeClassId': '63e387c30fb88289a3a0541b', 'cohortName': 'MS UI/UX May 2023 Cohort 1', 'welcomeClassStartDate': 'cohortStartDate', 'cohortEndDate': 'welcomeClassStartDateUser', 'cohortStartDateUser': 'cohortEndDateUser', 'primary_label_id': '25', 'primary_label_name': 'Software Development'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AB] 103.62
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:378 Url Opened is: https://www.simplilearn.com/advanced-digital-marketing-certification-training-course INFO  setup:orders_page.py:30 Country Set to: AE INFO  setup:orders_page.py:159 clicked on Enroll Now button for Masters Program INFO  setup:orders_page.py:162 Payment Page Loaded ERROR  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 ERROR  setup:ssvc_cart_page.py:227 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\pages_prod\ssvc_cart_page.py", line 221, in _validate_row_seamless_payment_gatways self.a_paypal_row.scroll_to_element() File "C:\test_repos\pre_sales_test_python\core\page_factory.py", line 60, in __getattr__ raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc) selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: a_paypal_row INFO  setup:test_orders_and_payment_flow.py:475 <class 'tuple'> INFO  setup:ssvc_cart_page.py:336 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:387 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:390 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': 'Payment CTA not appearing '}, {'2checkout': 'Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:394 Token No is: f30dc2f57db4e3e8b8aaba0a4323c538aed1c787eedca4cc5d49e181df0af142 INFO  setup:test_orders_and_payment_flow.py:398 RAW SQL Data: [{'items': 'a:1:{i:0;a:24:{s:2:"id";s:2:"23";s:4:"name";s:49:"Digital Marketing Specialist Online Self Learning";s:11:"description";s:4:" - 1";s:5:"price";s:7:"1049.00";s:9:"basePrice";s:4:"1049";s:19:"display_total_price";s:8:"1,049.00";s:8:"quantity";i:1;s:11:"isEarlyBird";i:0;s:4:"type";s:6:"online";s:15:"trainingType_id";s:1:"9";s:10:"accessDays";s:3:"335";s:13:"productTypeId";s:1:"2";s:15:"productTypeName";s:6:"bundle";s:11:"actual_name";s:28:"Digital Marketing Specialist";s:7:"priceId";s:0:"";s:11:"billingType";i:1;s:7:"img_url";s:88:"https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz";s:10:"course_url";s:57:"/advanced-digital-marketing-certification-training-course";s:17:"training_type_txt";s:20:"Online Self Learning";s:9:"messageTT";s:0:"";s:16:"primary_label_id";s:2:"18";s:18:"primary_label_name";s:17:"Digital Marketing";s:12:"cateforyInfo";a:1:{i:18;s:17:"Digital Marketing";}s:15:"program_version";i:3;}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:400 SQL DATA in JSON format: {'id': '23', 'name': 'Digital Marketing Specialist Online Self Learning', 'description': ' - 1', 'price': '1049.00', 'basePrice': '1049', 'display_total_price': '1,049.00', 'quantity': 'isEarlyBird', 'type': 'online', 'trainingType_id': '9', 'accessDays': '335', 'productTypeId': '2', 'productTypeName': 'bundle', 'actual_name': 'Digital Marketing Specialist', 'priceId': '', 'img_url': 'https://www.simplilearn.com/ice9/course_images/bundle313x225/Digital-marketing-head.svgz', 'course_url': '/advanced-digital-marketing-certification-training-course', 'training_type_txt': 'Online Self Learning', 'messageTT': '', 'primary_label_id': '18', 'primary_label_name': 'Digital Marketing'} INFO  setup:test_orders_and_payment_flow.py:652 Verifiaction Status Log Message: ['DB Verification Successfull']