qmetry / qaf

Quality Automation Framework for web, mobileweb, mobile native and rest web-service using Selenium, webdrier, TestNG and Java Jersey
https://qmetry.github.io/qaf
MIT License
253 stars 137 forks source link

Test Data for the data driven test not displayed and only one test log details displayed when collapsed the test in the dashboard.htm in QAF version 3.2.0 #451

Open InfogainYogita opened 11 months ago

InfogainYogita commented 11 months ago

QAF Version

3.2.0

TestNG Version

7.1.0

Steps To Reproduce

1.Create a data driven test as follow:
   @Test(dataProvider = "createAndApplyProfilesDataProvider", dataProviderClass = DeviceSettingsDataproviders.class)
public void testSampleDataDriven(TestDatabean testData) {
               System.out.println("Inside Test");
    }    
  1. Create the testng configuration file such as testSampleDataDriven_testrun.xml

    1. Right click on testSampleDataDriven_testrun.xml and run as Testng Suite.
    2. Open the dashboard.htm in firefox browser.
    3. Click on the Overview. I had two data driven tests executed.

    Check the screenshot below: QAFReport

Expected behavior

dashboard.htm should display the passed Test Data from the data provider also and display log details for all the data driven tests.

Actual behavior

Testdata for the data driven test not displayed and only one test log details displayed when collapsed the test in the dashboard.htm in QAF version 3.2.0

Is the issue reproducible on runner?

Test case sample

Please, share the test case (as small as possible) which shows the issue

cjayswal commented 11 months ago

will you be able to share code of DeviceSettingsDataproviders and TestDatabean classes?