Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
1 of 3 tasks
InfogainYogita opened this issue Nov 18, 2023 · 1 comment

Comments

@InfogainYogita
Copy link

InfogainYogita commented Nov 18, 2023

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
3. Right click on testSampleDataDriven_testrun.xml and run as Testng Suite.
4. Open the dashboard.htm in firefox browser.
5. 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?

  • Maven
  • Gradle
  • [] Ant
  • Eclipse

Test case sample

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

@InfogainYogita InfogainYogita changed the title 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 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 Nov 18, 2023
@cjayswal
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants