What is data - driven automation?

Answer Posted / mahesh sv

Testing the same set of functionality using winrunner with
different inputs is Data Driven test. This can be done by
Data Table & Parameterization. Data driven automation means
driven by different set of data using the data by given in
excel or notepad is called the DDA. Testing the
functionality with more test cases becomes laborious as the
functionality grows. For multiple sets of data (test cases),
you can execute the test once in which you can figure out
for which data it has failed and for which data, the test
has passed. This feature is available in the WinRunner with
the data driven test where the data can be taken from an
excel sheet or notepad. if u want 2 check your application,
when same operations with Multiple Sets of data use data
driven table

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab

2144


if we are using an Engine (tool)..with that how to capture data from excel sheets and how to do automation with this plz answer any body for this question.?

1555


Explain me what is the difference between setspeed() and sleep() methods?

582


What are the advantages of manual testing and automated testing?

503


Name the frameworks that are used in software automation testing?

525






How does load testing work for websites?

614


What is test automation or automation testing?

524


Does every software project need testers?

545


If I have given names to different DataTable columns and those column names are stored in a variable, then passing that variable to the datatable how can i Enter different values in those columns listed in that variable?? Please explain me with an example.I am not getting it.

1465


How to select an automation tool best matched for your project?

502


Differentiate between hdam and hidam database?

550


What are the main attributes of test automation?

1530


What is tree view in automation testing?

557


22. Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.

1440


What are the types of framework used in software automation testing ?

493