Browser alert popup not found when running headless, no issues non-headless
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Browser alert popup not found when running headless, no issues non-headless
I am running into an issue when running my Keyword test headless, a browser alert that occurs is not recognizable by TestComplete so I can't assert the message.
Clicking the 'Ok' button on the alert seems to still work fine.
When running not headless, TC can assert the message on the alert with no issues.
What can be done about this?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is running headless and not-headless happening on the same machine?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes same machine for now for testing purposes. Ultimately would be running on another machine though. Haven't tried to reproduce the problem on the other machine but I can try that.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What version of TestComplete are you running? Did you recently do an update?
Did this test ever work for you? If so, what version did it work on?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Latest version of TC (15.55.53.7). I have never run this test headless before. In the process of converting some tests to run headless and noticed this. It has worked non-headless for some time (and continues to).
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try recording just a small test that gets the popup and tries to do the assertion and see what happens?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting the same thing unfortunately.
