Ask a Question

inserting by 'key press' results in mutilple inserts

mike6960
Occasional Contributor

inserting by 'key press' results in mutilple inserts

I recorded a simple test where I insert a value in a field. For example '123' , when I execute only that operation it inserts the value correctly.

But when I run the whole tests the value is inserted as '111111122222223333333' . How is this possible?

4 REPLIES 4
Marsha_R
Champion Level 3

1) What version of TestComplete are you running?

 

2) Lets see a screenshot of your code from a couple of lines above this inserted value to a couple of lines below the inserted value.

mike6960
Occasional Contributor

Hai,

 

Version 14.74.437.7 x64

 

 

Thanks for the screenshot.

 

1) Just for troubleshooting purposes, could you take out the Variables reference in the Keys statement and just put the characters that you want to enter?  

 

2) I see "vmware view" in your code.  Do you have TestComplete and your application under test both on a vm?

 

 

mike6960
Occasional Contributor

Hai,

 

1: That doesn't change the issues

2: No, I don't . Testcomplete is installed on my own laptop and the apllication I am testing is on a VM. 

What I find strange is that if I execute only the keypress it does work but not when I execute the whole test

cancel
Showing results for 
Search instead for 
Did you mean: