I want my User to give Correct File name yhrough Input Dialog.
I have stored my decision if inputfile.equals(correctfile) then only BOT will proceed and if not then it will ask the user to try again and give correct filename.
Now I want is if the USer gives wrong file name wrong 3 times then BOT will abort and not ask again to give filename in input dialog.
Any suggestions how we can do it??