Page 1 of 1

Ability to control the order of ${ask} parameters in an Ant transformation scenario

Posted: Fri Jan 04, 2019 7:58 pm
by dcramer
I have a simple Ant transformation scenario where I ask the user for the username and password when the scenario is run. Oxygen sorts these parameters alphabetically. As a result, password comes before username, so the user is prompted first for the password and then for the user name. In this case, I can hack around it by naming my parameters a_username and b_password or something, but it would be better if there were a way to control the order of the asks. Even better would for Oxygen to combine all the asks into a single dialogue box (again, with the order controlled).

Re: Ability to control the order of ${ask} parameters in an Ant transformation scenario

Posted: Mon Jan 07, 2019 10:48 am
by Radu
Hi David,

One thing you could do would be to take control over what dialogs are shown from the ANT build.xml file instead of using Oxygen's ask editor variables:

post47208.html

One other idea would be to have a single parameter called "userPassword" which would take the value something like "ask(user) ask(password)" and then in the ANT build file split the received value in two values and use them to populate the user and password properties.
And indeed in such case it would be nice if Oxygen merged both asks in a larger form instead of popping up two dialogs (we already have an issue registered for this).

Regards,
Radu