I would like to get at the test plan detail from within a script for logging purposes. I know I can use GetTestCaseName() to get the test case name. This is close, but not really what I want. A single testcase in my architecture may be called dozens of times with unique data. What I really want is the lowest level test plan detail from my .pln file because those are unique and meaningful.
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">tetscase: generictestcase($arg1,$arg2,$arg3)
descriptive test case name
$arg1 = foo
$arg2 = 1
$arg3 = abc
another descriptive test name
$arg1 = blah
$arg2 = 3</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">In this kind of setup I cannot get at the text "descriptive test case name". I can only get "generictestcase" via GetTestCaseName(). I want to get at the former so that I can create my own results report.
As is, the audience for my results report will see the same testcase over and over again and they will need to gleen the tets purpose from the args it is passed. There are other ways to skin this cat, but for the moment I would like to find out if I can get at the plan file detail programatically.