report.html

Report generated on 23-Apr-2023 at 01:53:04 by pytest-html v2.1.1

Environment

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

Summary

65 tests ran in 6779.71 seconds.

59 passed, 0 skipped, 6 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[F] 204.89
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57CE2FD0>
value = 'F', initialize_pages = None
testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...}

@pytest.mark.test_details("0000","high","Order and Payment Flow","Pradeep")
@pytest.mark.parametrize("value", certification_program_course_read_csv())
def test_Orders_and_Payment_Flow_certification(self,value,initialize_pages,testdata):

'''
Objective: Make payment and validate the data in Dynamo db and mySql

Step 01: get url
Step 02: click on Enroll Now CTA
Step 03: Make payment
Step 04: Validate the Dynamo db and MySql daya for the payment
'''
url_count = self._count_url_txt_file_subdomain('Orders_and_Payment_Flow_Certification.txt')
logging.info(f"Total URL Present is: {url_count}")

# Step 01: get url
counter = 0
df = pd.read_csv('order_and_payment_certification_prod.csv', on_bad_lines='skip')
data = df[df['id']==value]
url_value = data['url'].values[0]
country_value = data['country'].values[0]
try:
pytest.driver.delete_all_cookies()
pytest.driver.get(url_value)
logging.info(f"Url Opened is: {url_value}")
selenium_helper.wait_for_page_to_load(10,value)
self.pg_orders.change_country(country_value)

if selenium_helper.is_locator_present(self.pg_orders.locators['common_button_enroll_now_certificaton'],10):
course_data = None
self.pg_orders.click_enroll_now_certification(url_value)
course_data = self._complete_payment(country_value,testdata['payment_type'],testdata['name'],testdata['email_id'],testdata['contact_no'])
logging.info(type(course_data))
time.sleep(5)

logging.info(f"course_data: {course_data}")

# Step 04: Validate the Dynamo db and MySql data for the payment
token_no = pytest.driver.current_url.split('authtoken=')[-1]
logging.info(f"Token No is: {token_no}")
query = 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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/secure/checkout/details/error?authtoken=4ad3857a88c1e9b4874efa480479ad96e7bae1f2812b9a1fd347fafcb9853909 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.simplilearn.com/secure/checkout/details/error?authtoken=abd352f05bd2873378ed0abc0b61cac7847ff3454dd84287b53b97632b1a6c77 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.simplilearn.com/secure/checkout/details/error?authtoken=abd352f05bd2873378ed0abc0b61cac7847ff3454dd84287b53b97632b1a6c77 is not visible INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: abd352f05bd2873378ed0abc0b61cac7847ff3454dd84287b53b97632b1a6c77 INFO  setup:test_orders_and_payment_flow.py:132 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:"1735138";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-22";s:2:"to";s:10:"2023-04-23";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1735138', '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-22', 'to': '2023-04-23', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 137, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[K] 204.34
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57CFF3D0>
value = 'K', 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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/secure/checkout/details/error?authtoken=bfa2fcc8ffa49315b8b65ae2340420d74c6bdabefa8c7714ba9a75d6b4d622cc 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.simplilearn.com/secure/checkout/details/error?authtoken=0fa0b83221eef87a5ec951ad58420ae19858c245c2b56a171d02919ac84d8f9d 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.simplilearn.com/secure/checkout/details/error?authtoken=0fa0b83221eef87a5ec951ad58420ae19858c245c2b56a171d02919ac84d8f9d is not visible INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 0fa0b83221eef87a5ec951ad58420ae19858c245c2b56a171d02919ac84d8f9d INFO  setup:test_orders_and_payment_flow.py:132 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:"1735676";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-22";s:2:"to";s:10:"2023-04-23";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1735676', '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-22', 'to': '2023-04-23', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 137, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[P] 204.12
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57CFF790>
value = 'P', initialize_pages = None
testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...}

