Forum Discussion
We need some more details in order to be able to help.
What version of TestComplete and Chrome are you using?
What exactly happens when you play back your recorded test? Screenshots of your code and test log would be useful for us.
What version of TestComplete and Chrome are you using?
TestComplete 14.90.432.7
Chrome 93.0.4577.63
What exactly happens when you play back your recorded test? Screenshots of your code and test log would be useful for us.
Nothing happens when I play the code… it does all the steps until it get to the Keys line, then it ignores it. On this particular window, without that field, the validation prevents me from continuing.
This is the code that I’m running…
The test log contains nothing useful. It didn’t error out, but here is a screen shot.
- Marsha_R4 years agoModerator
Make sure you've been through all this setup
Try adding a Click into the text box or SetFocus to it before you use Keys or SetText.
https://support.smartbear.com/testcomplete/docs/reference/user-forms/methods/setfocus.html
If that doesn't help, I would use Debug with a breakpoint right before the Keys line and step through it. If that works, then it's a timing issue and you can use Wait to make sure the object is there before you enter the text.
- lisa_warden624 years agoNew Contributor
Just uploaded the file that you needed. Awaiting your reply.
Related Content
- 10 years ago
Recent Discussions
- 16 hours ago
- 16 hours ago
- 4 days ago