Connecting to Informix DB - WinRunner
I am learning WinRunner, I would like to know how to connect to Informix DB in WinRunner can some one give me sample code..Thanks
[ 10-27-2004, 07:07 AM: Message edited by: MaliR ]
Re: Connecting to Informix DB - WinRunner
WinRunner simply uses an ODBC connection. The steps to connect to any database in WinRunner are as follows:
1) Install requisite ODBC driver. This is usually done by intalling database client software.
2) Create an ODBC connection to the database. This varies according to the type of database. Please refer to your database's documentation.
3) Insert the db_connect function from WinRunners function generator. The connect string will be generated for you -
create->insert function->from function generator
Press the args button.
Press the three periods ... next to connect str.
Select the ODBC connection created in step 2.
Enter username and password
The connect string will ge generated for you.