This is a migrated thread and some comments may be shown as answers.

How to do multiple database connections without using coded step?

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kanif
Top achievements
Rank 1
Kanif asked on 09 Dec 2014, 01:30 PM
Hi,
I have few queries around how to do database connection in Telerik Test Studio. I am able to do it from Coded Step, however needed to confirm if it is without using Coded Step.

i) I am able to connect to a database and get the data from single database. Just need to confirm how to retrieve the data from two different databases.
ii) I want to create a config driven script where environment (Stage, Sandbox, QA etc.) is read from the config file. Each environment having different database connection string, so here I want to read the database connection string from config and pass this connection string to create new data source. Is it possible without using coded step?

Thanks,
Kanif

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 12 Dec 2014, 12:15 PM
Hello Kanif,

Please check this link on how to read from a database. You can add as many data sources as you need and then use them in data driven testing.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Kanif
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or