Has anyone executed sqlcmd (command-line) utility from a Ranorex automation script and fired a T-SQL script to query the database?
I need to do this in a web application testing scenario that needs to both run SELECTs as well as INSERTs and DELETEs against the back-end SQL Server database.
Thanks.
Run sqlcmd and query database from script
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Run sqlcmd and query database from script
Hello Zee357,
Since Ranorex is based on C# you could write your own usercode function in order to execute a SQL command, for example: how-to-execute-an-sql-script-file-using-c-sharp
Sincerely,
Robert
Since Ranorex is based on C# you could write your own usercode function in order to execute a SQL command, for example: how-to-execute-an-sql-script-file-using-c-sharp
Sincerely,
Robert