Component Name as Parameterhttps://www.eclipse.org/forums/index.php/mv/msg/488650/1062738/#msg_1062738
i am trying to generate a test case that can be used on ever Text Component in our Program. i wanna write something in it save and check the content after saving.
is there any way to set the Component Name in a Test Step as a parameter.

i am new in jubula and noticed that it wont work if i enter f.e. =compName in Component Name Property

Best Regards Dominik]]>Dominik Gabriel2013-06-10T14:55:16-00:00Re: Component Name as Parameterhttps://www.eclipse.org/forums/index.php/mv/msg/488650/1062822/#msg_1062822
If you actually need the component name to come from a parameter (e.g. iterating through values from a data file), then I do not think that Jubula will allow that; it will give you an "Incomplete Object Mapping" error, and not let you run the test, unless all of the component names you use in your test specification ultimately resolve to ones that are assigned to technical names.

If there turns out to be some strange and secret workaround that does make this possible, I hope someone will correct me. ]]>David Hickernell2013-06-10T22:04:34-00:00Re: Component Name as Parameterhttps://www.eclipse.org/forums/index.php/mv/msg/488650/1062851/#msg_1062851
David Hickernell wrote on Mon, 10 June 2013 18:04

If all you need to be able to do is use the same test case for multiple components, all you have to do is give the component a place-holder name in the test step, then replace it with an assigned component name in the "New Name" column of the Component Names view each time you reference your test case in another case or suite.

Thank you it worked very well ]]>Dominik Gabriel2013-06-11T06:09:34-00:00Re: Component Name as Parameterhttps://www.eclipse.org/forums/index.php/mv/msg/488650/1151312/#msg_1151312
I'm sorry for posting at such an old thread, but i have the same problem. I don't understand the solution. How can i set a placeholder in a test case. If I reference this test case in another, there is no possibility to change the Component.

regards,
Sascha]]>Sascha Winkler2013-10-23T09:03:58-00:00Re: Component Name as Parameterhttps://www.eclipse.org/forums/index.php/mv/msg/488650/1151361/#msg_1151361
the docs are here and there is an example here.