Jump to content
We've recently updated our Privacy Statement, available here ×

How to pass a JSON list to a subreport


patrice.mccarthy

Recommended Posts

I have the following JSON file:

{
    "version":"1.1",
    "testSuiteName":"Patrice Test Suite",
    "tests":
        [
            {
                "name":"JAD59 - Rename user object in IDV",
                "description":"rename test",
                "actions":
                    [
                        {
                            "section":"setup",
                            "connection":"AD - EDS",
                            "action":"Rename or Move Object",
                            "description":"Rename user object in IDV",
                            "result":"Pass",
                            "timestamp":"09.26.2012 3:33pm"
                        }
                    ],
                "startTime":"09.26.2012 3:33pm",
                "endTime":"09.26.2012 3:34pm",
                "result":"Pass",
                "notes":""
            },
            {
                "name":"JAD60 - Move user object in IDV",
                "description":"move test",
                "actions":
                    [
                        {
                            "section":"setup",
                            "connection":"AD - EDS",
                            "action":"Rename or Move Object",
                            "description":"Move user object in IDV",
                            "result":"Fail",
                            "timestamp":"09.26.2012 3:34pm"
                        }
                    ],
                "startTime":"09.26.2012 3:34pm",
                "endTime":"09.26.2012 3:35pm",
                "result":"Fail",
                "notes":"User object failed to move (or whaever error was throun by the test case)"
            },
            {
                "name":"JAD61 - Rename user object in IDV",
                "description":"rename test",
                "actions":
                    [
                        {
                            "section":"cleanup",
                            "connection":"AD - EDS","Action":
                            "rename or Move Object",
                            "description":"Rename user object in IDV",
                            "result":"Fail",
                            "timestamp":"09.26.2012 3:38pm"
                        }
                    ],
                "startTime":"09.26.2012 3:36pm",
                "endTime":"09.26.2012 3:37pm",
                "result":"Pass",
                "notes":"Manually validated the object was renamed successfully before the object was removed. (note entered mannually by tester)."
            }
        ],
    "reportDate":"2012-12-01",
    "executer":"Patrice McCarthy",
    "trackingInfo":"bugzilla #1234",
    "description":"this is a test"
}

 

I have trying to pass the tests list to a subreport without any success.  Does anybody know how to do this?

 

Patrice

Link to comment
Share on other sites

  • 3 months later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 8 months later...
  • 2 months later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...