Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

3 Answers

0 votes
Yes of course,we can use base class properties in framework.Suppose we have some common method which is required in every testcases execution so we can put those method and properties in base class and then we can use those things in our child classes using inheritance.
0 votes
Base class mainly contains browser intialization,variable declaration.
ago by
0 votes
  • Base class in the main class which will take care of Browser setup, loading configuration file and other reusable methods like screenshot, handling sync issues and many more.
  • Using Base class we can avoid code duplication.
  • We can Reuse code as much we want.