Micro Focus QTP (UFT) Forums

Full Version: change Interger to Character
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all,

I am using the QTP to get the month of the calendar.
However, when I am doing subtraction from the month, say from 11 to 10.
The variable storing the value "10" would become a integer type.
However, as u know that all Siebel text fields required the values entered with type equal to string.

How can I solve it?
Use 'Cstr' - which will return a String containing the number.