Hi,
Is there any video which shows how to update your TestCase result also in the excel..
I have an Excel where all TC names are mentioned and i want to update Pass or Fail based on TC execution.. How this can be handled ?
I referred framework but couldnt find any such scenario covered.. Please provide the path forward.
Instructor
Ashish Thakur Replied on 28/02/2020
You need to write your own custom code for that. It is ease, you can use setCellData() method to put data in the XLS file.
I tried and i was able to update it.. But how it will work in real time..
I mean if TC failed then it should update as fail and if passed then Pass.. Do we need to use "Listener" concept in such case ?
Instructor
Ashish Thakur Replied on 02/03/2020
you can create a reportFailure Method to mark the test case as failed.