Forum Discussion
SoapuiTeay
Occasional Contributor
It opens a web login page and we need to enter the credentials. So far I am entering the data manually. Could not automate this step. Do you have any idea on this?
aihnatsiuk
4 years agoOccasional 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_m4 years agoSmartBear Alumni (Retired)
- SoapuiTeay4 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.
- aihnatsiuk4 years agoOccasional Contributor
Could you send the click button function in your code? my example
function click(){
document.querySelector("HERE YOUR CSS SELECTOR").click();
}
- SoapuiTeay4 years agoOccasional ContributorNo, I have already tried this. But I could not enter the credentials using this method.
Related Content
Recent Discussions
- 21 days ago