I am trying to map two variables to one action.
For example:
I want to put $varFirstName + $varLastName in the sequence field on a Key Sequence action. When I do this it ends up typing "$varFirstName + $varLastName"
Looking at the .cs file I see its adding the quotation marks.
repo.CustomerSignUp.BillingFullName.PressKeys("$varFirstName+$varLastName");
I can manually change it in the .cs file but that would mean I have to convert it to usercode.
repo.CustomerSignUp.BillingFullName.PressKeys(varFirstName+varLastName);
How can I do this via the Ranorex in the sequence filed on the .rxrec file?
Multiple variables in Sequence field
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Multiple variables in Sequence field
Hello,
It is not possible to combine variables in a recording action.
You could split it up into two actions (one for each variable).
Another way is to write a function in user code as you mentioned.
Regards,
Markus (T)
It is not possible to combine variables in a recording action.
You could split it up into two actions (one for each variable).
Another way is to write a function in user code as you mentioned.
Regards,
Markus (T)