I am currently facing an issue with LISA property value, which is empty in ITR. But when writing a Java code for the same property (if condition set as "is empty") not working, but on the other hand when changing it to (if condition set as "is not empty"), which explains that property is not empty. Also couldn't able to get the length of the property value using object.length() / object.length.
Below is the code used to get the length of the property value, though it is working for hard-coded values but not for testExec class.
Approach 1: Hard coded value - working fine
Test = "asdasfs";
Approach 2: Using testExec.getStateObject("Property") - Not working
str_Count = (String)testExec.getStateValue("flNote");
testExec.setStateValue("flNote28", str_Count .length());
Please let me know if there is any other way to get the length of the LISA property.