Issue with "Type Into" Activity Not Entering Credentials Consistently

I am using the “Type Into” activity to input a username and password. It successfully logs in when run for the first time, but when I run the project again, it fails to type the username and password.

Even though I haven’t made any changes, the activity does not input the credentials as expected. I made some adjustments, and it worked once, but now it has stopped working again.

Does anyone have suggestions on how to resolve this issue or insights into why this might be happening?

HI,

Can you share more detailed information such as your workflow, selector string etc?

For example, some webpage always changes id attribute of the input element. In this case, it’s necessary to use other static attribute to indicate the target.

Regards,

I am working on a project where the robot will retrieve data from an Excel file, log in, and then extract the information.

First, I used the ‘Excel File’ activity, then the ‘Use Application/Browser’ activity, and finally the ‘Type Into’ activity.

Hi @Aakash_Sharma4

First, use the Use Application/Browser activity, and inside it, insert the Type Into and Click activities to enter the login credentials and click on the login button. After these activities, add the Excel activities.

You might be using the For Each Excel Row activity to iterate through each row in the Excel file. In the first iteration, the login details are entered successfully, and the application logs in. However, during the second iteration, the application is still logged in, and it attempts to access the login page again, which it cannot do since the session is already active.

Hope you understand!!

which Ui are you using of type into activity between classis and modern?

Thank you for your reply.

You are absolutely correct. I am using the “For Each Excel Row” activity. In the first iteration, the login details are entered successfully, and the application logs in. However, in the second iteration, it opens a new Chrome browser and picks up the URL from the Excel sheet. When the login page comes up, it is unable to enter the username and password.

Sometimes, even in the first iteration, it fails to input the username and password.

Thank you for helping me.

I am using Classic.

could you share us the selector value?

Are you getting the login credentials and URL’s from the excel sheet or these are static for every time.

If possible could you share your workflow.

There is no problem with selectors it might problem with launching the website.

Hope you understand!!

Main.xaml (33.1 KB)