Advertisement
claudiugura

Untitled

Mar 13th, 2018
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.71 KB | None | 0 0
  1.    ; Sample AutoIT code for Hamed A.
  2.  
  3.  Local $hWnd = WinWait("www.continuouslearningacademy.guru/resources/2/private2/ - Google Chrome","","20") ;wait 20 seconds for Popup Security Window
  4.      If WinExists("www.continuouslearningacademy.guru/resources/2/private2/ - Google Chrome") Then
  5.         WinActivate($hWnd) ;activate the window
  6.         $username = "challenge" ;user
  7.         $password = "secret"  ;password
  8.         Send($username&"{TAB}") ;"enter" username and then a Tab
  9.         Sleep(1000)    ;wait 1 second
  10.         Send($password) ;"enter" password
  11.         Sleep(1000)
  12.         Send("{ENTER}") ;finally I send an Enter Key to submit the values in the popup window
  13.      EndIf
  14.     Exit ;end of the AutoIT script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement