Selenium WebDriver Data Driven Framework
Meaning Of information driven keyword In whatsoever automation framework Is your show cases together with suite volition hold upwardly driven past times external information laid upwardly feed. Data feed tin give notice hold upwardly whatsoever type of information sheets similar xls file, xlsx file, csv file etc. Main concept of information driven framework Is your show instance volition stay unchanged fifty-fifty If y'all alter number of
data laid upwardly combinations In information sheet. Means your show instance should run If y'all feed alone 1 information laid upwardly combination together with every bit good It should run for 100 or to a greater extent than information laid upwardly combinations. You tin give notice purpose information driven framework when y'all wants to perform same activity amongst multiple laid upwardly of data. I am suggesting y'all to read coffee together with WebDriver Tutorials PART 1 together with PART 2 earlier learning webdriver information driven framework amend to sympathise It better.
Simple illustration of where nosotros tin give notice purpose information driven framework Is supposing y'all are testing G-mail Log In business office amongst 100 dissimilar usernames together with passwords to cheque which username together with password Is valid together with which Is Invalid or wrong. This Is only example. Another elementary illustration Is testing of reckoner application's dissimilar button's business office to verify that each together with every clit Is working fine together with getting right number when doing Summation, Subtraction, Multiplication or Division of 2 or to a greater extent than numbers.
Selenium WebDriver information driven Framework should hold upwardly designed In such a agency past times which y'all tin give notice perform bellow given tasks amongst your show cases or suite.
- You should hold upwardly able to house a status In Test Suite List Sheet to determine that Specific Test Suite should hold upwardly Executed or Not.
- You should hold upwardly able to house a condition In Test Case List Sheet to decide that Specific Test Case should hold upwardly Executed or Not.
- You should hold upwardly able to house a status In Test Data List Sheet to decide that Specific Test information work should hold upwardly Executed or Not.
- Your show instance should Execute For Multiple Lines Of Test Data.
- It should hold upwardly Able To Report Result In Test Data List Sheet that Test Case For Specific Data Set Line Is Pass or Fail or Skip.
- It should hold upwardly Able To Report Result In Test Case List Sheet that Test Case Is Pass or Fail or Skip.
Excluding inwards a higher house features of Selenium WebDriver information driven Framework, It should every bit good top or neglect Test instance In testng reports together with XSLT reports.
So directly nosotros are going to exercise this variety of Selenium WebDriver information driven Framework footstep past times step. I volition clit y'all how to setup information driven framework for selenium webdriver from scratch. My side past times side post volition clit y'all how to get-go It.