Robotic Process Automation (RPA)

 View Only
  • 1.  Set value to field error

    Posted Tue July 11, 2023 06:25 AM

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


  • 2.  RE: Set value to field error

    Posted Tue July 18, 2023 12:57 PM

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



  • 3.  RE: Set value to field error

    Posted Wed July 19, 2023 04:33 AM

    Thanks Vinicius, I had to add wait on web page, that sorted it.



    ------------------------------
    Thomas Weston
    ------------------------------