nares Posted September 8, 2017 Share Posted September 8, 2017 I am trying to automate login application (.exe) using Autoit and java integration. As a part of this automation i am able to login successfully but other part i want to check Login Failure case where username/Password given by user is incorrect, So how can we detect Login failed part or any way to handle Exception in this case. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 8, 2017 Moderators Share Posted September 8, 2017 @nares welcome to the forum. You will find it is generally difficult to help without seeing your code. Post what you're using, or a reproducer if you're working with sensitive data; it will go a long way toward helping us help you "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
nares Posted September 11, 2017 Author Share Posted September 11, 2017 @JLogan Thank you for your immediate response autoIt.controlSend("Title Of active window", "", "", "{SHIFT}+{TAB}", false); autoIt.controlSend("Title Of active window", "", "", "{DELETE}", false); autoIt.send("UserName"); autoIt.sleep(5000); autoIt.send("{TAB}", false); autoIt.send("Password"); For above snippet code i need help. 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