Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Solo.clickOnMenuItem(String) closes menu if already open #17

Closed
GoogleCodeExporter opened this issue May 13, 2015 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Test an application which automatically opens its own menu on startup, or 
issue the command solo.sendKeys(Solo.MENU) manually.
2. solo.clickOnMenuItem("Add");
3.

What is the expected output? What do you see instead?
Solo should recognize that the menu is already open (is that possible?!), and 
not start by closing it.

What it does now, is to blindly click MENU before looking for a match to the 
regex, thereby closing an already open menu and never finding the regex match.

The solution to this should not be to look for a match first, but to actually 
figure out whether the menu is already open.


Original issue reported on code.google.com by hugo.josefson.old@gmail.com on 25 Sep 2010 at 2:44

@GoogleCodeExporter
Copy link
Author

There is no way to know if the menu is open or not. If you find a way then 
please share that and I will modify how clickOnMenuItem() works.

Original comment by renasr...@gmail.com on 25 Sep 2010 at 3:08

@GoogleCodeExporter
Copy link
Author

Alright then :)

Will do {{{solo.clickOnText("Add");}}} until then.

Original comment by hugo.josefson.old@gmail.com on 25 Sep 2010 at 3:14

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

I will set this issue to invalid as it is not a defect but a known limitation. 

Original comment by renasr...@gmail.com on 25 Sep 2010 at 3:17

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant