Skip to main content

Posts

Showing posts from January, 2019
What’s 'DataProvider' in TestNG? Any examples… What does the name ‘DataProvider’ suggest? Yeah! Something that provides data. Test Data is important in Software Testing, say you want to login to an application – it needs a username and password values – it’s nothing but the Test data. Method1  – Data Provider method – annotated with @DataProvider - Name ‘LoginData’ – returns an array of objects. public class DataProviderClass {     @DataProvider(name = "LoginData")     public static Object[][] dataProviderMethod() {         return new Object[][] { {"Username1", "Password@1" }, {"Username2", "Password@2"} };     } } Rows:  Times test needs to be repeated. Columns:  Parameters in Test method. Method2 – Test method ‘Login’ – Executed using data provided by Method1-LoginData. public class TestClass {     @Test(dataProvider = "LoginData", dataProviderClass = DataProviderClass.class)   ...

HPEALM | Application Life-cycle Management

HPEALM | Application Life-cycle Management HP Application Life-cycle Management ( HP ALM ) is a set of software tools developed and marketed by Micro Focus for application development and testing. It includes tools for requirements management, test planning and functional testing, performance testing (when used with HP Performance Center), developer management and defect management. HPE ALM include interactions with other development tool sets such as Jenkins , GIT , and Gherkin . HP Quality Center is a quality management platform that can be used for a single project or across multiple IT projects to manage application quality across the entire application life-cycle. The solution provides requirements management, release and cycle management, test management, defect management and reporting capabilities that support visibility across the product development life-cycle.