Thanks Vinicius, I had to add wait on web page, that sorted it.
------------------------------
Thomas Weston
------------------------------
Original Message:
Sent: Tue July 18, 2023 12:57 PM
From: Vinicius Marques
Subject: Set value to field error
Hi Thomas,
Can you please try enabling the "Simulate human" parameter to check if that solves the issue for you?
Sometimes the websites rely on some event to detect if the field has changed and it might not be triggered with the "Simulate human" disabled. On some websites, I even had to do things like focusing on another element or sending a keyboard shortcut. It all depends on how the page works.
------------------------------
Vinicius Marques
Original Message:
Sent: Tue July 11, 2023 06:24 AM
From: Thomas Weston
Subject: Set value to field error
Hi I am trying to login to the following website - https://idp.extranet.geodis.org/logon/LogonPoint/tmindex.html
but when i run my script i get a box coming up with the following error
"You need to enter login name"
Script below
//Get Geoflow url
getParameter --name "IS_Appl_geoflowurl-TW" geoflowurl=value
getVaultItem --name "IS_Appl_intranet-TW" --system creds_success=success Username=userName Password=password
webStart --name webgeo --type "Firefox"
webWait
webNavigate --url "${geoflowurl}"
webWait
webSet --value "${Username}" --selector "CssSelector" --css "#login"
webSet --value "${Password}" --selector "CssSelector" --css "#passwd"
webClick --selector "CssSelector" --css "#nsg-x1-logon-button"
webClose --name webgeo --leavebrowseropen
------------------------------
Thomas Weston
------------------------------