report.html

Report generated on 08-Jun-2023 at 23:45:39 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

22 tests ran in 976.30 seconds.

15 passed, 0 skipped, 7 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_search_functionality_skillup 24.89
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D8339ECA0>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Pallavi")
def test_check_search_functionality_skillup(self):
self._close_all_window()
with open("skillup.txt") as file:
for url in file:
pytest.driver.get(url)
> counter, message = pg_home_page.check_search_functionality()

test_prod\test_home_and_skillup_page_check.py:457:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\home_page.py:161: in check_search_functionality
self.close_all_popup()
pages_prod\home_page.py:490: in close_all_popup
self.close_button.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.home_page.HomePage object at 0x0000019D833246D0>, loc = 'close_button'

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] = selenium_helper.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 -: close_button

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_button on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_rediirection_job_guarantee_url 24.77
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D8339E6D0>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Om")
def test_check_rediirection_job_guarantee_url(self):
self._close_all_window()
with open("skillup.txt") as file:
for url in file:
pytest.driver.get(url)
> message = pg_home_page.check_rediretion_urls_jobs_skillup()

test_prod\test_home_and_skillup_page_check.py:473:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\home_page.py:205: in check_rediretion_urls_jobs_skillup
self.close_all_popup()
pages_prod\home_page.py:490: in close_all_popup
self.close_button.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.home_page.HomePage object at 0x0000019D833246D0>, loc = 'close_button'

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] = selenium_helper.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 -: close_button

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_button on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_rediirection_live_skillup_url 24.72
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D8338FF10>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Om")
def test_check_rediirection_live_skillup_url(self):
self._close_all_window()
with open("skillup.txt") as file:
for url in file:
pytest.driver.get(url)
> message = pg_home_page.check_rediretion_urls_simplilearn_live_skillup()

test_prod\test_home_and_skillup_page_check.py:500:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\home_page.py:240: in check_rediretion_urls_simplilearn_live_skillup
self.close_all_popup()
pages_prod\home_page.py:490: in close_all_popup
self.close_button.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.home_page.HomePage object at 0x0000019D833246D0>, loc = 'close_button'

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] = selenium_helper.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 -: close_button

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_button on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_rediirection_quiz 24.77
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D833442B0>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Om")
def test_check_rediirection_quiz(self):

self._close_all_window()

with open("skillup.txt") as file:

for url in file:
pytest.driver.get(url)
> message = pg_home_page.check_rediretion_urls_quiz()

test_prod\test_home_and_skillup_page_check.py:531:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\home_page.py:272: in check_rediretion_urls_quiz
self.close_all_popup()
pages_prod\home_page.py:490: in close_all_popup
self.close_button.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.home_page.HomePage object at 0x0000019D833246D0>, loc = 'close_button'

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] = selenium_helper.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 -: close_button

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_button on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_login_button 24.77
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D83344400>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Pallavi")
def test_check_login_button(self):
self._close_all_window()
with open("skillup.txt") as file:
for url in file:
pytest.driver.get(url)
> message = pg_home_page.check_login_functionality()

test_prod\test_home_and_skillup_page_check.py:556:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\home_page.py:472: in check_login_functionality
self.close_all_popup()
pages_prod\home_page.py:490: in close_all_popup
self.close_button.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.home_page.HomePage object at 0x0000019D833246D0>, loc = 'close_button'

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] = selenium_helper.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 -: close_button

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_button on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_Start_learning_button 44.63
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D83344580>

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Pradeep")
def test_check_Start_learning_button(self):
self._close_all_window()
with open("skillup.txt") as file:
for url in file:
pytest.driver.get(url)
> counter, message = pg_skillup_page.check_start_learning_functionality()

test_prod\test_home_and_skillup_page_check.py:583:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\skillUp_page.py:26: in check_start_learning_functionality
self.close_all_popup()
pages_prod\skillUp_page.py:58: in close_all_popup
self.close_search_popup.execute_script("arguments[0].click();")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pages_prod.skillUp_page.SkillUpPage object at 0x0000019D83324BE0>, loc = 'close_search_popup'

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] = selenium_helper.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 -: close_search_popup

