test data code example

Example 1: where do you get your test data

When=> sprint planning meeting
	Who=> Mostly I get test data from PO
    However in some instances, especially in 
    negative test scenario I may need to 
    generate test data.
    I use java faker to generate data
	How => Faker faker=new Faker();
    or String manupilation(substring concatination etc.)
	I store it  at SharePoint. Saved in my project
    in xls type under data package 

    For API Part: I use "https://www.mockaroo.com/" ==>
    generates multiple format (CSV, JSON, XML, etc)

Example 2: what is test data

Test data is the data that is used by 
the testers to run the test cases. 
Whilst running the test cases, 
testers need to enter some input data. 
To do so, testers prepare test data. 
It can be prepared manually and also by using tools.

For example, To test a basic login 
functionality having a user id, password
fields. We need to enter some data
in the user id and password fields.
So we need to collect some test data.

Example 3: test data

Test data is the data that is used by 
the testers to run the test cases. 
Whilst running the test cases, 
testers need to enter some input data. 
To do so, testers prepare test data. 
It can be prepared manually and also by using tools.

For example, To test a basic login 
functionality having a user id, password
fields. We need to enter some data
in the user id and password fields.
So we need to collect some test data.