Forum Discussion

seanMRoss's avatar
seanMRoss
Contributor
12 years ago

Incomplete keyboard input even though the script works

Hi Folks



I have the following code:



  var Number=  "0001157"

  TextboxSearch.Click(76,9);

  TextboxSearch.Keys("0001157[ENTER]");




When I run this code it work but testcomplete reports a warning:



Incomplete keyboard input.



Does anyone know why it throws the warning even though the script works?



Thanks

Sean

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Sean,


     


    Sorry for the late reply. All constants you use in the Keys methods are case-sensitive. So, the correct constant for the Enter key will be Enter.


    Otherwise, TestComplete doesn't recognize it.