sudhakar2006

Results 1 issues of sudhakar2006

I am getting the error "AttributeError: module 'pytest' has no attribute 'allure' in below place @staticmethod def take_screenshots(txt): file_name = "{}.png".format(Communication.get_random_characters()) Settings.get_driver().get_screenshot_as_file(file_name) > pytest.allure.attach.file( file_name, name=txt, attachment_type=pytest.allure.attachment_type.PNG ) E AttributeError:...