How to resolve blank screen when we try to login microsoft login while running the windows application via automation script?

Sowmi Abi 0 Reputation points
2023-02-06T06:23:59.69+00:00

In our project, we are using selenium webdriver with appium, Java and winappdriver for automating our windows application. When we try to login with microsoft account via automation script, we are getting blank page. But, when we open via manually at that time we are getting the microsoft login page.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2023-02-15T10:01:31.0866667+00:00

    Hi @Sowmi Abi ,

    Thanks for reaching out.

    There can be number of factors to get the blank screen:

    It seems that the automation script is not properly handling redirects or other browser interactions. It is also possible that the automation script is not properly handling the Microsoft login page.

    Are you getting any pop-up blockers that may be preventing the Microsoft login page from opening.

    • Check the browser's developer console for any errors or warnings.
    • Check the automation script's code for any issues related to cookies or session data.
    • Did you try any another browser to check the same.

    Thanks,

    Shweta

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.