Why can't we extend the base class and use the driver from base class in action driver class? Could you please explain.
@AutomationTestingInsider3 күн бұрын
If ActionDriver extends BaseClass, it mixes responsibilities, creates thread-safety issues in parallel tests, and makes the framework less reusable. Instead, use BaseClass for WebDriver setup and pass the driver to ActionDriver for actions, ensuring clean design and thread safety.
@RekhaMunagala3 күн бұрын
@@AutomationTestingInsider \ Thanks for the response. got it.
@sekharreddy323613 күн бұрын
The methods in base class and action class where exactly we use. Can you pls share the frame work and files, I want to try exactly same on my system. Thanks
@AutomationTestingInsider13 күн бұрын
Please follow the videos from part 1 so that you can understand the concept step by step.
@eyeopener885813 күн бұрын
Sir: Can you explain "By by" -> public void enterText(By by, String value) { : where is "BY by" defined or coming from? This part is confusing,
@AutomationTestingInsider13 күн бұрын
By is a class ..and by is a variable.. we use it for locating the element. We can write like by.id or by.xpath or by.name to locate elements. You will understand better when you watch the page object model video which is the next video. From page classes we call all these action methods.