core\page_factory.py:60: NoSuchElementException
-------------------------------Captured log call--------------------------------
WARNING  setup:page_factory.py:53 the locator close_search_popup on url https://www.simplilearn.com/skillup-free-online-courses is not visible WARNING  setup:page_factory.py:53 the locator close_search_popup on url https://www.simplilearn.com/skillup-free-online-courses is not visible WARNING  setup:page_factory.py:53 the locator close_search_popup on url https://www.simplilearn.com/skillup-free-online-courses is not visible
Failed test_home_and_skillup_page_check.py::TestSkillupVerification::test_skillUp_certificate_unlock 42.51
self = <test_home_and_skillup_page_check.TestSkillupVerification object at 0x0000019D83344B50>
testdata = {'chat_gtp_elearning_id': '6000', 'dashboard_url': '/dashboard', 'email': 'simplilearnautomation+script1682680655@gmail.com', 'password': 'Simpli@123'}

@pytest.mark.test_details("SLUB-T", "high", "SkillUp", "Pradeep")
def test_skillUp_certificate_unlock(self, testdata):
self._close_all_window()
message = ''

login_helper.lms_prod_login(testdata['email'], testdata['password'])
selenium_helper.wait_for_page_to_load(30, testdata['dashboard_url'])
time.sleep(10)
> lms_page.go_to_skillup_course(testdata['chat_gtp_elearning_id'])

