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 that i am getting in the console window is :
ssssssssssssttttttttttttaaaaaaaaaaaarrrrrrrrrrrrtttttttttttt
I need the exact input to be fed to the window..
Please help on this at the earliest
Thanks in advance.
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.