Forum Discussion

VENKAT1712's avatar
VENKAT1712
Occasional Contributor
10 years ago

Improper input is getting inserted to console application

Hi ,   I am using a console application where i am trying to send an input to the console window:   Aliases.browser.pageIrcNsm4300g291HpIlo2Integrat.objectRemcons.Keys("start");   The out put t...
  • joseph_michaud's avatar
    joseph_michaud
    10 years ago

    You could try using the SetText() method.  Or perhaps there is an object-specific method that may apply.  Inspect the object to determine that.

     

    Simulating Keystrokes in Browsers

     

    Also, try recording a simple test where you type in to that console.  What method does TestComplete use?  Play it back.  Does it work?

     

    If not, investigate whether recording/using Low-Level Procedures will work.  Perhaps you need to supply KeyDown and KeyUp events.

     

    Simulating Keystrokes