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
Community Hero

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.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
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?

 

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
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: