Page 1 of 1

Passing Query String Variable to Test

Posted: Mon Mar 10, 2014 3:42 pm
by jmckinstry
I have a problem that I did not see anything about in the forum.

I have created a test for one of our web applications that runs perfectly. The application is setup so that it will run with slight variations in the query string. Basically, to differentiate between clients, one query string parameter is different for each client. For example, http://localhost/default.aspx?customer=abc will act exactly as http://localhost/default.aspx?customer=def and therefore use the recorded test successfully for both query strings.

I was tasked to give the functionality so that the test would begin with a separate page that has a dropdown list with all of our customers names and a button. When a customer is selected and a button is clicked, I will generate a query string and the application is run and the test continues with the generated query string.

Is this possible?

Thank you all for your help.

Jeff

Re: Passing Query String Variable to Test

Posted: Mon Mar 17, 2014 1:26 pm
by Support Team
Hi Jeff,

When I got this correctly this shouldn't be a problem for Ranorex.
Do you face any specific problems?

Regards,
Markus