I have tried to automate an web application by recording its contents.While recording it captures all the objects and its properties properly.But when i want to run it, it give a message box "please enter your password" and the script stuck there itself without entering the application.then i had to manually stop it.
I have done exactly what you have told.I have removed the secure in Setsecure and enter the password instead of the encripted password.But still the problem is giving:
A message box displays "Please Enter The Password"
Please help us with suitable solution.
1>Could you please let me know that you are using valid user ID and password?
-If user ID and password are valid then you found Login new issue for that client(Product).You have to report it to developer.
-If user ID is valid and password is invalid then you have handle then case by descriptive programing.
If Window.text="Please Enter The Password" Then
'Click on Button
Then Relogin the process with valid Login credentials.
Is the password field getting recognized. If it is being recognised then I dont see why it is not entering the values.
Were you able to run the script in debug mode?
Also put a break point at that and next step and verify what is happening at the point where the password is to be entered in the field. This will give you a better idea if the password is being entered or not.
Also do you see any error that says that password field is not recognised?
Is the screen rendered compleately and is the password field visible on the browser. If nor wait before doing login and try logging in after all the fields are fully visible.
The user ID and password are absolutely valid since i can manually login to the site with the give credentials.I dont know actually whether the password field is recognized or not but nothing is entered in the password fields when i run the code.