Jump to content

Reading of list to a array in autoit


Pritam_C
 Share

Recommended Posts

How can I read values of the list to a array in autoit

For e.g: In the attached image I have selected the list of buttons  i.e. Quick Test, Extended Test etc. and in the info section the whole block is selected as one list.

I want to click on extended test element but since the whole block is in list I am unable to select the individual element.

Let me know how can this be achieved.

Capture.PNG

Link to comment
Share on other sites

You could move the mouse to the required option, relative the the client window

#include <AutoItConstants.au3>

Opt('MouseCoordMode', 2)

WinActivate('DLGDIAG - Select An Option', 'Model Number')

MouseMove(100, 135) ; quick test
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 165) ; extended test
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 195) ; erase
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 225) ; view test results
MouseClick($MOUSE_CLICK_PRIMARY)

 

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