can\'t get text into textBox
First time using TestComplete with our complicated app (lots of user controls). Everything records and plays back perfectly inside TestComplete, but I copy/paste the script into a C# class and it doesn't work.
It will get past a few screens of our wizard but won't put the TEXT into the textBox. The script uses w1["Keys"]("aaa") where w1 points to a textbox. Are there any other ways to accomplish this that I can try? It still works great when I paste it into Test complete, but I need to run it from a C# class.
Re: can\'t get text into textBox
The problem happens with a C# Connected Application, correct? Could you please give us some more details? Are there any error messages posted to the Log panel?
In the meantime, please try replacing your w1["Keys"]("aaa") line with the following code:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">w1["Click"]();
Sys["Keys"]("aaa"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">and let me know if it makes a difference.