Hi Shankar, we use different scopes in pytest fixture to perform an action in a specific scope like function or session. Fixture's scope is set to Function by default. Though you can create a fixture with Class scope If you need to perform an action before and after a class of a module. While, If you need to perform an action before and after for a set of methods in a project we use Session scope (scope=“session”). It creates single fixture for set of methods in a project or modules in some path.