Application login test help needed!

Hi, Is this the best place to find help on this I wonder?
I am trying to get a simple application login test working.
I’ve got to the point where the application loads but then I cannot get the code to enter the text into the username and password fields.
I’ve tried using inspect.exe to find the elements but the automationID changes each time for these fields and there’s nothing in the name field.

I tried using the below but still not working:

Launch And Login To Websure
Comment Launch the Websure application
Start Process ${APP_PATH}
Sleep 5s

Comment    Attach to the main window
Attach Window    name:Websure Loader

Comment    Find all Edit fields and enter credentials
${fields}=    Find Elements    control_type:Edit
Length Should Be    ${fields}    2
Send Keys           ${fields}[0]    ${USERNAME}
Send Keys           ${fields}[1]    ${PASSWORD}

Using the libraries:

*** Settings ***
Library RPA.Windows
Library Process

Has anyone got an example of a login test to an application that uses a username and password box working (where the element doesn’t have a name and the automationID changes each time)?

Try image recognition and then something like pyautogui ?

I got my script working eventually.