Open terminal and type: sudo javaws asdm.jnlp. Now launch browser and type Download file asdm.jnlp. When the copy is complete, save you configuration using the ‘wr’ command and then reload the firewall using ‘reload‘ command. Thanks a lot for your advice! If anyone else is looking to use this, please keep note of the windowsize. ASA1(config) username admin password cisco privilege 15. ShellExecute ( "C:\ProgramData\Oracle\Java\javapath\javaws.exe", '" ) WinWaitActive ( "", "", 10 ) Send ( "" ) ExitLoop 2 EndIf Next Sleep ( 1000 ) Local $aList = WinList ( ) WEnd EndFunc there is a way surely, but i see in this article that 'Cisco ASDM can run as a local application or as a Java Web Start application'. unfortunately, you stumbled upon one of the caveats of AutoIt - it is very difficult and tricky to automate Java apps. I have uploaded the images of the sequence of how the prompts generate during the login process. pottapitot, welcome to AutoIt and to the forum. I am trying to automate the login for Cisco ASDM using Java Web Start. I just started using Autoit and I am really looking into automating many functions. Step 2 - The ASDM Discovers the ASA Configuration and the FirePOWER Module IP Address.
0 Comments
Leave a Reply. |