Report generated on 09-Dec-2022 at 16:34:43 by pytest-html v2.1.1
Packages | {"pluggy": "0.13.1", "py": "1.9.0", "pytest": "6.1.0"} |
Platform | Windows-10-10.0.19041-SP0 |
Plugins | {"allure-pytest": "2.8.18", "datadir": "1.3.1", "html": "2.1.1", "metadata": "1.10.0"} |
Python | 3.8.5 |
2 tests ran in 2075.70 seconds.
(Un)check the boxes to filter the results.
1 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Failed | test_frs_lead_prod.py::TestFrsLeadSubmission::test_on_demand_webinar_lead_submission | 1175.74 | |
self = <test_frs_lead_prod.TestFrsLeadSubmission object at 0x000002EAACDF72B0>, initialize_pages = None testdata = {'collection_name': 'contents', 'database_name': 'caldon_automation', 'db_type': 'mysql', 'query_type': 'find_with_limit'} @pytest.mark.test_details("0000","high","ebook lead","pallavi") def test_on_demand_webinar_lead_submission(self,initialize_pages,testdata): countervalue=0 #STEP 2: set the mongo query query = {} query['database_name'] = testdata['database_name'] query['collection_name'] = testdata['collection_name'] query['query_type'] = testdata['query_type'] query['query'] ={'is_webcast':True, 'status':4} query['limit']=30 query['project'] ={'seo_url':1} response_data = db.get_test_data(query, 'mongo') for url in response_data: seo_url=url['seo_url'] course =seo_url.split('/')[-1] on_demand_webinar=(pytest.config['prod_url']+seo_url) pytest.driver.get(on_demand_webinar) selenium_helper.scroll_page("200") time.sleep(2) counter,status=self.on_demand_webinar.on_demand_leads(url) if counter >=1: countervalue= countervalue+1 lead_type='FrsOndemandWebinar' filename = "Report.csv" rows = [[lead_type,course,on_demand_webinar,status]] with open(filename, 'a', newline='\n') as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerows(rows) if countervalue >=1: > pytest.fail('lead submission failed') E Failed: lead submission failed test_prod\test_frs_lead_prod.py:85: Failed -------------------------------Captured log call-------------------------------- [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/aws-security-identity-and-access-management-iam-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/aws-security-identity-and-access-management-iam-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-to-mint-money-with-adsense-and-blogging-skills-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/how-to-mint-money-with-adsense-and-blogging-skills-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/why-you-should-consider-career-in-salesforce-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/why-you-should-consider-career-in-salesforce-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-i-failed-my-pmp-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/how-i-failed-my-pmp-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/need-for-cloud-skilled-technical-professionals-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/need-for-cloud-skilled-technical-professionals-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/designing-spam-classifier-using-machine-learning-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/designing-spam-classifier-using-machine-learning-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-it-service-continuity-model-help-defeat-ransomware-attack-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/how-it-service-continuity-model-help-defeat-ransomware-attack-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/need-of-cyber-security-in-the-present-era-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/need-of-cyber-security-in-the-present-era-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/big-data-analysis-using-apache-hive-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/big-data-analysis-using-apache-hive-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/basics-of-online-reputation-management-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/basics-of-online-reputation-management-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/10-ways-to-market-your-project-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/10-ways-to-market-your-project-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/skill-vs-talent-acquisition-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/creating-killer-marketing-plan-for-your-app-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/creating-killer-marketing-plan-for-your-app-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/why-cloud-computing-certification-makes-sense-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/why-cloud-computing-certification-makes-sense-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/lean-six-sigma-application-in-manufacturing-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/lean-six-sigma-application-in-manufacturing-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-to-build-social-media-driven-omni-channel-strategy-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/change-management-fundamentals-pmp-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/change-management-fundamentals-pmp-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/holiday-digital-marketing-review-and-wrap-up-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/realizing-and-measuring-value-of-itil-initiatives-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-to-prepare-analytics-team-for-digital-transformation-2017-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-to-measure-social-media-success-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/how-to-measure-social-media-success-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/visualizing-it-roadmap-for-leading-digital-transformation-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-radical-analytics-uncover-blind-spots-in-your-data-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/digitization-and-what-it-means-it-professionals-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/digitization-and-what-it-means-it-professionals-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/unlocking-data-science-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/unlocking-data-science-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/innovation-digital-era-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/innovation-digital-era-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-enterprises-identify-potential-employees-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/how-enterprises-identify-potential-employees-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/pros-and-cons-of-paying-for-social-placement-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/pros-and-cons-of-paying-for-social-placement-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/when-ppc-best-practices-fail-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//input[@name='firstname']") on url https://www.simplilearn.com/when-ppc-best-practices-fail-webinar is not visible [33mWARNING [0m setup:page_factory.py:53 the locator success_msg_webinar on url https://www.simplilearn.com/when-ppc-best-practices-fail-webinar is not visible [1m[31mERROR [0m setup:selenium_helper.py:113 Message: [33mWARNING [0m setup:selenium_helper.py:114 the locator ('xpath', "//a[contains(text(),'Register for webinar')]") on url https://www.simplilearn.com/how-to-improve-your-employee-training-completion-rates-webinar is not visible | |||
Passed | test_frs_lead_prod.py::TestFrsLeadSubmission::test_ebook_lead_submission | 896.23 | |
------------------------------Captured stdout call------------------------------ SimpliAutoTesting4480@simplilearn.com SimpliAutoTesting1529@simplilearn.com SimpliAutoTesting8503@simplilearn.com SimpliAutoTesting8534@simplilearn.com SimpliAutoTesting8079@simplilearn.com SimpliAutoTesting1876@simplilearn.com SimpliAutoTesting7121@simplilearn.com SimpliAutoTesting4621@simplilearn.com SimpliAutoTesting2808@simplilearn.com SimpliAutoTesting2247@simplilearn.com SimpliAutoTesting4965@simplilearn.com SimpliAutoTesting3567@simplilearn.com SimpliAutoTesting8160@simplilearn.com SimpliAutoTesting7948@simplilearn.com SimpliAutoTesting4003@simplilearn.com SimpliAutoTesting6127@simplilearn.com SimpliAutoTesting8337@simplilearn.com SimpliAutoTesting276@simplilearn.com SimpliAutoTesting9238@simplilearn.com SimpliAutoTesting9688@simplilearn.com SimpliAutoTesting2480@simplilearn.com SimpliAutoTesting6616@simplilearn.com SimpliAutoTesting3547@simplilearn.com SimpliAutoTesting51@simplilearn.com SimpliAutoTesting2205@simplilearn.com SimpliAutoTesting8188@simplilearn.com SimpliAutoTesting4843@simplilearn.com SimpliAutoTesting5009@simplilearn.com SimpliAutoTesting3611@simplilearn.com SimpliAutoTesting9194@simplilearn.com |