I have been working in for several months and I made my first 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 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

Page object classes (2 from 15) https://pastebin.com/grVv6Gb8 https://pastebin.com/grVv6Gb8
and base page object class: https://pastebin.com/KtPKkFhP



Source link https://sqa.stackexchange.com/questions/34735/-framework-improvement

LEAVE A REPLY

Please enter your comment!
Please enter your name here