report.html

Report generated on 29-Dec-2023 at 11:59:26 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

62 tests ran in 5357.92 seconds.

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

Results

Result Test Duration Links
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_with_EMI_ZestMoney 81.57
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D803F40>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_with_EMI_ZestMoney(self, testdata):
"""
Objective: Create payment details with the emi option zest money india single course regular paymnet

Step 01: Select EMI option as Zest Money and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a zestMoney gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as Zest Money and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9D9E8F40>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log setup-------------------------------
INFO  setup:conftest.py:167 reading config from path "config.json" INFO  setup:conftest.py:142 creating driver for provided browser - {browser_name}
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_with_EMI_Liquiloan 81.45
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D8112B0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_with_EMI_Liquiloan(self, testdata):
"""
Objective: Create payment details with the emi option Liquiloan india single course regular paymnet

Step 01: Select EMI option as Liquiloan and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a Liquiloan gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as Liquiloan and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DA41EB0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_with_EMI_Propelld 81.48
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811520>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_with_EMI_Propelld(self, testdata):
"""
Objective: Create payment details with the emi option Propelld india single course regular paymnet

Step 01: Select EMI option as Propelld and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a Propelld gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as Propelld and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:69:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DA4EB50>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_with_EMI_SplitIt 81.49
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811790>
testdata = {'payment_details': {'advance-amount': '', 'city': 'New York City', 'contact_number': '9123456789', 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_with_EMI_SplitIt(self, testdata):
"""
Objective: Create payment details with the emi option SplitIt US single course regular paymnet

