question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ISAVIEWCMPTWINDOW

See original GitHub issue

Trying to access the checkboxes in the child_window(title=“ISAVIEWCMPTWINDOW”, auto_id=“401”, control_type=“Pane”) but pywinauto’s print_control_identifiers() dosen’t detect the checkboxes.

image

Dialog - 'Q-DAS Version 12 - Client'    (L0, T0, R1366, B768)
[u'Q-DAS Version 12 - ClientDialog', u'Q-DAS Version 12 - Client', u'Q-DAS Version 12 - Client1', u'Q-DAS Version 12 - Client0', u'Dialog', u'Q-DAS Version 12 - ClientDialog1', u'Q-DAS Version 12 - ClientDialog0', u'Dialog1', u'Dialog0']
child_window(title="Q-DAS Version 12 - Client", control_type="Window")
   | 
   | Dialog - 'Q-DAS Version 12 - Client'    (L431, T193, R935, B576)
   | [u'Q-DAS Version 12 - Client2', u'Q-DAS Version 12 - ClientDialog2', u'Dialog2']
   | child_window(title="Q-DAS Version 12 - Client", control_type="Window")
   |    | 
   |    | Static - ''    (L434, T219, R932, B278)
   |    | [u'', u'0', u'Static', u'Static1', u'Static0', u'1']
   |    | child_window(auto_id="52", control_type="Text")
   |    | 
   |    | Pane - ''    (L752, T219, R932, B278)
   |    | ['Pane', u'2', u'Pane1', u'Pane0']
   |    | 
   |    | Button - 'Select All'    (L746, T490, R821, B513)
   |    | [u'Button1', u'Button0', u'Select AllButton', u'Select All', 'Button']
   |    | child_window(title="Select All", auto_id="100", control_type="Button")
   |    | 
   |    | Button - 'Clear All'    (L832, T490, R907, B513)
   |    | [u'Clear All', 'Button2', u'Clear AllButton']
   |    | child_window(title="Clear All", auto_id="101", control_type="Button")
   |    | 
   |    | Button - '< Back'    (L682, T538, R757, B561)
   |    | ['Button3', u'< BackButton', u'< Back']
   |    | child_window(title="< Back", auto_id="12", control_type="Button")
   |    | 
   |    | Button - 'Next >'    (L757, T538, R832, B561)
   |    | ['Button4', u'Next >Button', u'Next >']
   |    | child_window(title="Next >", auto_id="1", control_type="Button")
   |    | 
   |    | Button - 'Cancel'    (L842, T538, R917, B561)
   |    | ['Button5', u'CancelButton', u'Cancel']
   |    | child_window(title="Cancel", auto_id="9", control_type="Button")
   |    | 
   |    | Static - 'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.'    (L460, T284, R907, B310)
   |    | [u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.0', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.1', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Static', u'Static2', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.']
   |    | child_window(title="Select the <product>.ini files to be prepared for this client.\nClick Next to continue.", auto_id="710", control_type="Text")
   |    | 
   |    | Image - 'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.'    (L497, T521, R931, B523)
   |    | [u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.2', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Image', u'Image1', u'Image0', 'Image']
   |    | child_window(title="Select the <product>.ini files to be prepared for this client.\nClick Next to continue.", auto_id="1300", control_type="Image")
   |    | 
   |    | Static - 'Select Features'    (L449, T224, R779, B237)
   |    | [u'Select FeaturesStatic', u'Static3', u'Select Features']
   |    | child_window(title="Select Features", auto_id="50", control_type="Text")
   |    | 
   |    | Static - 'Select the options you want to install.'    (L460, T243, R780, B274)
   |    | [u'Select the options you want to install.0', u'Select the options you want to install.1', u'Select the options you want to install.Static', u'Select the options you want to install.', u'Static4']
   |    | child_window(title="Select the options you want to install.", auto_id="51", control_type="Text")
   |    | 
   |    | Image - 'Select the options you want to install.'    (L434, T278, R930, B280)
   |    | [u'Select the options you want to install.Image', u'Select the options you want to install.2', 'Image2']
   |    | child_window(title="Select the options you want to install.", auto_id="1301", control_type="Image")
   |    | 
   |    | Pane - 'ISAVIEWCMPTWINDOW'    (L460, T321, R907, B484)
   |    | [u'ISAVIEWCMPTWINDOW', u'ISAVIEWCMPTWINDOWPane', 'Pane2']
   |    | child_window(title="ISAVIEWCMPTWINDOW", auto_id="401", control_type="Pane")
   |    |    | 
   |    |    | ScrollBar - 'Lodret'    (L890, T321, R907, B484)
   |    |    | ['ScrollBar', u'Lodret', u'LodretScrollBar']
   |    |    | child_window(title="Lodret", auto_id="NonClientVerticalScrollBar", control_type="ScrollBar")
   |    |    |    | 
   |    |    |    | Button - 'En linje op'    (L890, T321, R907, B338)
   |    |    |    | ['Button6', u'En linje opButton', u'En linje op']
   |    |    |    | child_window(title="En linje op", auto_id="UpButton", control_type="Button")
   |    |    |    | 
   |    |    |    | Thumb - 'Placering'    (L890, T338, R907, B454)
   |    |    |    | [u'PlaceringThumb', 'Thumb', u'Placering']
   |    |    |    | child_window(title="Placering", auto_id="ScrollbarThumb", control_type="Thumb")
   |    |    |    | 
   |    |    |    | Button - 'Page down'    (L890, T454, R907, B467)
   |    |    |    | ['Button7', u'Page downButton', u'Page down']
   |    |    |    | child_window(title="Page down", auto_id="DownPageButton", control_type="Button")
   |    |    |    | 
   |    |    |    | Button - 'En linje ned'    (L890, T467, R907, B484)
   |    |    |    | ['Button8', u'En linje ned', u'En linje nedButton']
   |    |    |    | child_window(title="En linje ned", auto_id="DownButton", control_type="Button")
   |    | 
   |    | TitleBar - ''    (L434, T196, R932, B219)
   |    | [u'3', 'TitleBar', u'TitleBar0', u'TitleBar1']
   |    |    | 
   |    |    | Button - 'Luk'    (L899, T194, R933, B219)
   |    |    | [u'LukButton', 'Button9', u'LukButton0', u'Luk', u'LukButton1', u'Luk0', u'Luk1']
   |    |    | child_window(title="Luk", control_type="Button")
   | 
   | Pane - ''    (L-39, T-44, R1406, B836)
   | [u'4', 'Pane3']
   | 
   | Pane - 'Q-DAS Version 12 - Client'    (L18, T31, R415, B71)
   | [u'Q-DAS Version 12 - ClientPane', u'Q-DAS Version 12 - Client3', 'Pane4']
   | child_window(title="Q-DAS Version 12 - Client", control_type="Pane")
   | 
   | TitleBar - ''    (L24, T3, R1358, B31)
   | ['TitleBar2', u'5']
   |    | 
   |    | Menu - 'System'    (L8, T8, R30, B30)
   |    | [u'System0', u'System', u'System1', u'Menu', u'SystemMenu']
   |    | child_window(title="System", auto_id="MenuBar", control_type="MenuBar")
   |    |    | 
   |    |    | MenuItem - 'System'    (L8, T8, R30, B30)
   |    |    | [u'MenuItem', u'SystemMenuItem', u'System2']
   |    |    | child_window(title="System", control_type="MenuItem")
   |    | 
   |    | Button - 'Minimer'    (L1219, T1, R1266, B31)
   |    | ['Button10', u'MinimerButton', u'Minimer']
   |    | child_window(title="Minimer", control_type="Button")
   |    | 
   |    | Button - 'Maksimer'    (L1266, T1, R1312, B31)
   |    | ['Button11', u'MaksimerButton', u'Maksimer']
   |    | child_window(title="Maksimer", control_type="Button")
   |    | 
   |    | Button - 'Luk'    (L1312, T1, R1359, B31)
   |    | ['Button12', u'LukButton2', u'Luk2']
   |    | child_window(title="Luk", control_type="Button")

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HeliosDKcommented, Aug 9, 2018