@pytest.mark.test_details("0000","high","Order and Payment Flow","Pradeep")
@pytest.mark.parametrize("value", certification_program_course_read_csv())
def test_Orders_and_Payment_Flow_certification(self,value,initialize_pages,testdata):

'''
Objective: Make payment and validate the data in Dynamo db and mySql

Step 01: get url
Step 02: click on Enroll Now CTA
Step 03: Make payment
Step 04: Validate the Dynamo db and MySql daya for the payment
'''
url_count = self._count_url_txt_file_subdomain('Orders_and_Payment_Flow_Certification.txt')
logging.info(f"Total URL Present is: {url_count}")

# Step 01: get url
counter = 0
df = pd.read_csv('order_and_payment_certification_prod.csv', on_bad_lines='skip')
data = df[df['id']==value]
url_value = data['url'].values[0]
country_value = data['country'].values[0]
try:
pytest.driver.delete_all_cookies()
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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/secure/checkout/details/error?authtoken=7d8b19de1bfdc7ccc419c1a0f1eb643a4375642d46f9dbcd85bf3f3d1c0914e9 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.simplilearn.com/secure/checkout/details/error?authtoken=5a5dfe30d6b069910383f0a805fa23c07ec15dca186d31afc33a5f697fd1ba76 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.simplilearn.com/secure/checkout/details/error?authtoken=5a5dfe30d6b069910383f0a805fa23c07ec15dca186d31afc33a5f697fd1ba76 is not visible INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 5a5dfe30d6b069910383f0a805fa23c07ec15dca186d31afc33a5f697fd1ba76 INFO  setup:test_orders_and_payment_flow.py:132 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:"1735671";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-22";s:2:"to";s:10:"2023-04-23";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1735671', '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-22', 'to': '2023-04-23', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 137, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[U] 73.09
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57CFFB50>
value = 'U', 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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 119, in test_Orders_and_Payment_Flow_certification self.pg_orders.click_enroll_now_certification(url_value) File "C:\test_repos\pre_sales_test_python\pages_prod\orders_page.py", line 39, in click_enroll_now_certification selenium_helper.wait_for_page_to_load(20,'/secure/checkout') File "C:\test_repos\pre_sales_test_python\helper\selenium_helper.py", line 30, in wait_for_page_to_load WebDriverWait(pytest.driver, timeout).until(EC.url_contains(url)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\support\wait.py", line 71, in until value = method(self._driver) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\support\expected_conditions.py", line 77, in __call__ return self.url in driver.current_url File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 669, in current_url return self.execute(Command.GET_CURRENT_URL)['value'] File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status from no such window (Session info: chrome=112.0.5615.138)
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Z] 205.59
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57CFFF10>
value = 'Z', 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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/secure/checkout/details/error?authtoken=8646946ccbfdcd7573722573090b52eee3af00f1020a9f5e782b0b520919f473 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.simplilearn.com/secure/checkout/details/error?authtoken=8437b4c9cf695cd3aa10ab8877c6e8b6011628c55944c2bbff6c4f83473740c1 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.simplilearn.com/secure/checkout/details/error?authtoken=8437b4c9cf695cd3aa10ab8877c6e8b6011628c55944c2bbff6c4f83473740c1 is not visible INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 8437b4c9cf695cd3aa10ab8877c6e8b6011628c55944c2bbff6c4f83473740c1 INFO  setup:test_orders_and_payment_flow.py:132 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:"1735686";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-22";s:2:"to";s:10:"2023-04-23";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1735686', '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-22', 'to': '2023-04-23', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 137, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range
Failed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AE] 205.05
self = <test_orders_and_payment_flow.TestOrderAndPaymentFlowCertificationProgram object at 0x0000020A57D0B310>
value = 'AE', initialize_pages = None
testdata = {'contact_no': '123456789', 'country': ['in', 'us', 'gb', 'au', 'de', 'sg', ...], 'db_type': 'mysql', 'dynamo_db_type': 'dynamo', ...}

