Access a popup dialog and mouse click issue
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
Research direction
Start by reviewing the DialogFinder returned by findDialog("dlgStop") and the APIs for accessing its JDialog and child components. Reproduce the intermittent click() behavior with the named JmenuItems and inspect whether the popup hierarchy or active component changes. Done should mean reliably accessing dlgStop and performing the intended menu clicks without targeting another window.
Written by the indexing model from the issue text.
Description
Hi,
I am trying to automate my java swing GUI. It is composed of a main JFrame from which a hierachy of Jdialogs/Jframes pop up depending on prevoius data entry and buttons clicked. Only the top most pane is ever active/enabled.
Each of my java components in the gui have a unique name. I am struggling to figure how to access my jdialog that pops up.
So far I have:
DialogFinder exportConfigDlg = findDialog("dlgStop");
but from here how do i access the actual dialog and the components on it?
Another issue is, the click() action is volatile. I have various click action being performed on JmenuItems however these seem to be misfiring at times, there wa sa point wher ethe X on the eclipse screen was clicked (very bizarre, not sure how it got there given i had provided the menuitems name) and i was asked if i wanted to close eclipse.
Any help in these areas would be much appreciated.
I eagerly look forward to your repsonses.
Thanks in advance.
Nisa
- Dominant language
- Java
- Stars
- 121
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from assertj/assertj-swing
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
assertj/assertj-swing#279 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
assertj/assertj-swing#278 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
assertj/assertj-swing#276 · 1 comment ·
-
Update unit test to avoid deprecated `ExpectedException.none()` by using `Assert.assertThrows()` Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
assertj/assertj-swing#275 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
assertj/assertj-swing#277 · 1 comment ·
All issues in assertj/assertj-swing
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·