Forum Discussion
aihnatsiuk
Occasional Contributor
I created the script for it. You need to know the email, password, login button element locators. Now the system automatically opens the login page> fill in all the info and click the login button when the token expired
sonya_m
3 years agoSmartBear Alumni (Retired)
- SoapuiTeay3 years agoOccasional ContributorI have already tried this. But I could only enter username. Once I click on the next button to enter password, again it asks me to enter username. I am not able to click on next button using js. Is there any other way to enter credentials.
- aihnatsiuk3 years agoOccasional Contributor
Could you send the click button function in your code? my example
function click(){
document.querySelector("HERE YOUR CSS SELECTOR").click();
}
- SoapuiTeay3 years agoOccasional ContributorNo, I have already tried this. But I could not enter the credentials using this method.