10 years ago
Keys simulation not working
Hello,
Manual: When I type text into a field while a certain checkbox is checked, an alert dialog-box is displayed.
Automation Issue: Either by ursing SetText or Keys methods, the alert is not displayed. Sometimes when I run the script, the dialog-box is displayed and as per code, it is suppossed to recognize the dialog-box and click on OK button or terminate it. But TestComplete takes it as an unknown window and the try-catch block is catching it. So I put the code to recognize the window in the catch block but still no luck.
This is making me wonder if there is any other way I can simulate the 'typing' behavior.
It would be great if someone could guide me in this regard.
Manual: When I type text into a field while a certain checkbox is checked, an alert dialog-box is displayed.
Automation Issue: Either by ursing SetText or Keys methods, the alert is not displayed. Sometimes when I run the script, the dialog-box is displayed and as per code, it is suppossed to recognize the dialog-box and click on OK button or terminate it. But TestComplete takes it as an unknown window and the try-catch block is catching it. So I put the code to recognize the window in the catch block but still no luck.
This is making me wonder if there is any other way I can simulate the 'typing' behavior.
It would be great if someone could guide me in this regard.