1.My executing TestCase is a part of TestSuit
2.if i use:
import com.kms.katalon.core.configuration.
TestCase_FilePath = RunConfiguration.executionSource
i get the Path of TestSuit, not path of TestCase
3.if executing only TestCase (not part of testSuit. Just single executing) i get right path
4.How get executing TestCase path (if TestCase as part of TestSuit)?
Create a Listener:
@BeforeTestCase
def beforeTestCase(TestCaseContext testCaseContext) {
println testCaseContext.testCaseId
}
how can put data from TestListener into some TestCase?
Maybe exists other way? not TestListener?
You could store the testCaseId into a GlobalVariable.
tod2020
5
maybe exists another way? not befortestcase decision?