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?
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.
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.
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.