Not able to pass # in my password using autoIT

时间秒杀一切 提交于 2019-12-14 03:27:40

问题


I am using Autoit for authentication window in chrome using selenium. My Password Contains special character, but # is not getting entered in my Password.

My password is " D#e$r@2016"

Could anyone please help.


回答1:


The following code may helps, # has special meaning in auto IT. so it should be escaped using braces.

Method 1: send(" D{#}e$r@2016")

If you send all characters as raw then set the flag value to 1. By default, the flag is 0.

Method 2: send(" D#e$r@2016",1)



来源:https://stackoverflow.com/questions/47688622/not-able-to-pass-in-my-password-using-autoit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!