Select "Cross ARM GCC" by SWT script [message #1790035] |
Sun, 03 June 2018 17:52 |
Jiri Pospisil Messages: 7 Registered: May 2018 |
Junior Member |
|
|
Hi frends. I try generate project by script. And I have a problem. I need select text by SWT. Any idea, how to select?
I have this function:
def project_create(name):
SWT.viewByTitle("Project Explorer").setFocus()
SWT.menu("File").menu("New").menu("Project...").click()
SWT.textWithLabel("Wizards:").setText("C project")
SWT.button("Next >").click()
#SWT.viewByTitle("Project Explorer").setFocus()
#SWT.menu("File").menu("New").menu("C Project").click()
SWT.textWithLabel("Project name:").setText(name)
SWT.tree().collapseNode("Executable")
SWT.tree().getTreeItem("Makefile project").select().click()
SWT.tree().getTreeItem("Makefile project").expand()
SWT.tree().getTreeItem("Makefile project").getNode("Empty Project").select().click()
# Select "Cross ARM GCC here"
-
Attachment: Problem.PNG
(Size: 31.22KB, Downloaded 131 times)
[Updated on: Sun, 03 June 2018 17:55] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03454 seconds