Pregunta de entrevista de Newpage Solutions

Explain fixtures in python? How do you work with them in the automation framework?

Respuesta de la entrevista

Anónimo

29 oct 2021

pytest fixtures are functions attached to the tests which run before the test function is executed. Fixtures are a set of resources that have to be set up before and cleaned up once the Selenium test automation execution is completed.