GetTestcaseName () can be use many time in a scrpt
I use GetTestcaseName () many times in script (testcase .t)
And I run the test (same projet as share) on 2 different pc. Is it correct or it can return error as "Testcase can't be in a testcase" ?!?
Re: GetTestcaseName () can be use many time in a scrpt
Gettestcase name will return the current name of the testcase which is been executed and will not give the above error.
You can use testcaseenter() and testcaseexit()
inside testcaseenter() use gettestcasename().
This helps a lot.