Contributions
- 1.5KViews0likes0Comments
JScript - Addition behavior in scripted tests
Hello, I have a rookie question about behavior of addition operation. I would like to take a value A (example: 100) from a text field and then addvalue B (example: 10) to value A and write sum of these intothis text field. However, when i execute the code below i receive this (based on the values above): 10010 instead of 110. var x = obj.wText; obj.SetText(x + 10) // i used aqConvert.StrToInt(x); but this didn't work When i perform the subtraction operation it writes the correct value (90). How can i resolve this probably easy problem?Solved1.6KViews0likes3Comments