test_prod\test_home_and_skillup_page_check.py:640:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages_prod\lms_page.py:22: in go_to_skillup_course
pytest.driver.find_element(By.XPATH,course_dynamic_locator).scroll_to_element()
c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py:976: in find_element
return self.execute(Command.FIND_ELEMENT, {
c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\webdriver.py:321: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x0000019D83344670>
response = {'status': 404, 'value': '{"value":{"error":"no such element","message":"Unable to locate element: (//div[@elearningid...red/webdriver/Errors.sys.mjs:394:5\\nelement.find/</<@chrome://remote/content/marionette/element.sys.mjs:275:16\\n"}}'}

def check_response(self, response):
"""
Checks that a JSON response from the WebDriver does not have an error.

:Args:
- response - The JSON response from the WebDriver server as a dictionary
object.

:Raises: If the response contains an error message.
"""
status = response.get('status', None)
if status is None or status == ErrorCode.SUCCESS:
return
value = None
message = response.get("message", "")
screen = response.get("screen", "")
stacktrace = None
if isinstance(status, int):
value_json = response.get('value', None)
if value_json and isinstance(value_json, basestring):
import json
try:
value = json.loads(value_json)
if len(value.keys()) == 1:
value = value['value']
status = value.get('error', None)
if status is None:
status = value["status"]
message = value["value"]
if not isinstance(message, basestring):
value = message
message = message.get('message')
else:
message = value.get('message', None)
except ValueError:
pass

exception_class = ErrorInResponseException
if status in ErrorCode.NO_SUCH_ELEMENT:
exception_class = NoSuchElementException
elif status in ErrorCode.NO_SUCH_FRAME:
exception_class = NoSuchFrameException
elif status in ErrorCode.NO_SUCH_WINDOW:
exception_class = NoSuchWindowException
elif status in ErrorCode.STALE_ELEMENT_REFERENCE:
exception_class = StaleElementReferenceException
elif status in ErrorCode.ELEMENT_NOT_VISIBLE:
exception_class = ElementNotVisibleException
elif status in ErrorCode.INVALID_ELEMENT_STATE:
exception_class = InvalidElementStateException
elif status in ErrorCode.INVALID_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER:
exception_class = InvalidSelectorException
elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE:
exception_class = ElementNotSelectableException
elif status in ErrorCode.ELEMENT_NOT_INTERACTABLE:
exception_class = ElementNotInteractableException
elif status in ErrorCode.INVALID_COOKIE_DOMAIN:
exception_class = InvalidCookieDomainException
elif status in ErrorCode.UNABLE_TO_SET_COOKIE:
exception_class = UnableToSetCookieException
elif status in ErrorCode.TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.SCRIPT_TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.UNKNOWN_ERROR:
exception_class = WebDriverException
elif status in ErrorCode.UNEXPECTED_ALERT_OPEN:
exception_class = UnexpectedAlertPresentException
elif status in ErrorCode.NO_ALERT_OPEN:
exception_class = NoAlertPresentException
elif status in ErrorCode.IME_NOT_AVAILABLE:
exception_class = ImeNotAvailableException
elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED:
exception_class = ImeActivationFailedException
elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS:
exception_class = MoveTargetOutOfBoundsException
elif status in ErrorCode.JAVASCRIPT_ERROR:
exception_class = JavascriptException
elif status in ErrorCode.SESSION_NOT_CREATED:
exception_class = SessionNotCreatedException
elif status in ErrorCode.INVALID_ARGUMENT:
exception_class = InvalidArgumentException
elif status in ErrorCode.NO_SUCH_COOKIE:
exception_class = NoSuchCookieException
elif status in ErrorCode.UNABLE_TO_CAPTURE_SCREEN:
exception_class = ScreenshotException
elif status in ErrorCode.ELEMENT_CLICK_INTERCEPTED:
exception_class = ElementClickInterceptedException
elif status in ErrorCode.INSECURE_CERTIFICATE:
exception_class = InsecureCertificateException
elif status in ErrorCode.INVALID_COORDINATES:
exception_class = InvalidCoordinatesException
elif status in ErrorCode.INVALID_SESSION_ID:
exception_class = InvalidSessionIdException
elif status in ErrorCode.UNKNOWN_METHOD:
exception_class = UnknownMethodException
else:
exception_class = WebDriverException
if value == '' or value is None:
value = response['value']
if isinstance(value, basestring):
if exception_class == ErrorInResponseException:
raise exception_class(response, value)
raise exception_class(value)
if message == "" and 'message' in value:
message = value['message']

screen = None
if 'screen' in value:
screen = value['screen']

stacktrace = None
if 'stackTrace' in value and value['stackTrace']:
stacktrace = []
try:
for frame in value['stackTrace']:
line = self._value_or_default(frame, 'lineNumber', '')
file = self._value_or_default(frame, 'fileName', '<anonymous>')
if line:
file = "%s:%s" % (file, line)
meth = self._value_or_default(frame, 'methodName', '<anonymous>')
if 'className' in frame:
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
except TypeError:
pass
if exception_class == ErrorInResponseException:
raise exception_class(response, message)
elif exception_class == UnexpectedAlertPresentException:
alert_text = None
if 'data' in value:
alert_text = value['data'].get('text')
elif 'alert' in value:
alert_text = value['alert'].get('text')
raise exception_class(message, screen, stacktrace, alert_text)
> raise exception_class(message, screen, stacktrace)
E selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: (//div[@elearningid='6000']//p)[1]

c:\users\qateam\appdata\local\programs\python\python38\lib\site-packages\selenium\webdriver\remote\errorhandler.py:242: NoSuchElementException
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_explore_program_CTA 34.25
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_explore_category_CTA 25.26
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:80 Menu item : Data Science & Business Analytics INFO  setup:home_page.py:87 url loading is:https://www.simplilearn.com/data-science-and-business-analytics INFO  setup:home_page.py:91 Data Science & Business Analytics
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_requestdemo_CTA 23.23
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:114 request_demo_url is :https://www.simplilearn.com/corporate-training
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_all_course_mega_menu 85.04
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:133 Data Science & Business Analytics INFO  setup:home_page.py:133 AI & Machine Learning INFO  setup:home_page.py:133 Project Management INFO  setup:home_page.py:133 Cyber Security INFO  setup:home_page.py:133 Cloud Computing INFO  setup:home_page.py:133 DevOps INFO  setup:home_page.py:133 Business and Leadership INFO  setup:home_page.py:133 Quality Management INFO  setup:home_page.py:133 Software Development INFO  setup:home_page.py:133 Agile and Scrum INFO  setup:home_page.py:133 IT Service and Architecture INFO  setup:home_page.py:133 Digital Marketing INFO  setup:home_page.py:133 Big Data INFO  setup:home_page.py:140 course :Data Science & Business Analytics INFO  setup:home_page.py:145 url loaded: https://www.simplilearn.com/data-science-and-business-analytics INFO  setup:home_page.py:147 Status is : 200 INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:140 course :AI & Machine Learning INFO  setup:home_page.py:145 url loaded: https://www.simplilearn.com/data-science-and-business-analytics INFO  setup:home_page.py:147 Status is : 200 INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:140 course :Project Management INFO  setup:home_page.py:145 url loaded: https://www.simplilearn.com/data-science-and-business-analytics INFO  setup:home_page.py:147 Status is : 200 INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:140 course :Cyber Security INFO  setup:home_page.py:145 url loaded: https://www.simplilearn.com/data-science-and-business-analytics INFO  setup:home_page.py:147 Status is : 200 INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_search_functionality 58.78
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_rediirection_Resources_url 48.75
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_redirection_slimplilearn_for_business_url 52.33
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_rediirection_become_an_instructor_url 48.93
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_rediirection_hire_from_us_url 48.15
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:455 Hire from us url Opened is: https://www.simplilearn.com/simplirecruit
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_home_request_callback_urls 37.87
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_check_login_button 56.21
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded INFO  setup:home_page.py:477 https://accounts.simplilearn.com/user/login?redirect_url=https%3A%2F%2Flms.simplilearn.com%2F
Passed test_home_and_skillup_page_check.py::TestHomeVerification::test_home_live_chat 28.24
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:37 url loaded
Passed test_home_and_skillup_page_check.py::TestSkillupVerification::test_explore_program_CTA_skillup 35.14
-------------------------------Captured log call--------------------------------
INFO  setup:home_page.py:491 Search Button Popup Appeared and clicked INFO  setup:home_page.py:496 Popup Iframe present INFO  setup:home_page.py:498 Inside Iframe INFO  setup:home_page.py:66 Data Science & Business Analytics
Passed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_take_quiz_from_lms_dashboard_button 85.90
-------------------------------Captured log call--------------------------------
INFO  setup:lms_page.py:160 New window Opend INFO  setup:lms_page.py:162 WebDriver Switched to new Window INFO  setup:lms_page.py:164 url_opened is : https://www.simplilearn.com/free-quiz-skillup INFO  setup:lms_page.py:175 success
Passed test_home_and_skillup_page_check.py::TestSkillupVerification::test_check_invite_now_from_lms_dashboard_button 82.60
-------------------------------Captured log call--------------------------------
INFO  setup:lms_page.py:186 clicked on Invite Now INFO  setup:lms_page.py:191 New window Opend INFO  setup:lms_page.py:193 WebDriver Switched to new Window INFO  setup:lms_page.py:195 url_opened is : https://www.simplilearn.com/skillup-referral?refcode=test3515 INFO  setup:lms_page.py:202 clicked on share on Social Media INFO  setup:lms_page.py:206 New window Opend INFO  setup:lms_page.py:208 WebDriver Switched to new Window INFO  setup:lms_page.py:210 url_opened is : https://www.linkedin.com/uas/login?session_redirect=https%3A%2F%2Fwww.linkedin.com%2FshareArticle%3Fmini%3Dtrue%26url%3Dhttps%253A%252F%252Fsimpli-web.app.link%252Fe%252FQzwAScObtAb INFO  setup:lms_page.py:233 success