Jawaid_Memon Posted July 19, 2018 Share Posted July 19, 2018 Hello every, currently, I am running with issue, I have created .exe with below script, which running fine on my windows 10 machine, i am doing automation testing want to login automatically to website with basic authentication. below code is perfectly working on server (Windows Server 2016 Datacenter)/local (windows 10) however, on server when script (.exe) sending enter, it is opening (File Explorer) instead of login into website, any Idea what went wrong?(it is bit odd issue) $title= "Windows Security" WinWaitActive($title) Sleep(1000) send("domain\user1") send("{TAB}") send("password") send("{ENTER}") Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2018 Developers Share Posted July 20, 2018 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 20, 2018 Share Posted July 20, 2018 Hi @Jawaid_Memon, and welcome to the AutoIt forum Can you show us the Window you are trying to automate? Best Regards. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Jawaid_Memon Posted July 20, 2018 Author Share Posted July 20, 2018 it is IE local host with basic authentication I am kinda using passwrkd like with special char !# inside it send("password#C!QAZXSWEDCzaqwsxcde#e!qXz2w") I think it is the password which is messing it up, can you tell me how do I write above password in AutoIT without prompting File Explorer as result Link to comment Share on other sites More sharing options...
Jawaid_Memon Posted July 20, 2018 Author Share Posted July 20, 2018 Thanks guys, I Figure it out i resolved statement send("password#C!QAZXSWEDCzaqwsxcde#e!qXz2w") as below, and now it is working fine $title= "Windows Security" $pass = "password#C!QAZXSWEDCzaqwsxcde#e!qXz2w"WinWaitActive($title)Sleep(1000)send("domain\user1")send("{TAB}")send($pass, 1)send("{ENTER}") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now