Hi Python developers, I am trying to click on the testInstance button using 
pywinauto but I couldn't do it, even it returns empty list when I try to 
print the controllers . Here is what I tried:
app = application.Application()
app=app.Connect(path = 
r"C:\\hdmt\\tos_2.5.2.0_release\\tosrelease\\bin\\release\\HdstSiteGuiWPF.exe")

‪#‎app‬ 
<https://www.facebook.com/hashtag/app?source=feed_text&story_id=1203337459684068>
.PrintControlIdentifiers()
#app['Site Controller GUI Command Center - Version 2.5.2.0 
OfflineLSM'].MenuSelect('Tools->TestInstance')

#app.top_window_().PrintControlIdentifiers()
#app.HdstSiteGuiWPF.MenuSelect("Tools->TestInstance")
#app.HdstSiteGuiWPF.PrintControlIdentifiers()
app['Site Controller GUI Command Center - Version: 2.5.2.0 
OfflineLSM'].ToolsCenter.TestInstance.Click()
#app.MenuSelect("Tools")

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b373f06c-9ffc-4232-a286-4af9bf7284c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to