Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
3 years ago

Test Log details into HTML page

Hi,   I found this link very useful to create html report. But, what if I have BDD scripts and linked functions and I want to add test log details into html report instead? Is there any sample code...
  • rraghvani's avatar
    3 years ago

    The status of the test cases i.e. Pass/Fail/Warning is done by function ReportingFunctions.fn_createteststep(1,"Expe Result","Actual Result","Test Data",false).

     

    In order to fully understand what the code is doing, I suggest you debug it, and step through each line of code to see what is actually happening.