Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Put character "=" in a textarea
Put character "=" in a textarea [message #708015] Tue, 02 August 2011 10:38 Go to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
Hi,

I would like to write into a Textarea the next code (for exemple):


PROGRAM cha
a_string:=REPRESENTATION(a_number);
END_PROGRAM


To do that I use <ub_cti_inputText> in my Test_case. When I input the code into the Text parameter, Jubula creates a new parameter "REPRESENTATION" for the Test_case. Is it normal?
What can I do to be able to do what I want? I have tried to put a space between the "=" and "REPRESENTATION" but Jubula want not accept it.

How can I delete the new parameter, because I haven't the possibility to click on "edit parameter".

Michel
Re: Put character "=" in a textarea [message #708019 is a reply to message #708015] Tue, 02 August 2011 10:49 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver Goetz
Messages: 96
Registered: May 2011
Member
Hi Michel,

have you tried to use backslashes to prevent Jubula from creating a parameter?
\=\
Hope this helps.
Regards
Oliver
Re: Put character "=" in a textarea [message #708060 is a reply to message #708019] Tue, 02 August 2011 12:07 Go to previous messageGo to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
Thanks! Smile

And how can I delete parameter if I can't access to the "Edit parameter"?
Re: Put character "=" in a textarea [message #708122 is a reply to message #708015] Tue, 02 August 2011 13:39 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver Goetz
Messages: 96
Registered: May 2011
Member
Hi Michel,

to edit the parameters you have to right click the parent test case and select "Edit Parameters".
Regards
Oliver
Re: Put character "=" in a textarea [message #708155 is a reply to message #708122] Tue, 02 August 2011 14:12 Go to previous messageGo to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
Hi,

Thanks for the answer.
When I do that I can't select "Edit Parameters" because he is disable.

Michel
Re: Put character "=" in a textarea [message #708189 is a reply to message #708015] Tue, 02 August 2011 14:50 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver Goetz
Messages: 96
Registered: May 2011
Member
Hello Michel,

it´s strange that "Edit Parameters" is disabled even when selecting the parent test case. Ususally "Edit Parameters" is enabled even when there are no parameters in the parent test case. Could you provide more information e.g. a screenshot? Typically the context menu looks like the one in the screenshot when selecting the parent test case (check attachment).
Oliver
Re: Put character "=" in a textarea [message #708765 is a reply to message #708189] Wed, 03 August 2011 06:42 Go to previous messageGo to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
Hi Oliver,

Thanks to reply.

In attachement, a screenshot where you can see that "edit parameters" is disable.

Michel
Re: Put character "=" in a textarea [message #708773 is a reply to message #708765] Wed, 03 August 2011 06:52 Go to previous messageGo to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
I have the same problem to delete a test case in the browser, "Delete" in the context menu is disable, is it normal?

In attachement a screenshot for this thing.

Michel
Re: Put character "=" in a textarea [message #708893 is a reply to message #708773] Wed, 03 August 2011 09:08 Go to previous messageGo to next message
Alexandra Schladebeck is currently online Alexandra Schladebeck
Messages: 1155
Registered: July 2009
Senior Member
Hi Michel,

It sounds like you have set the project as "protected", which means that parameters can not be edited and Test Cases cannot be deleted.

Have a look here for project protection and changing the protection status:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/manual/node51.html

Alex
Re: Put character "=" in a textarea [message #708904 is a reply to message #708893] Wed, 03 August 2011 09:16 Go to previous messageGo to next message
Michel Sumbul is currently offline Michel Sumbul
Messages: 19
Registered: July 2011
Location: Belgium
Junior Member
Thank you very much Smile
That was the problem!

Michel
Re: Put character "=" in a textarea [message #720235 is a reply to message #708904] Tue, 30 August 2011 07:54 Go to previous messageGo to next message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Hello!
I have a similar problem. I want to input the character "\" into a textfield. But the backslash has another meaning in Jubula. How it is possible to have the usual meaning?

Best regards

Juliane
Re: Put character "=" in a textarea [message #720251 is a reply to message #720235] Tue, 30 August 2011 08:38 Go to previous messageGo to next message
Achim Loerke is currently offline Achim Loerke
Messages: 349
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Either use

\\

or

'\'

literally.

Achim
Re: Put character "=" in a textarea [message #720283 is a reply to message #720251] Tue, 30 August 2011 10:15 Go to previous messageGo to next message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Thank you for your answer.
I have tried this already. It does not work either.
Do you have any other ideas?

Cheers,

Juliane
Re: Put character "=" in a textarea [message #720295 is a reply to message #720283] Tue, 30 August 2011 10:34 Go to previous messageGo to next message
Alexandra Schladebeck is currently online Alexandra Schladebeck
Messages: 1155
Registered: July 2009
Senior Member
Just to check - did you try entering the backslash surrounded by single quotes?

'\'

If so, what kind of error are you getting, what system (Win, Lin, Mac) are you on, and what toolkit (RCP, Swing etc.) are you using?

Cheers,
Alex
Re: Put character "=" in a textarea [message #720302 is a reply to message #720295] Tue, 30 August 2011 10:41 Go to previous messageGo to next message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Hi,
I have tried this already.

I don't get any errors. The only thing is that no "\" appears in the textfield by executing the test but a "ß". Also no "/" but a "7".
The system I use is Windows 7 and the toolkit is RCP.

Thank you for your reply.

Juliane

[Updated on: Tue, 30 August 2011 10:41]

Report message to a moderator

Re: Put character "=" in a textarea [message #720305 is a reply to message #720302] Tue, 30 August 2011 10:47 Go to previous messageGo to next message
Alexandra Schladebeck is currently online Alexandra Schladebeck
Messages: 1155
Registered: July 2009
Senior Member
The problem is that your keyboard layout is false. The keyboard layout has to be specified for RCP AUTs:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/manual/node267.html

Regards,
Alex
Re: Put character "=" in a textarea [message #720325 is a reply to message #720305] Tue, 30 August 2011 11:29 Go to previous message
Juliane Mueller is currently offline Juliane Mueller
Messages: 30
Registered: August 2011
Member
Thank you for that efficient answer. Now it functions.

Cheers

Juliane
Previous Topic:Problem starting html-AUT
Next Topic:(how) can I use env vars in a test?
Goto Forum:
  


Current Time: Tue Oct 21 07:14:46 GMT 2014

Powered by FUDForum. Page generated in 0.05480 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software