Passing Query String Variable to Test

Ask general questions here.
Posts: 18
Joined: Mon Sep 30, 2013 5:01 pm

Passing Query String Variable to Test

Post by jmckinstry » Mon Mar 10, 2014 3:42 pm

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.


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Passing Query String Variable to Test

Post by Support Team » Mon Mar 17, 2014 1:26 pm

Hi Jeff,

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