//
archives

Archive for

PageFactory, Page Objects and locators from an external file

The reason for this post is basically aimed at answering a forum question that came up. The question read : Can we pass the value for @FindBy from a xml file…? Means for our project we maintain a xml file which contain ¬†all parameter( config, test data, object identification value , etc…) So, what i … Continue reading

Working with @TestInstance annotation

Sometimes one would need to gain access to the test class instance to which an @Test annotated test method belongs to, from within a data provider. This could be particularly useful in cases, wherein the data provider may need to behave differently based on the type of the class to which the @Test method belongs … Continue reading