I am trying to Automate one application to export data. To export, you need to SELECT individual item from the list, Right Click and select Export (from multiple options). So far I am able to select and right click on the Item to show the Context menu, but not able to select options under that. How can I get reference for that Context menu and select an item under that.
I am using Python 3.7 and Latest pywinauto library
syslistview = app.List1
imageListCount = syslistview.item_count()
for x in range(0, imageListCount):
listview_item = syslistview.get_item(x)
listview_item.click_input(button='right')