Hi Ashish,
I found cucumber diff datatable method to comapre, since its new to me i could start my test. I request you to help me to move further.
1.scenarios are written in feature file
2.scenarios steps are implemented in step definition file
3.sql quires are implemented in DataUtils file.
Instructor
Ashish Thakur Replied on 07/03/2019
Can you elaborate on this?
sure Its,
Under same database schema, i have table1 (source table) and table 2, to make sure the data in table 2 contains same data as present in the table 1 which is source table.
In both tables we have same fields and same data.
how can i test this story. please provide me some examples or suggestions.
Instructor
Ashish Thakur Replied on 25/04/2019
This is a simple utility which you need to create
BDD is just an approach
You will have to write a funciton to do this
Pull out values from each table, row and row and compare them
@Divya have you created utility for this, can you post it if possible le