This will usually occur when using GetText() or a related method against a textfield which has the "enabled" property set to False.
By default, SilkTest will check this property before proceeding.
To change this:
1. You need to go to "Options/Agent/Verification/Verify That Windows Are Enabled" and uncheck this.
OR
2. Agent.SetOption (OPT_VERIFY_ENABLED, FALSE)
above statement should be written before doing any action on disabled text box
Note: Remember to set it true later like Agent.SetOption (OPT_VERIFY_ACTIVE, TRUE)
By default, SilkTest will check this property before proceeding.
To change this:
1. You need to go to "Options/Agent/Verification/Verify That Windows Are Enabled" and uncheck this.
OR
2. Agent.SetOption (OPT_VERIFY_ENABLED, FALSE)
above statement should be written before doing any action on disabled text box
Note: Remember to set it true later like Agent.SetOption (OPT_VERIFY_ACTIVE, TRUE)