This is on

    hwnd = findwindows.find_windows(title=u'Q-DAS Version 12 - Client')
    appfound = autoapp(backend="win32").connect(handle=hwnd[0])
    dlg = appfound.top_window()  
    dlg.print_control_identifiers()

Control Identifiers:

Dialog - 'Q-DAS Version 12 - Client'    (L431, T193, R935, B576)
[u'Q-DAS Version 12 - Client', u'Q-DAS Version 12 - ClientDialog', u'Dialog']
child_window(title="Q-DAS Version 12 - Client", class_name="#32770")
   | 
   | Static - ''    (L434, T219, R932, B278)
   | [u'Select FeaturesStatic', u'Select FeaturesStatic1', u'Select FeaturesStatic0', u'Static1', u'Static0', u'Static']
   | child_window(class_name="Static")
   | 
   | Static - ''    (L434, T219, R932, B278)
   | [u'Select FeaturesStatic2', u'Static2']
   | child_window(class_name="Static")
   | 
   | ISWndImgCls - ''    (L752, T219, R932, B278)
   | [u'ISWndImgCls', u'Select FeaturesISWndImgCls']
   | child_window(class_name="ISWndImgCls")
   | 
   | Button - '&Select All'    (L746, T490, R821, B513)
   | [u'&Select AllButton', u'&Select All', u'Button', u'Button1', u'Button0']
   | child_window(title="&Select All", class_name="Button")
   | 
   | Button - '&Clear All'    (L832, T490, R907, B513)
   | [u'&Clear All', u'&Clear AllButton', u'Button2']
   | child_window(title="&Clear All", class_name="Button")
   | 
   | Button - '< &Back'    (L682, T538, R757, B561)
   | [u'< &Back', u'< &BackButton', u'Button3']
   | child_window(title="< &Back", class_name="Button")
   | 
   | Button - '&Next >'    (L757, T538, R832, B561)
   | [u'&Next >', u'&Next >Button', u'Button4']
   | child_window(title="&Next >", class_name="Button")
   | 
   | Button - 'Cancel'    (L842, T538, R917, B561)
   | [u'Button5', u'CancelButton', u'Cancel']
   | child_window(title="Cancel", class_name="Button")
   | 
   | Static - 'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.'    (L460, T284, R907, B310)
   | [u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Static0', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Static1', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.', u'Static3', u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Static']
   | child_window(title="Select the <product>.ini files to be prepared for this client.\nClick Next to continue.", class_name="Static")
   | 
   | Static - ''    (L497, T521, R931, B523)
   | [u'Select the <product>.ini files to be prepared for this client.\nClick Next to continue.Static2', u'Q-DAS Version 12 - ClientStatic', u'Static4', u'Q-DAS Version 12 - ClientStatic1', u'Q-DAS Version 12 - ClientStatic0']
   | child_window(class_name="Static")
   | 
   | Button - 'C'    (L680, T585, R755, B608)
   | [u'Button6', u'C', u'CButton']
   | child_window(title="C", class_name="Button")
   | 
   | Static - ''    (L437, T515, R497, B531)
   | [u'Static5', u'Q-DAS Version 12 - ClientStatic2']
   | child_window(class_name="Static")
   | 
   | Static - 'Select Features'    (L449, T224, R779, B237)
   | [u'Select FeaturesStatic3', u'Select Features', u'Static6']
   | child_window(title="Select Features", class_name="Static")
   | 
   | Static - 'Select the options you want to install.'    (L460, T243, R780, B274)
   | [u'Select the options you want to install.Static0', u'Select the options you want to install.Static', u'Select the options you want to install.Static1', u'Static7', u'Select the options you want to install.']
   | child_window(title="Select the options you want to install.", class_name="Static")
   | 
   | Static - ''    (L434, T278, R930, B280)
   | [u'Select the options you want to install.Static2', u'Static8']
   | child_window(class_name="Static")
   | 
   | ISAVIEWCMPTCLASS - 'ISAVIEWCMPTWINDOW'    (L460, T321, R907, B484)
   | [u'ISAVIEWCMPTWINDOW', u'ISAVIEWCMPTWINDOWISAVIEWCMPTCLASS', u'ISAVIEWCMPTCLASS']
   | child_window(title="ISAVIEWCMPTWINDOW", class_name="ISAVIEWCMPTCLASS")
0reactions
vasily-v-ryabovcommented, Aug 9, 2018

For “win32” backend list items are not present in the hierarchy (it can be considered as virtual items for simplicity), but they can be obtained by methods of list view wrapper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check box list - AutoIt General Help and Support - AutoIt Forums
... the TextBoxList) (i try with function ControlGetText) i see only something like that - ISAVIEWCMPTwindow.I need to can check different check boxes.I...
Read more >
Free Automated Malware Analysis Service - powered by Falcon ...
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Read more >
InstallShield SelectComponents List [Archive] - Software Testing and ...
1. On the screen where you select the components you want to install, the list of components control is a custom control called...
Read more >
創新5.1音效卡KX驅動搭建機架之後如何除錯 - 愛問問答
建議直接用模擬滑鼠4 6找到ISAVIEWCMPTWINDOW客戶端按加減號進行操作。一般推薦選用7。1 音箱。找到後,使用模擬滑鼠單擊即可將焦點移動到此專案上,按一次空格此專案 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found