Forum Discussion

nastester's avatar
nastester
Regular Contributor
8 months ago

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? 

 

 

6 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Is running headless and not-headless happening on the same machine?

    • nastester's avatar
      nastester
      Regular Contributor

      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. 

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        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?