How to get different reports for dropdown items?
Posted: Thu Apr 21, 2016 11:54 am
Hi,
I have a dropdown which has 2 items.
I am using TestReport.Setup(ReportLevel.Debug, "report.rxlog", true) to generate the report. Now my code selects each option of dropdown one by one using loop. Once it is done with option one, it save the report using function TestReport.Save(). Now the first report contains the information about first option of dropdown.
Next, the code will run to select the second option of dropdown. After selection of item, report is saved. When I open the report for second option, it contains report info of first option also. I don't want report info for previously selected options in the report of currently selected item. I want separate report for each item of dropdown.
Any help on this?
Thanks!
I have a dropdown which has 2 items.
I am using TestReport.Setup(ReportLevel.Debug, "report.rxlog", true) to generate the report. Now my code selects each option of dropdown one by one using loop. Once it is done with option one, it save the report using function TestReport.Save(). Now the first report contains the information about first option of dropdown.
Next, the code will run to select the second option of dropdown. After selection of item, report is saved. When I open the report for second option, it contains report info of first option also. I don't want report info for previously selected options in the report of currently selected item. I want separate report for each item of dropdown.
Any help on this?
Thanks!