@pytest.mark.test_details("0000","high","Order and Payment Flow","Pradeep")
@pytest.mark.parametrize("value", certification_program_course_read_csv())
def test_Orders_and_Payment_Flow_certification(self,value,initialize_pages,testdata):

'''
Objective: Make payment and validate the data in Dynamo db and mySql

Step 01: get url
Step 02: click on Enroll Now CTA
Step 03: Make payment
Step 04: Validate the Dynamo db and MySql daya for the payment
'''
url_count = self._count_url_txt_file_subdomain('Orders_and_Payment_Flow_Certification.txt')
logging.info(f"Total URL Present is: {url_count}")

# Step 01: get url
counter = 0
df = pd.read_csv('order_and_payment_certification_prod.csv', on_bad_lines='skip')
data = df[df['id']==value]
url_value = data['url'].values[0]
country_value = data['country'].values[0]
try:
pytest.driver.delete_all_cookies()
pytest.driver.get(url_value)
logging.info(f"Url Opened is: {url_value}")
selenium_helper.wait_for_page_to_load(10,value)
self.pg_orders.change_country(country_value)

if selenium_helper.is_locator_present(self.pg_orders.locators['common_button_enroll_now_certificaton'],10):
course_data = None
self.pg_orders.click_enroll_now_certification(url_value)
course_data = self._complete_payment(country_value,testdata['payment_type'],testdata['name'],testdata['email_id'],testdata['contact_no'])
logging.info(type(course_data))
time.sleep(5)

logging.info(f"course_data: {course_data}")

# Step 04: Validate the Dynamo db and MySql data for the payment
token_no = pytest.driver.current_url.split('authtoken=')[-1]
logging.info(f"Token No is: {token_no}")
query = 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")

all_payment_cta = []
for i in course_data[1][1]:
a = (list(i.values())[0])
if 'failed' in list(i.values())[0].lower():
all_payment_cta.append('fail')


