*Summary
TestCaseContext.getTestCaseId() not working for Tests of Desktop Apps
*Steps to reproduce
Try to get TestCase name or ID
by e.g. TestCaseContext.getTestCaseId()
TestCaseContext.getProperties().getAt(‘Name’)
TestCaseContext.getProperties()
…
*Expected Results
Name or ID as seen in the TestCase Properties
*Actual Results
TestCaseContext.getTestCaseId() not known
TestCaseContext.getProperties().getAt(‘Name’) is null
TestCaseContext.getProperties() itself shows, that no information is given (see below)
*Operating System
Windows 10
*Katalon Studio version
e.g. version 9.5.0 since 10 is not able to automate desktop projects…
*Katalon Studio logs
annotation:false, hidden:false, interfaces:[], anonymousClass:false, name:com.kms.katalon.core.context.TestCaseContext, simpleName:TestCaseContext, enclosingMethod:null, genericInterfaces:[], genericSuperclass:null, nestMembers:[interface com.kms.katalon.core.context.TestCaseContext], enclosingClass:null, canonicalName:com.kms.katalon.core.context.TestCaseContext, componentType:null, typeParameters:[], typeName:com.kms.katalon.core.context.TestCaseContext, enumConstants:null, packageName:com.kms.katalon.core.context, annotatedSuperclass:null, permittedSubclasses:null, signers:null, declaringClass:null, declaredClasses:[], package:package com.kms.katalon.core.context, synthetic:false]