Jump to content

can't find Textbox using SimpleSpy with UIA wrapper


trekker
 Share

Recommended Posts

i want to login to this website on Chrome using UIA wrapper.

 https://www.betsson.com/en/

Using SimpleSpy i try to find the username field and the password field, but i can't seem to manage this?

The LOGIN button can be found using CTR + W, also the username/password text labels, but not the Input fields themself.

Chrome Inspect Element gives me these elements:

<input type="text" maxlength="255" id="tbUsername" data-testid="accountAreaLoginUsername" tabindex="1" autocomplete="on">

<input type="password" maxlength="255" id="tbPassword" data-testid="accountAreaLoginPassword" tabindex="2" autocomplete="off">

Is it possible to control these using UIA?

otherwise i just need to hardcode some mouseclicks/keystrokes, but would rather do it nicely :)

Link to comment
Share on other sites

Did you turn on accessibility. Did you read the iuiautomation thread with tips and tricks.

hi junkew, you are the other of the wrapper isn't?

i read 25% of the thread and started Chrome using this 

$strChromeExeFolder="C:Program FilesGoogleChromeApplication"
$strChromeStartup="https://www.betsson.com --force-renderer-accessibility"
$strChromeExe=$strChromeExeFolder & "chrome.exe "
 
 
afterward i run simplespy and it can't seem to find those to login fields. I assumed that if simplespy can't find it, it would be kinda difficult?
 
EDIT noticed that SimpleSpy can pick up the input fields on Internet Explorer but not on Chrome; will do more testing/reading tomorrow!
Edited by trekker
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...