message = self.verify_mySQL_data_certification(course_data[0],sql_items,sql_data,testdata)
if 'successfull' in message[0].lower() and len(all_payment_cta) == 0:
status = 'Success'
else:
status = 'Fail'
filename = 'Report.csv'
course_name = course_data[0]['course_name']
course_type = 'Certification Program'
rows = [[country_value.upper(),course_name,course_type,url_value,message,course_data[1][0],course_data[1][1],status]]
with open(filename, 'a', newline='\n') as csvfile:
csvwriter = csv.writer(csvfile)
csvwriter.writerows(rows)
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:190: Failed
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:43 Payment Page is not Loaded INFO  setup:orders_page.py:44 url opend for payment is : https://www.simplilearn.com/secure/checkout/details/error?authtoken=10d579f11115f1506e37f0dffd67076cd8872fd4139c3a3660768003e632f6ad 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.simplilearn.com/secure/checkout/details/error?authtoken=2cd8ab5128e1b578ebcf8475df9f32f11242edce60f73414b27d4a2addb28396 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.simplilearn.com/secure/checkout/details/error?authtoken=2cd8ab5128e1b578ebcf8475df9f32f11242edce60f73414b27d4a2addb28396 is not visible INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ('Failed to Load Cart Page',) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 2cd8ab5128e1b578ebcf8475df9f32f11242edce60f73414b27d4a2addb28396 INFO  setup:test_orders_and_payment_flow.py:132 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:"1735678";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-22";s:2:"to";s:10:"2023-04-23";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1735678', '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-22', 'to': '2023-04-23', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} ERROR  setup:test_orders_and_payment_flow.py:168 Exception occurred Traceback (most recent call last): File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 137, in test_Orders_and_Payment_Flow_certification for i in course_data[1][1]: IndexError: tuple index out of range
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[A] 110.01
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 171: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 124, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 29 - Apr 30\\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': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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=0e6fb185795a81d7d98a126db222a32bc5686c4f315abe72356dc09a1a85bf8e is not visible INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Certified ScrumMaster® (CSM)', 'course_type': 'Apr 29 - Apr 30\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': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 0e6fb185795a81d7d98a126db222a32bc5686c4f315abe72356dc09a1a85bf8e INFO  setup:test_orders_and_payment_flow.py:132 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:"1740444";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-29";s:2:"to";s:10:"2023-04-30";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:15:"Agile and Scrum";s:12:"cateforyInfo";a:1:{i:9;s:15:"Agile and Scrum";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': '1740444', '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-29', 'to': '2023-04-30', 'days': 'isExpired', 'isSold': 'workshopDates', 'primary_label_id': '9', 'primary_label_name': 'Agile and Scrum'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[B] 36.96
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[C] 64.14
------------------------------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 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 124, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': '₹ 168,525.00', 'final_price': '198,859.50'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 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': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 5b06472a73810c53ff19b4c78c0766229374d4f9963fed6b69bfd3cce11333ba INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[D] 62.47
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 134: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 124, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 168,525.00', 'final_price': '198,859.50'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '₹ 168,525.00', 'final_price': '198,859.50'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: f2a6d5c3bc7688fddc5e88ee1b5828e59ad842c4cae46df5ddb81dda7ed2ac5a INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[E] 62.94
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 163: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 124, in test_Orders_and_Payment_Flow_certification logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '₹ 21,420.00', 'final_price': '25,275.60'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '₹ 21,420.00', 'final_price': '25,275.60'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 63bbdd27779d13e3fee1872521983cc9ae9c51b10ef303e2a62f59654abdaa31 INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[G] 37.20
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[H] 69.61
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 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': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 49ff4e4b291696754e6934381f91fc3bbcbcc7f900b3a3c08f5ee70876db60fb INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[I] 69.42
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,200.00', 'final_price': '2,200.00'}, (['Credit Card', 'PayPal', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: eefb6211a03f8f612a709c0927a0103cc7c893421c3235959e4b665a856fc949 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[J] 69.60
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 899.00', 'final_price': '899.00'}, (['Credit Card', 'PayPal', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: a89d32908555e343953ddcdd5f6ad962c0ca2705c33d18398210ed6bef677996 INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[L] 37.77
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[M] 99.60
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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: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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': '£ 2,499.00', 'final_price': '2,499.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 776744926597accd146b9611092030a8c9a4590c26c1d04530a8636deea81318 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[N] 100.10
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '£ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 166f8c1783387fef464b3599e9cc226155d6e8f9ff9f0a146164292bc1086d34 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[O] 99.94
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '£ 969.00', 'final_price': '969.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 0b76f02114dbd86a52f3480c36a23ddfda66b649f23c651fe3410a873385704e INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Q] 37.73
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[R] 100.07
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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: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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISA®', 'course_type': 'Online Self Learning', 'base_price': 'A$ 2,675.00', 'final_price': '2,675.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 9161f60577d833425de343d921ef6b05294793bc8a7a9f8780daa01362251c31 INFO  setup:test_orders_and_payment_flow.py:132 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:"2675.00";s:9:"basePrice";s:15:"2675.0000000000";s:19:"display_total_price";s:8:"2,675.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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 SQL DATA in JSON format: {'id': '32', 'name': 'CISA Online Self Learning', 'description': ' - 1', 'price': '2675.00', 'basePrice': '2675.0000000000', 'display_total_price': '2,675.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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[S] 99.68
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': 'A$ 2,689.00', 'final_price': '2,689.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 20fa4bcb9b396c06f382ff4db94b4cd8dd76121046b77f3f5f96425cbf4e6f27 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[T] 99.69
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': 'A$ 1,125.00', 'final_price': '1,125.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 47a2f9b62136620c6d88666848dd4a54b1b506a8382dfd6810e6bba0464e6a80 INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+61-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[V] 37.47
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[W] 98.58
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 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': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 5a20f584b9d70cb3cefbe5539d83f0483ddfd6386dbb9b4d11a0efe2e31b79c4 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[X] 98.16
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '€ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 1fdd303e5ae6ce597f09694c07647419701bd5bfcfec92eaaca22ff9486ee57e INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[Y] 99.65
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '€ 749.00', 'final_price': '749.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 3f1d5fd68f56275e304c1e3c4f5ad15bacc6cd601a2f8c9c7da76f6863f189ea INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AA] 36.77
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AB] 97.68
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 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': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: e13c133396012c4bf8ce69566b543208029f22c4bfeec7e0b2c591960c66e13e INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AC] 98.23
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,099.00', 'final_price': '2,266.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 92c1845067dfb7ad0c0592ab5e2a3374b3d83d84b8624cb904a63ad7c68dd535 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AD] 99.84
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 748.00', 'final_price': '807.84'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: cce850f00ec64c70da0ed66020432805f2e981fff0eda5943d765aaee5b49d1f INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+65-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AF] 37.56
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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:test_orders_and_payment_flow.py:157 Enroll Now button is not Appearing
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AG] 97.76
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 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': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: bb3a5000730346b077a97439536d23aa656ce2155eee3855e713c936b0ae15ab INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AH] 98.16
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'CISSP®', 'course_type': 'Online Self Learning', 'base_price': '$ 2,099.00', 'final_price': '2,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 07fc6daef497659cd8a1bc6088d1786476e13a0ed6acc535d09f84e54d599501 INFO  setup:test_orders_and_payment_flow.py:132 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:14:"Cyber Security";s:12:"cateforyInfo";a:1:{i:3;s:14:"Cyber Security";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Cyber Security'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_Orders_and_Payment_Flow_certification[AI] 99.36
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:102 Total URL Present is: 5 INFO  setup:test_orders_and_payment_flow.py:113 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 INFO  setup:test_orders_and_payment_flow.py:216 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:121 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:124 course_data: ({'course_name': 'Big Data Hadoop and Spark Developer', 'course_type': 'Online Self Learning', 'base_price': '$ 749.00', 'final_price': '749.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:128 Token No is: 2ca8c04484dfd7b7c0a2779366e8f2976d481067f2774ccb35679d73b83ea47a INFO  setup:test_orders_and_payment_flow.py:132 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:8:"Big Data";s:12:"cateforyInfo";a:2:{i:35;s:8:"Big Data";i:16;s:18:"Big Data Analytics";}}}', 'emailId': 'simplilearnautomation@gmail.com', 'contactNumber': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:134 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': 'Big Data'} INFO  setup:test_orders_and_payment_flow.py:338 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[A] 104.63
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 160: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 488, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 8b395ac855064b85030b9ba009e5aea1492079be48968decdfe75ab49a299372 INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683122400;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': '+91-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[B] 104.62
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 157: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 488, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '₹ 45,762.00', 'final_price': '53,999.16'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: a7ba7e5580c5f0f38cf339f390cc7bdc823ac72f26928ef6bfc6a38afffe25f7 INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683036000;s:19:"cohortStartDateUser";i:1685266200;s:17:"cohortEndDateUser";i:1698859800;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[C] 102.80
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 142: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 488, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '₹ 52,541.50', 'final_price': '61,998.97'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 990033f606d808be861d27c0b0c1cd9aa896ac5ea173cd27861864deeb067e04 INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682949600;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[D] 62.46
------------------------------Captured stderr call------------------------------
--- Logging error --- Traceback (most recent call last): File "c:\users\qateam\appdata\local\programs\python\python38\lib\logging\__init__.py", line 1084, in emit stream.write(msg + self.terminator) File "c:\users\qateam\appdata\local\programs\python\python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u20b9' in position 151: character maps to <undefined> Call stack: File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\qateam\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\qateam\AppData\Local\Programs\Python\Python38\Scripts\pytest.exe\__main__.py", line 7, in <module> sys.exit(console_main()) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 190, in console_main code = main() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\config\__init__.py", line 167, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\main.py", line 349, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 339, in from_call result: Optional[TResult] = func() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\runner.py", line 167, in pytest_runtest_call item.runtest() File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 1789, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\_pytest\python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "C:\test_repos\pre_sales_test_python\test_prod\test_orders_and_payment_flow.py", line 488, in test_Orders_and_Payment_Flow_masters_program logging.info(f"course_data: {course_data}") Message: "course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}]))" Arguments: ()
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:345 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '₹ 54,407.00', 'final_price': '64,200.26'}, (['Credit Card', 'Debit Card', 'Net Banking', 'UPI', 'EMI', 'ShopSe EMI', 'CCAvenue'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'debitcard': 'All option clickable and Payment CTA appearing '}, {'net_banking': 'All option clickable and Payment CTA appearing '}, {'UPI': 'All option clickable and Payment CTA appearing '}, {'EMI': 'All option clickable and Payment CTA appearing '}, {'CCAvenue': 'All option clickable and Payment CTA appearing '}, {'ShopSE EMI': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 5222b41e799aacf22f6bef003bd5c9c2ee4e9e265e0a7cf1b4bfbbc3254729f6 INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[E] 109.53
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,499.00', 'final_price': '1,499.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 26ef1c6bdf5853cbe95d2cca5f3df96922241026019dd9b2cd1019bec17439f2 INFO  setup:test_orders_and_payment_flow.py:496 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:"6439410c9983df7081eafceb";s:14:"welcomeClassId";s:24:"643941e0ffb4bf3181906fbe";s:10:"cohortName";s:25:"MS MEAN SEP 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1686681000;s:15:"cohortStartDate";i:1693661400;s:13:"cohortEndDate";i:1708277400;s:25:"welcomeClassStartDateUser";i:1686713400;s:19:"cohortStartDateUser";i:1693692000;s:17:"cohortEndDateUser";i:1708318800;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': '+1-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '6439410c9983df7081eafceb', 'welcomeClassId': '643941e0ffb4bf3181906fbe', 'cohortName': 'MS MEAN SEP 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[F] 109.77
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,499.00', 'final_price': '1,499.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 3c570ed855385062cac422d164de35358cd1c31115f3ed9ff516c738179256ae INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1682998200;s:19:"cohortStartDateUser";i:1685228400;s:17:"cohortEndDateUser";i:1698822000;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[G] 109.49
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,999.00', 'final_price': '1,999.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 5d07865d23820d9c6845a20fac208ad62b80050213a8c6d8648a24a75d23b60e INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682911800;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[H] 99.60
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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:164 Payment Page is not Loaded INFO  setup:orders_page.py:165 url opend for paymnent is : https://www.simplilearn.com/cart/add-to-cart?auh=c2ltcGxpbGVhcm5hdXRvbWF0aW9uQGdtYWlsLmNvbSwrMS0xMjM0NTY3ODksU2ltcGxpbGVhcm4= INFO  setup:orders_page.py:175 clicked on Enroll Now button for Masters Program again INFO  setup:orders_page.py:178 Payment Page Loaded INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,649.00', 'final_price': '1,649.00'}, (['Credit Card', 'PayPal', 'Affirm', 'Klarna'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'Affirm': 'All option clickable and Payment CTA appearing '}, {'klarna': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: d2c4e3b6c47a58afc8caa31385af52040046b96bc71f567bf2eb03a98bee1c0a INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[I] 142.47
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 3b2b8674eafef6fce8522209f732602a095acce64ab50a5514e22174db02922a INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683106200;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:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[J] 141.63
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: e0c027e4dc01faec6b7ca9f04babfbc9896c15e1342a9b681e1b3946ce91a7ff INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683019800;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': '+44-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[K] 142.20
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: f532648e974fbf55af698be64132eccb37d5058a292de69abef0a469c360b27c INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682933400;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[L] 99.99
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '£ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 1a940ae7f18c662ab7873bdc520312dd82f59f110904d98569a3297305896b8a INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[M] 142.49
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,605.00', 'final_price': '1,605.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 9c486b0bbf2dfe5d2e03914a916cf040e3c8efacec05bf252093847e1cc78cfc INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683138600;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:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[N] 141.80
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,649.00', 'final_price': '1,649.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: daa15b0531646c25688c6d6bdec1795f542d9b1305ebb5f85809e36e3e646094 INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683052200;s:19:"cohortStartDateUser";i:1685282400;s:17:"cohortEndDateUser";i:1698879600;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[O] 141.63
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,949.00', 'final_price': '1,949.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: b390bb21c07c3b8b7dc0592bdeaf8a6f66b3f144aacfaa3fee0af9ae2f40be41 INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682965800;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[P] 100.06
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': 'A$ 1,399.00', 'final_price': '1,399.00'}, (['Credit Card', 'PayPal'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 79b1c6d55342a8a1852d9ca07a1590aaccc6792c932cff6b85806d81343e603a INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Q] 140.81
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: cca9b3120f49db6691e7385dc72fc93ebaba5864269682e7f90be5ed4d634cbf INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683109800;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:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[R] 140.97
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 293a5c94905637d2ceca7fadf8730508ce73e9855a3aedd2d20a936ea5a1cb95 INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683023400;s:19:"cohortStartDateUser";i:1685253600;s:17:"cohortEndDateUser";i:1698843600;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[S] 138.66
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,700.00', 'final_price': '1,700.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: eaa57eb69c589fcc8dfd115156282bb51e43fc62a38937cd431e2e0b7b1d093e INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682937000;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[T] 98.19
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '€ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: f7f9bcf37c7e9f275ac32888d3c42cb4757efcff63daaba1d487c6920805ade0 INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[U] 138.96
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,390.00', 'final_price': '1,501.20'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 926df138caef8820413620b4fec429f9e6fa7e3c0cdef7ef27094a337a0c8943 INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683131400;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': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[V] 140.19
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,099.00', 'final_price': '1,186.92'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: fb7be7b6c84509272bdbb82fd1e04dd6e0877e63c384e373af56ed22c18f4fe8 INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683045000;s:19:"cohortStartDateUser";i:1685275200;s:17:"cohortEndDateUser";i:1698868800;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[W] 140.45
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,512.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 3e3dcaf2388b40292adcf93a6b84869bcb76370d21a9831065937f8290018120 INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682958600;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': '+49-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[X] 98.56
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 71f29f2045999270e7feedf136cf00abf5ff8619e0b53bbe32ad66d6133cd119 INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Y] 140.51
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Full Stack Web Developer - MEAN Stack', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,390.00', 'final_price': '1,390.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: dda7d60b09019a42e07415903d99b6b90e78986cbeedfdca2d3980c9a4e4cd5c INFO  setup:test_orders_and_payment_flow.py:496 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:"63c2d0d72b22261dd54ecdd9";s:10:"cohortName";s:25:"MS MEAN JUN 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1683052200;s:15:"cohortStartDate";i:1685799000;s:13:"cohortEndDate";i:1698514200;s:25:"welcomeClassStartDateUser";i:1683117000;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': '+971-123456789'}] INFO  setup:test_orders_and_payment_flow.py:498 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': '63c2d0d72b22261dd54ecdd9', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[Z] 138.93
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Automation Testing Masters Program', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,099.00', 'final_price': '1,099.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: c256000f9d56b27b185f170b78cbfc5436c36eaed58f4c33311ab6e48a302323 INFO  setup:test_orders_and_payment_flow.py:496 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:"643f87feffb4bf318198f12d";s:10:"cohortName";s:24:"MS ATE MAY 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682965800;s:15:"cohortStartDate";i:1685196000;s:13:"cohortEndDate";i:1698775200;s:25:"welcomeClassStartDateUser";i:1683030600;s:19:"cohortStartDateUser";i:1685260800;s:17:"cohortEndDateUser";i:1698854400;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:498 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': '643f87feffb4bf318198f12d', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AA] 141.56
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'UI/UX Design Expert', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,400.00', 'final_price': '1,400.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 1b4d9c4e5b7af45e17f185ec59bc6f46cfb41173937baa09850d758e55036549 INFO  setup:test_orders_and_payment_flow.py:496 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:"63e3881c394d688faef02536";s:10:"cohortName";s:26:"MS UI/UX May 2023 Cohort 1";s:21:"welcomeClassStartDate";i:1682879400;s:15:"cohortStartDate";i:1683381600;s:13:"cohortEndDate";i:1693504800;s:25:"welcomeClassStartDateUser";i:1682944200;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:498 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': '63e3881c394d688faef02536', '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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_Orders_and_Payment_Flow_masters_program[AB] 98.93
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:476 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 INFO  setup:test_orders_and_payment_flow.py:579 <class 'tuple'> INFO  setup:ssvc_cart_page.py:367 Payment Deatils Entered INFO  setup:test_orders_and_payment_flow.py:485 <class 'tuple'> INFO  setup:test_orders_and_payment_flow.py:488 course_data: ({'course_name': 'Digital Marketing Specialist', 'course_type': 'Online Bootcamp', 'base_price': '$ 1,049.00', 'final_price': '1,049.00'}, (['Credit Card', 'PayPal', '2Checkout'], [{'creditcard': 'All option clickable and Payment CTA appearing '}, {'Paypal': 'All option clickable and Payment CTA appearing '}, {'2checkout': 'All option clickable and Payment CTA appearing '}])) INFO  setup:test_orders_and_payment_flow.py:492 Token No is: 1462c0927e15633dbbce78366864326ae84aca4543bf1d304ea89a0909655dd0 INFO  setup:test_orders_and_payment_flow.py:496 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:498 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:756 Verifiaction Status Log Message: ['DB Verification Successfull']
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowCertificationProgram::test_orderAndPayment_flow_certification_program_report_details_to_DB 0.74
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:53 Total rows present in file are 63 INFO  setup:test_orders_and_payment_flow.py:69 Total certification program urls are 35 INFO  setup:test_orders_and_payment_flow.py:71 Total testcases passes is 35 INFO  setup:test_orders_and_payment_flow.py:72 Total testcases failed is 0 INFO  setup:db_helper.py:51 DB_type selected : mysql INFO  setup:db_connection.py:96 Requested Query : INSERT INTO automation_ice9.td_order_and_payment_flow_report_details(module_name, sub_module_name, total_testcase_count, passed, failed, run_date) VALUES( 'Order and Payment Flow', 'Certification Program', '35', '35', '0', '2023-04-23');
Passed test_orders_and_payment_flow.py::TestOrderAndPaymentFlowMastersProgram::test_orderAndPayment_flow_master_program_report_details_to_DB 0.42
-------------------------------Captured log call--------------------------------
INFO  setup:test_orders_and_payment_flow.py:415 Total rows present in file are 63 INFO  setup:test_orders_and_payment_flow.py:431 Total master program urls are 28 INFO  setup:test_orders_and_payment_flow.py:433 Total testcases passes is 28 INFO  setup:test_orders_and_payment_flow.py:434 Total testcases failed is 0 INFO  setup:db_helper.py:51 DB_type selected : mysql INFO  setup:db_connection.py:96 Requested Query : INSERT INTO automation_ice9.td_order_and_payment_flow_report_details(module_name, sub_module_name, total_testcase_count, passed, failed, run_date) VALUES( 'Order and Payment Flow', 'Master Program', '28', '28', '0', '2023-04-23');