How to test menu item using Jubula - jubula

I'm a beginner for developing intelliJ plugins. I've already established connection from Jubula to my AUT.
I want to write a test suite, to check the availability of a sub menu item in intelliJ.
Please assist me.

If you don't want to dig too deep into Jubula, then all you have to do is use the Observation Mode (camera icon) and record clicking on your menu item.
When the test is executed it will do exactly the same; it will mark the test failed if the menu can not be clicked.

There's also a cheat sheet on how to test menus available via Help/Cheat Sheets. The documentation for testing menus is here:
https://testing.bredex.de/files/content/software/documentation/reference/components/ch03s02s05.html
(the link to each action description is at the bottom of the page)

Related

Uncheck checkbox after alert message

I created dynamic action in oracle apex i.e when selecting more than one check box it displays that "to select only one checkbox" if i click ok button of this message the checkboxes should be unchecked
After the confirm DA, add another DA with plsql code
:PXX_CHECKBOX_ITEM := null;
items to submit ->
:PXX_CHECKBOX_ITEM
What Valerio wrote would work, but I am guessing this is to do with the apex.item stuff you have been dealing with.
You will need to add another DA that is triggered by clicking the ok button. Then you need to have the DA run Javascript code. Since I saw you were asking about how to run javascript, in this case you need to go into the true actions of the dynamic action and set the Action to Execute Javascript code.(For other Javascript code you can click on Page XX: Name of page in the Rendering tab on the left, and if you scroll down on the right there should be a section for Javascript)
And the Javscript code you need to execute to uncheck should be $s or something similair. https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html is a good starting point on just these basics.
I actually tend to avoid interactive reports, I prefer Interactive Grids. But you do you. If you do get into Interactive grids I recommend you go through this: https://github.com/mgoricki/orclapex-ig-cheat-sheet

Sitecore 8 Component MV testing

How to start a component test in Sitecore 8?
In sitecore7.5 there was a button Start Test on the ribbon, now under the Optimizaion menu in Experience Editor there are Lists section and Create a page test. But not Start test button.
Just to clarify what I'm trying to achieve. I've an Item that has a rendering in Presentation Details. On that rendering there is a MV test defined. I would like to start this test.
Sitecore 8 now has new A/B testing features.
In the Page Editor (Experience Editor) there is an Optimization tab. Here you can Click "Start a Test". Instead of just being able to test certain controls individually you can now test a complete variation of a page.
You then go to the Experience Optimization option on the Dashboard to see how well your variations are performing.
You can still test individual components in the Page Editor as before by clicking on the component and selecting the "Test a component" option in the ribbon above the component.
In Sitecore 8 you should run the component test using the workflow command "Approve with test". Take a look at this document

How do you use setInitialMenuItem for Google Glass menus, and do you have example code?

Google Glass online documentation mentions the method but with minimal documentation:
https://developers.google.com/glass/develop/gdk/reference/com/google/android/glass/view/MenuUtils
Should this be called from onOptionsItemSelected or onCreateOptionsMenu?
Any example code would be most appreciated.
You should call this method from onCreateOptionsMenu or onPrepareOptionsMenu in order to set the menu item that will be initially visible when the user asks for the menu to be displayed. If you call it from onOptionsItemSelected, then it will be too late, since the menu was already displayed and interacted with.

GDK : How to show status similar to 'Recording" and 'Complete"

I'm developing a GDK app where I need to provide an user experience to display status text similar to video recording status that Glass provides ( displaying "Recording" status then displaying progress indicator and finally showing 'Complete' text ). Appreciate your input.
Right now, you'll need to write your own UI logic to do this (perhaps by using a Dialog with a custom layout that has the appropriate centered label and icon, with a progress bar at the bottom, and changing the label and dismissing the dialog when the action is complete).
You may want to follow issue 271 in our issue tracker, which covers the progress indicator part of this flow.
Tony is right. There is no way to do this naively but you can build it yourself. You can create a layout that is build exactly like the menu is built in the GDK, and then just update the setcontentview() with a new layout each time you want to move to the next card. Also you can build a layout with the holo horizontal progressbar to get the general idea but it won't be like the one Google uses.
Also wanted to add that I have built a repo that you can drop into your project for this. Here is the link: https://github.com/w9jds/GDK-ProgressBar

Changing Slots on Qt Menu Bar (with image)

this is more of a functionality question than programming question but I can't find any other idiot operators like me out there that are having the same problem as me, or haven't figured it out themselves.
I've got a good basic understanding of CLI C++ so I want to get into the Qt Framework. I'm using their tutorials to get started...
http://qt-project.org/doc/qt-5.1/qtdoc/gettingstartedqt.html#adding-menu-items
The tutorial says that all I need is to "right-click an action and select Go to slot > triggered()."
The image below shows in red circles two of the primary places I've tried right clicking. I've also tried going through the menu and looking for things but to no avail. (Question continued below picture.)
Does anyone know what I am doing wrong here or am I reading this wrong? Thanks in advance.
FYI the open button and save button under central widget is for the Open and Save buttons I added, NOT for the menu toolbar open and save functions.
Near the bottom of Qt Creator find the tabs "Action Editor" and "Signals & Slots Editor". Click the "Action Editor" tab to show a list of all the actions in your UI. You should be able to right-click these items and select "Go to slot...".