I am trying to create a simple java script which will read the value and will change it. For some reason when I am reading the filtered property "select_device_type" its coming as blank or null. Due to this the script always returns android (from else condition) This property (filter) is captured in the previous Jason to XML step and I am able to log and validate it via ITR or manually running it.
if (testExec.getStateValue("select_device_type") == "android")
value = "ios";
value = "android";
Any suggestions will be greatly prevaricated. LISA workstation 7.0.3