Hi All:
Using AutoIT (v3.3.10.2) I am trying to automate a test for a handheld device using an emulator named MyMobiler on Windows 7.
The screen shots and relevant steps of my problem could be seen in the link below:
http://howtoreaddynamiccontrolid.blogspot.ca/
Problem description:
Each time I start the emulator the Control ID changes to something new. It means, each new instance of the emulator will generate dynamic Control ID
In my AutoIT script, how can I read this dynamic Control I
Post in the ID structure...you can use regular expressions, or instance based.
HelpFile = 'Controls' to see all the ways to grab controls.
Send back the output of this...after starting the script, activate your window (quickly)
#include <Winapi.au3>
Sleep(5000)
Var_GetAllWindowsControls(WinGetHandle("[ACTIVE]"))
Func Var_GetAllWindowsControls($hCallersWindow)
; Get all list of controls
$sClassList = WinGetClassList($hCallersWindow)
; Create array
$aClassList = StringSplit($sClas