Trying to store a value from a Spinner widget (SWT) using the ub_ctx_storeValue action. On object mapping, jubula identifies it as 'Graphics Component' (org.eclipse.swt.widgets.Spinner)
However, on executing, the test fails with the error : Operation not supported by the selected toolkit'
I'm currently using the rcp toolkit. I tried changing it to 'swt' but the AUT fails to startup( eclipse.exe in this case)
I've spoken to a developer and it would appear that the spinner is supported only as a "graphics component" (i.e. you can click it, check its existence etc), but it is not currently possible to e.g. check its text, store a value - these are actions on "Component with Text".
However, it *should* be possible to work around this If you use "Store Property" (on Graphics Component) and use the text property of the spinner, then you should get the right result...
Thank you for the prompt reply.. A final call for help -
storeProperty stores the text in a 'Variable' data type (eg VAR_1). Whenever i try to reference this variable, (for eg: in checkStringValues action) it displays error saying incompatible datatype
How do i copy this value to another String or integer parameter
I am also trying to access the value of a spinner field, but using a property value of 'text' gives me a Configuration Error. am I missing something? i tried in single quotes, double quotes, all caps, all lower, initial caps, but nothing works, always the same result.
Ah, then this could be something else. Can you click on the spinner widget? My gut feeling is that you'd get the same error there as well. If so, then see if adding the jar from this ticket helps. If not, please enter a new ticket.