15
Views
4
Comments
TDD, how to use Data driven testing framwork

Hello Everyone,


i want to know how i can create data driven test case where i  have the excel file with test case and those input i can use to execute the test case in TDD.

can some one please share the OML with sample please , i don't want to use static table only with the excel file i want to use. can someone please help me with OML?

2023-05-02 10-33-02
Madhuri Patil

Hi @TRish sharma,

can you please elaborate what exactly you want to developed?

UserImage.jpg
TRish sharma

Thanks @Madhuri Patil  for response, i want to execute the test case from the excel which has predefined input and output instead of  sending one parameter to run the test,  i want to run the test for multiple input which will get from the excel file

how i can achieve this in TDD? 

example A +B = 5  (2+3)=5 that assert i am setting it for one input but for data driven i want this values from excel for data driven test 

UserImage.jpg
TRish sharma

This is already check , thanks for sharing but it doesn't have the  data driven approch.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.