Handling Windows authentication pop up

后端 未结 3 1363
甜味超标
甜味超标 2021-01-07 10:10

Below is my AutoIt script (UI3_Authentication.au3) for handling a Windows authentication pop up.

AutoItSetOption(\"WinTitleMatchMode\",\"2\")  
WinWait(\"Aut         


        
3条回答
  •  春和景丽
    2021-01-07 11:00

    I resolved this. Actually, it was my bad. Previously, my code was like this:

    c1.get(“http://www.test.com”);  
        Runtime.getRuntime().exec("C:\\POM_Newdemo\\EF_Automation_Demo\\UI3_Authentication.exe");
    

    I Added autoit code before my get() as follows, and it worked:

    Runtime.getRuntime().exec("C:\\POM_Newdemo\\EF_Automation_Demo\\UI3_Authentication.exe");
    c1.get(“http://www.test.com”);
    

提交回复
热议问题