Home » Archived » Jubula » Left Click operation on a pop up menu(Left Click operation on a pop up menu)
| | | | | | |
Re: Left Click operation on a pop up menu [message #1644221 is a reply to message #886158] |
Mon, 02 March 2015 00:26 |
Rebecca Smith Messages: 6 Registered: February 2015 |
Junior Member |
|
|
Hi,
I am having a similar issue. I have looked at the other threads, as well as the cheat sheet, and my test continues to die trying to select the context menu item. I am running Jubula 8.1 stand alone against an RCP application. I've received a variety of error messages back, ranging from "Timeout received before confirming the posted event" to "Context Menu not found". I am not sure why it fails to find the menu option.
I have also tried both select by textpath and select by index, hoping one would work, but no luck.
Attached is the screenshot from Jubula. It appears to be getting the context menu to display, but fails to select anything. The cursor never moves onto the menu, so nothing ever gets selected. I tried a few times to export the test results details, but the tool never output anything to the paths provided.
Any help or suggestions are appreciated!
Thanks!
Becky
|
|
|
Re: Left Click operation on a pop up menu [message #1645582 is a reply to message #1644221] |
Mon, 02 March 2015 15:39 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hi Becky,
Thanks for the image and the information. If I understand correctly, you're doing the following actions:
- select from the tree
- select from context menu
Is that correct?
Without seeing the test results, it's hard to guess what might be the cause, but here are some suspicions:
- Which mouse button are you using to open the context menu? It should be '3'
- Which actions are you using exactly?
- Which version of Java are you using, and which version of Eclipse (and is it pure or with compatibility layer)?
To get the test result details, you should be able to:
- Export the test results from the reporting perspective
- Or, you can configure in the preferences that a test should write a HTML report to the place you specify (this can be found in the test result preferences)
- If all else fails, take a screenshot of the test specification and provide the parameters you are using / attach the project if you can
Best regards,
Alex
|
|
|
Re: Left Click operation on a pop up menu [message #1648374 is a reply to message #1645582] |
Tue, 03 March 2015 22:22 |
Rebecca Smith Messages: 6 Registered: February 2015 |
Junior Member |
|
|
Hi Alex,
Thanks for the reply. In response to your questions:
- select from the tree
- select from context menu
Is that correct? - yes, this is correct
Without seeing the test results, it's hard to guess what might be the cause, but here are some suspicions:
- Which mouse button are you using to open the context menu? It should be '3' - I have tried both 1 and 3, with no change in results
- Which actions are you using exactly? - ub_tre_selectNode_byIndexpath and I have tried both ub_grc_selectCOntextMenuEntry_byTextpath and ub_grc_selectContextMenuEntry_byIndexpath
- Which version of Java are you using, and which version of Eclipse (and is it pure or with compatibility layer)? - I believe I am using Java 1.6 (though with multiple versions installed, I'm not sure how I know for sure. Running from the cmd window, java -version returns 1.8.0_31) At a minimum, I know we are relying only on 1.6 functionality, so either using a 1.6 JVM or a new JVM with 1.6 compatibility. Eclipse version the AUT was built with is Helios (3.6.2), and the AUT is built for a 64-bit JVM.
I've attached a screenshot of the test results, since I am still unable to export them (I tried changing directories, but it didn't help, and no, there are no spaces in the path name).
I'm running on a 64-bit Windows 7 platform and am using the embedded AUT agent.
Please let me know if you need more information.
Thanks!
Becky
|
|
| |
Re: Left Click operation on a pop up menu [message #1649838 is a reply to message #1649168] |
Wed, 04 March 2015 14:32 |
Rebecca Smith Messages: 6 Registered: February 2015 |
Junior Member |
|
|
Hi Alex,
I've run into issues with the tree selection because it is timing out while loading the tree. I was going to look into this more, but was able to work around the issue by manually accessing data in the AUT before running the test. Is there a way to configure a timeout? I've tried adding the "DGD_IGNORE_TIMEOUT=true" to the System Environment Variables portion of the AUT launch configuration, but it didn't seem to make a difference.
If you look at the image screenshot, you can see that the tree item is selected and that the context menu gets displayed, but that nothing in the context menu itself ever gets selected. If the tree selection were the problem, I wouldn't have expected to see a tree item selected. The first test I wrote (which I also ran into problems with) also selected an item in the same tree and was able to select it and open an editor based on the selection.
As far as the log export goes, I am running from the test execution perspective. With the results displayed, I go to File|Export and select the "Test Result Details" option. I click next, then browse to a location on my local machine (I have tried multiple). The "Next" button is never enabled, so I click on "Finish". I have tried this in directories that are newly created through the browse dialog and in directories that were pre-existing.
For other logs (client log, rc_rcp log, etc), where would I find those?
Thanks!
Becky
|
|
| | | |
Goto Forum:
Current Time: Sat Dec 21 14:21:40 GMT 2024
Powered by FUDForum. Page generated in 0.04778 seconds
|