Forum Discussion

sujathab's avatar
sujathab
Occasional Contributor
14 years ago

Virtual Code is getting generated

Hi,

I am using Test Complete 8.70.

When
I record the script using Record Low Level Procedure (Windows co ordinates), it
generates a virtual code: 162 because of this I am not able to playback my
script even if I try to play back there will not be any mouse movement. I am
able to recover from this only if I restart my test complete application. I am
facing this issue for each and every record.






Thanks and Regards

Sujatha B

3 Replies

  • Hi Sujatha,



    162 is the key code for Left Control. It seems the problem is that your recorded low-level procedure includes a Key Down event for Left Control, but doesn't include the corresponding Key Up event to "release" this key. As a result, the Left Control key gets "stuck".



    To resolve the problem, examine your low-level procedure and make sure that all Key Down events for Left Control have subsequent Key Up events. You can add the missing Key Up events manually using the Insert Event command of the context menu.



    Please let me know if this helps.
  • sujathab's avatar
    sujathab
    Occasional Contributor
    Hi,

    After adding the Event for the Key Down also, the Virtual code generated LLP 's are not working fine.

    There is no mouse movement when such LLP is played back

    Can you please help me on this.



    Thanks and Regards,

    Sujatha B
  • Hi Sujatha,



    Could you please attach here your test project, so that we could look into it and figure out what can be wrong?

    If you don't want to post your project on a public forum, you can send it privately to our Support Team using this form.