| || |
I am new to testComplete. I want to know how can I store property checkpoint values or object checkpoint values (eg:wText) into variable.
Any body know about this? Pls reply
Visit the following links to learn about TestComplete checkpoints and to answer your question.
Inder P Singh
Thank you. But it's not clear there. I already have a object check point. just say Window_Edit, it has wText = 321. This value is stores in that object when I made a check point. I want to take that value (321) and put into variable (var a) in my script. Eg. var a,
What step is here? a =Window_Edit.wText // is not work.
a = 321.
how can I solve this problem. anybody know?
Here's how you can do this:
<font class="small">Code:</font><hr /><pre>//JScript
var a = Objects.StoredObject("Window_Edit").PropertyByName ("wText").Value;