I have been working in selenium for several months and I made my first framework for automated testing, everything works in it, but I would like to ask what people with longer experience in selenium think about it.
What could be improved or optimized here?
I am not sure if I use constructors well, should they be inherited from the base class?
Any suggesion for improvement is very important to me 🙂
I use in this project Maven and Testng, in the first approach I kept the test data in excel, now I have them in testng.xml and data are passed as parameters to the test functions
For example few classes: with Test, 2x Pageobject class, and Base Page Object Class (which contains buttons that are on every subpage)
Test class: https://pastebin.com/m2fn0z5C