| || |
i just want to insert the values from 10 to 20 in a textbox.this should be done by incrementing by 1.
i have written the code for that as
for x= 10 to 20
EditBox Click, "ID=1011", "Coords=26,12"
PushButton Click, "Text=Add Line"
it takes the values as x but not as 10.can anyone help me.
I think it should just be
because having "x" your inputing a string/char
i tried it ,but it is showing a error when i compile it.
What kind of Error, It should not.
Below is the Sample code performed in the Rational Test Samples VB - Try it out application.
<font class="small">Code:</font><hr /><pre>
Window SetContext, "Name=frmSamples", ""
For X = 10 To 20
EditBox Click, "Name=txtOrderQuantity", ""
X = X + 1
i did the same example and i get the following error
Type mismatch, parameter 1 in subprogram 'InputKeys'