I want to create one project that will support multiple applications. What is the best way to separate my app related keywords and element locators?
To handle app related keyword I can create multiple classes for each application, but will have to change name in driver script every time I want to test in different application. And same thing will happen for each property file for element locator, is there a way to make this dynamic?
InstructorAshish Replied on 30/07/2020
You can use ReflectionsAPI for calling the AppKeywords. It will call the methods dynamically.