Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix menu_click in tests #1

Closed
beuaaa opened this issue May 10, 2020 · 0 comments
Closed

fix menu_click in tests #1

beuaaa opened this issue May 10, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@beuaaa
Copy link
Owner

beuaaa commented May 10, 2020

The following code has to be fixed:

with Window("Untitled - Notepad||Window") as w:
	w.menu_click("", "Application->Format->Font...", menu_type='NPP')

It should be:

with Window("Untitled - Notepad||Window") as w:
	w.menu_click("", "Format->Font...", menu_type='NPP')

With NPP menu style:

with Window("Untitled - Notepad||Window") as w:
	w.left_click("Application||MenuBar->Format||MenuItem")
	w.left_click("Format||Menu->Font...||MenuItem")

'Application->' must be added to 'Format->Font...'

The menu_select recording code has to be fixed

@beuaaa beuaaa self-assigned this May 10, 2020
@beuaaa beuaaa closed this as completed May 11, 2020
@beuaaa beuaaa added this to the 1.0.0 milestone Mar 23, 2021
@beuaaa beuaaa modified the milestones: 1.0.0, 0.5.1 May 30, 2021
@beuaaa beuaaa added the test label May 30, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant