Micro Focus QTP (UFT) Forums
Need to put a value in editbox and the value is stored in a variable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Need to put a value in editbox and the value is stored in a variable (/Thread-Need-to-put-a-value-in-editbox-and-the-value-is-stored-in-a-variable)



Need to put a value in editbox and the value is stored in a variable - anushreebehura - 05-07-2013

Hi,

I need really quick help on the below mentioned issue.
I have captured a value and stored it in a variable in runtime.
The value changes everytime
In next step I have to use the same runtime value in a editbox.

Unable to use set and type.
Please help.

Thanks in advance


RE: Need to put a value in editbox and the value is stored in a variable - agarwl.anurag - 05-07-2013

Can you please copy your code here..and set and type are the methods of editbox..so i dont think it has to do something with your vale..


RE: Need to put a value in editbox and the value is stored in a variable - SweetyChowdhury - 05-10-2013

Try using Trim function on the variable which has the runtime value and then try setting the value in editbox.
Better post your code.