Step 01: Select EMI option as SplitIt and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a SplitIt gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as SplitIt and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC8A700>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Multiple_course_regular_payment_with_EMI_ZestMoney 82.57
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811A00>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Multiple_course_regular_payment_with_EMI_ZestMoney(self, testdata):
"""
Objective: Create payment details with the emi option ZestMoney India multiple course regular paymnet

Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a ZestMoney gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DAE8430>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Multiple_Learner_Single_course_regular_payment_with_EMI_ZestMoney 81.67
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811250>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Multiple_Learner_Single_course_regular_payment_with_EMI_ZestMoney(self, testdata):
"""
Objective: Create payment details with the emi option ZestMoney India multiple learner regular paymnet

Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a ZestMoney gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DADA3D0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_Singapore_EMI 81.74
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811D60>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': '9123456789', 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_Singapore_EMI(self, testdata):
"""
Objective: check emi payment option is not available for country other than India and US

Step 01: When we select country as Singapore then EMI options should not be enabled
"""
selenium_helper.close_all_window()
# Step 01: When we select country as Singapore then EMI options should not be enabled
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:177:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DADA370>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_INDIA_with_exam_EMI 160.19
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D811FD0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_INDIA_with_exam_EMI(self, testdata):
"""
Objective: check emi payment option is not available for Exams

Step 01: when we select any EMI option and then the Program with an exam should not be appear in the course/bundle list
"""
selenium_helper.close_all_window()
# Step 01: when we select any EMI option and then the Program with an exam should not be appear in the course/bundle list
> revx_prod_helper.create_payment_with_EMI_for_exam(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:192:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:574: in create_payment_with_EMI_for_exam
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9D9F8A60>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('id', 'payment-mode') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('name', 'paymentModeSelect') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('xpath', "//label[text()='Payment Mode:']/../select[@type='select']") on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present INFO  setup:revx_prod_helper.py:566 COOKIES ############# : {'name': '_sso_verified_user', 'value': 'verified'} ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('id', 'payment-mode') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('name', 'paymentModeSelect') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('xpath', "//label[text()='Payment Mode:']/../select[@type='select']") on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomRegularEMI::test_Single_course_regular_payment_discount_check_for_EMI_payments 160.13
self = <test_CPL_with_EMI.TestCustomRegularEMI object at 0x0000022F9D81F280>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment EMI", "Pradeep")
def test_Single_course_regular_payment_discount_check_for_EMI_payments(self, testdata):
"""
Objective: check emi payment option is not available for Exams

Step 01: when we select any EMI option and then the Program with an exam should not be appear in the course/bundle list
"""
selenium_helper.close_all_window()
# Step 01: when we select any EMI option and then the Program with an exam should not be appear in the course/bundle list
> email = revx_prod_helper.fill_learner_and_payment_details(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:716: in fill_learner_and_payment_details
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9D9F8FD0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('id', 'payment-mode') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('name', 'paymentModeSelect') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('xpath', "//label[text()='Payment Mode:']/../select[@type='select']") on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present INFO  setup:revx_prod_helper.py:708 COOKIES ############# : {'name': '_sso_verified_user', 'value': 'verified'} ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('id', 'payment-mode') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('name', 'paymentModeSelect') on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present ERROR  setup:selenium_helper.py:83 Message: WARNING  setup:selenium_helper.py:84 the locator ('xpath', "//label[text()='Payment Mode:']/../select[@type='select']") on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestCustomPartPaymentEMI::test_Single_course_Part_payment_with_EMI_ZestMoney 81.78
self = <test_CPL_with_EMI.TestCustomPartPaymentEMI object at 0x0000022F9D81F5B0>
testdata = {'payment_details': {'advance-amount': '20000.00', 'city': 'Bangalore', 'contact_number': '9123456789', 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Part Payment EMI", "Pradeep")
def test_Single_course_Part_payment_with_EMI_ZestMoney(self, testdata):
"""
Objective: Create payment details with the emi option zest money india single course regular paymnet

Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
Step 02: Verify the Cart amount
Step 03: Land on Cart page and check the 3rd step is a ZestMoney gateway or not
"""
selenium_helper.close_all_window()
# Step 01: Select EMI option as ZestMoney and Create a CPL link from RevX
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:252:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC0BDC0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestBackedRegularPaymentEMI::test_Single_course_Backend_regular_payment_Singapore_EMI 81.65
self = <test_CPL_with_EMI.TestBackedRegularPaymentEMI object at 0x0000022F9D81F8E0>
testdata = {'backend_payment_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': '9123456789', 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment EMI", "Pradeep")
def test_Single_course_Backend_regular_payment_Singapore_EMI(self, testdata):
"""
Objective: check emi payment option is not available for country other than India and US

Step 01: When we select any country from the list then EMI options should not be enabled since it is a backend payment
"""
selenium_helper.close_all_window()
# Step 01: When we select any country from the list then EMI options should not be enabled since it is a backend payment
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:280:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DA63CA0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_CPL_with_EMI.py::TestBackedRegularPaymentEMI::test_Single_course_Backend_regular_payment_United_States_EMI 81.72
self = <test_CPL_with_EMI.TestBackedRegularPaymentEMI object at 0x0000022F9D81FB50>
testdata = {'backend_payment_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'New York City', 'contact_number': '9123456789', 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment EMI", "Pradeep")
def test_Single_course_Backend_regular_payment_United_States_EMI(self, testdata):
"""
Objective: check emi payment option is not available for country other than India and US

Step 01: When we select any country from the list then EMI options should not be enabled since it is a backend payment
"""
selenium_helper.close_all_window()
# Step 01: When we select any country from the list then EMI options should not be enabled since it is a backend payment
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_CPL_with_EMI.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DA78730>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
INFO  setup:selenium_helper.py:144 Only One window is Present WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_complimentary_payment.py::TestComplimentaryPayment::test_create_complimentary_multiple_learner_single_course_with_discount 81.66
self = <test_backend_complimentary_payment.TestComplimentaryPayment object at 0x0000022F9D828310>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Complimentary Payment", "Pradeep")
def test_create_complimentary_multiple_learner_single_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Complimentary Payment
Learner: Multiple
Course: Single
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_complimentary_payment.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB4E730>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_complimentary_payment.py::TestComplimentaryPayment::test_create_complimentary_multiple_learner_multiple_course_with_discount 81.81
self = <test_backend_complimentary_payment.TestComplimentaryPayment object at 0x0000022F9D828580>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Complimentary Payment", "Pradeep")
def test_create_complimentary_multiple_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_complimentary_payment.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DAE9670>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_complimentary_payment.py::TestComplimentaryPayment::test_create_complimentary_multiple_learner_multiple_bundle_with_discount 82.37
self = <test_backend_complimentary_payment.TestComplimentaryPayment object at 0x0000022F9D8287F0>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Complimentary Payment", "Pradeep")
def test_create_complimentary_multiple_learner_multiple_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_complimentary_payment.py:59:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DA64220>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_complimentary_payment.py::TestComplimentaryPayment::test_create_complimentary_multiple_learner_multiple_combination_without_discount 81.72
self = <test_backend_complimentary_payment.TestComplimentaryPayment object at 0x0000022F9D828A60>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Complimentary Payment", "Pradeep")
def test_create_complimentary_multiple_learner_multiple_combination_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_complimentary_payment.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB9ED30>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_multiple_course_with_discount 81.66
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D81FF70>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 12345678990, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBC88B0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_single_learner_cohort_with_discount 81.85
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D828F40>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 12345678990, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_single_learner_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBAC5B0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_single_paid_course_without_discount 81.54
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D833460>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'London', 'contact_number': 12345678990, 'country': 'United Kingdom', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_single_paid_course_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBAC640>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_single_paid_course_with_discount 81.84
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D8336D0>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'London', 'contact_number': 12345678990, 'country': 'United Kingdom', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_single_paid_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:78:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB13610>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_combination_paid_and_free_course_with_discount 81.81
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D833940>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'London', 'contact_number': 12345678990, 'country': 'United Kingdom', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_combination_paid_and_free_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB819A0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_with_cohort_with_discount 81.36
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D833BB0>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Melbourne', 'contact_number': 12345678990, 'country': 'Australia', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_with_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBD3A00>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_single_learner_with_LVC_with_discount 81.47
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D833E20>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Melbourne', 'contact_number': 12345678990, 'country': 'Australia', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_single_learner_with_LVC_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DAD8640>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_backend_regular_payment.py::TestBackendRegularPayment::test_create_regular_backend_multiple_learner_with_LVC_with_discount 81.76
self = <test_backend_regular_payment.TestBackendRegularPayment object at 0x0000022F9D8370D0>
testdata = {'link_success_message': 'Payment data received successfully.', 'payment_details': {'advance-amount': '', 'city': 'Melbourne', 'contact_number': 12345678990, 'country': 'Australia', ...}}

@pytest.mark.test_details("0", "high", "Backend Regular Payment", "Pradeep")
def test_create_regular_backend_multiple_learner_with_LVC_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: multiple
Course: multiple
"""

# Creating the order/Generating the order for regular
> revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_backend_regular_payment.py:150:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DDEF0D0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_single_course_with_discount 81.63
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837AF0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_single_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Single
"""
# Creating the order/Generating the order for regular
> net_price, email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC92F10>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_multiple_course_with_discount 82.29
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837D60>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBD8280>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_single_bundle_without_discount 81.77
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837FD0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_single_bundle_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DDD1250>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_single_bundle_with_discount 81.85
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D842280>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_single_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DCB4AC0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_single_learner_multiple_bundle_without_discount 81.86
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D8424F0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_single_learner_multiple_bundle_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBF68B0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_single_learner_multiple_bundle_with_discount 81.58
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837F40>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_single_learner_multiple_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC051F0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_multiple_combination_without_discount 81.73
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837070>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_multiple_combination_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DBE7D00>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_complimentary.py::TestCustomComplimentary::test_create_custom_complimentary_multiple_learner_multiple_combination_with_discount 81.79
self = <test_custom_complimentary.TestCustomComplimentary object at 0x0000022F9D837700>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Complimentary Payment", "Pradeep")
def test_create_custom_complimentary_multiple_learner_multiple_combination_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Complimentary Payment
Learner: Multiple
Course: Multiple
"""
# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_complimentary.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC76880>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_multiple_course_with_discount 81.81
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D8461C0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Corporate Payment
Learner: Single
Course: Multiple courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE09610>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_single_course_singapore_with_discount 81.70
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D846430>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_single_course_singapore_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC07220>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_single_paid_course_with_discount 81.90
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D8466A0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_single_paid_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC61F70>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_multiple_paid_course_without_discount 81.68
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D846910>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_multiple_paid_course_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB86C10>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_multiple_learner_multiple_paid_course_with_discount 82.27
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D846B80>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_multiple_learner_multiple_paid_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB8D880>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_single_paid_bundle_with_discount 81.65
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D846DF0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_single_paid_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB5B4F0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_single_learner_single_cohort_with_discount 81.73
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D84F0A0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_single_learner_single_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:151:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE071F0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_corporate_payment.py::TestCustomCorporatePayment::test_create_corporate_multiple_learner_single_cohort_with_discount 81.80
self = <test_custom_corporate_payment.TestCustomCorporatePayment object at 0x0000022F9D84F310>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Corporate Payment", "Pradeep")
def test_create_corporate_multiple_learner_single_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: Corporate Payment
Learner: Single
Course: Single with Discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_corporate_payment.py:172:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB40130>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_single_techmaster_without_discount 81.79
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D84FC10>
testdata = {'payment_details': {'advance-amount': '30000.00', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_single_techmaster_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
Course: Techmaster
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:23:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DDCFB20>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_single_bundle_with_discount 81.43
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D84FE80>
testdata = {'payment_details': {'advance-amount': '30000.00', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_single_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
bundle: Single
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE08880>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_single_bundle_without_discount 81.83
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D84FB80>
testdata = {'payment_details': {'advance-amount': '30000.00', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_single_bundle_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
bundle: Single
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DDCB250>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_single_techmaster_with_discount 81.82
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D846640>
testdata = {'payment_details': {'advance-amount': '30000.00', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_single_techmaster_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
bundle: Single
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB43F40>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_multiple_course_with_discount 81.58
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D857190>
testdata = {'payment_details': {'advance-amount': '500.00', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
bundle: Single
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB14AC0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_partial_first_payment.py::TestCustomPartialFirstPayment::test_create_partial_first_multiple_course_without_discount 81.68
self = <test_custom_partial_first_payment.TestCustomPartialFirstPayment object at 0x0000022F9D857400>
testdata = {'payment_details': {'advance-amount': '500.00', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Partial First Payment", "Pradeep")
def test_create_partial_first_multiple_course_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: Partial first
Learner: Single
bundle: Single
"""
# Creating the order/Generating the order for repeat sale
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_partial_first_payment.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB14CD0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_course_with_discount 81.95
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D86C9A0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 12345678990, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: single
Course: single courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DF3D910>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_multiple_course_with_discount 82.01
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D86CBE0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 12345678990, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: single
Course: single courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC13790>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_multiple_course_with_discount 81.61
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D86CE20>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 12345678990, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_multiple_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: Multi
Course: Multiple courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:69:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DB89400>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_with_cohort_with_discount 81.81
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D8750A0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 12345678990, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_with_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: Multi
Course: Multiple courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DC2BEB0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_with_techMaster_with_discount 81.76
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D8752E0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 12345678990, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_with_techMaster_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Backend
Payment Type: backend Payment
Learner: Multi
Course: Multiple courses with discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE73CA0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_single_paid_course_without_discount 81.68
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D86CFD0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_single_paid_course_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:129:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9E02F9A0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_single_paid_course_with_discount 81.76
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D86C940>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_single_paid_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DFCEDC0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_multiple_paid_course_without_discount 81.90
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D875700>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_multiple_paid_course_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:169:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE59AF0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_multiple_free_and_paid_course_with_discount 81.67
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D8758E0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_multiple_free_and_paid_course_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:189:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE4A760>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_paid_bundle_without_discount 81.70
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D875B20>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_paid_bundle_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE483D0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_paid_bundle_with_discount 81.75
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D875D60>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_paid_bundle_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:229:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DD11EE0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_cohort_without_discount 81.89
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D875FD0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Singapore', 'contact_number': 1234567890, 'country': 'Singapore', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_cohort_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DD3EF10>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_cohort_with_discount 82.20
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D87D280>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_cohort_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:269:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE48520>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_single_cohort_without_discount 81.50
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D87D4F0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Washington', 'contact_number': 1234567890, 'country': 'United States', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_single_cohort_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:289:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DD0C280>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_single_learner_single_LVC_without_discount 81.66
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D87D760>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_single_learner_single_LVC_without_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:309:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DE66490>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present
Failed test_custom_regular_payment.py::TestCustomRegularPayment::test_create_custom_regular_multiple_learner_single_LVC_with_discount 81.88
self = <test_custom_regular_payment.TestCustomRegularPayment object at 0x0000022F9D87D9D0>
testdata = {'payment_details': {'advance-amount': '', 'city': 'Bangalore', 'contact_number': 1234567890, 'country': 'India', ...}}

@pytest.mark.test_details("0", "high", "Custom Regular Payment", "Pradeep")
def test_create_custom_regular_multiple_learner_single_LVC_with_discount(self, testdata):
"""
Objective: Create payment details with the following options,
Payment mode: Custom
Payment Type: backend Payment
Learner: Multiple
Course: single course without discount
"""

# Creating the order/Generating the order for regular
> net_price,email = revx_prod_helper.create_payment(testdata['payment_details'])

test_production\test_custom_regular_payment.py:329:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helper\revx_prod_helper.py:42: in create_payment
revx_page.select_payment_mode.select_element_by_text(payment_details['payment_mode'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages.revx_page.RevxPage object at 0x0000022F9DD1D0A0>, loc = 'select_payment_mode'

def __getattr__(self, loc):

logging.debug(f"the current locator to be found {loc} on url {self.driver.current_url}")
if loc in self.locators.keys():
error = ""
for loc_pair in self.locators[loc]:
loc_pair[0] = self.TYPE_OF_LOCATORS[loc_pair[0].lower()]
loc_pair = tuple(loc_pair)
try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.presence_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not present")
continue

try:
element = WebDriverWait(self.driver, self.timeout).until(
EC.visibility_of_element_located(loc_pair)
)
except (StaleElementReferenceException, NoSuchElementException, TimeoutException) as e:
error = e
logging.warning(f"the locator {loc} on url {self.driver.current_url} is not visible")
continue

element = self.get_web_element(*loc_pair)
element._locator = loc_pair
logging.debug(f"the locator {loc} is found!")
return element
> raise NoSuchElementException("An exception of type " + type(error).__name__ + " occurred. With Element -: " + loc)
E selenium.common.exceptions.NoSuchElementException: Message: An exception of type TimeoutException occurred. With Element -: select_payment_mode

core\page_factory.py:72: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:56 the locator send_anyway on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present WARNING  setup:page_factory.py:56 the locator select_payment_mode on url https://simplilearn.my.salesforce.com/?ec=302&startURL=%2Fidp%2Flogin%3Fapp%3D0sp0I00000004Ct is not present