Passing test parameters to SQL data connector query
Posted: Sat Aug 27, 2016 1:19 pm
We’re using Ranorex to test a new application that posts data in widgets from a DB source from a search by an identifier.
from an excel file without resorting to multiple test recordings with corresponding data connectors for each identifier.
We made a global parameter for the identifier and variable can bind it to the test case and SQL data connector.
We next would use a table with a list of identifiers we want to test that would pass the identifier for each iteration.
The main question is how to pass the variable to the query in the data connector of each iteration of the identifier to avoid using multiple data connectors for each identifier.
Are there code examples for passing these parameters to the data connector?
Thank You,
Bill
from an excel file without resorting to multiple test recordings with corresponding data connectors for each identifier.
We made a global parameter for the identifier and variable can bind it to the test case and SQL data connector.
We next would use a table with a list of identifiers we want to test that would pass the identifier for each iteration.
The main question is how to pass the variable to the query in the data connector of each iteration of the identifier to avoid using multiple data connectors for each identifier.
Are there code examples for passing these parameters to the data connector?
Thank You,
Bill