Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DB Connectivity
#6
Not Solved Exclamation 
If you need to change WSID and d/b each and every script then use Local Sheet(Action Specific Sheet) and Enviornment Variable.

Code:
WSID =DataTable["WSID",Enviornment.Value("ActionName")]
DBScript=DataTable["DB",Enviornment.Value("ActionName")]

Updated the DSN function which I posted in previous reply with these two values.

Only thing is that for each script you have to maintain the WSID and DBScript columns in Specific Action Sheets i.e Action1,Action2..)

Do let me know if anything is wrong or not clear.

~Regards
Reply


Messages In This Thread
DB Connectivity - by Priyanka Arya - 08-07-2010, 09:42 PM
RE: DB Connectivity - by QTPLearn - 08-09-2010, 10:43 AM
RE: DB Connectivity - by Priyanka Arya - 08-09-2010, 11:26 AM
RE: DB Connectivity - by QTPLearn - 08-09-2010, 05:09 PM
RE: DB Connectivity - by Priyanka Arya - 08-10-2010, 11:00 AM
RE: DB Connectivity - by QTPLearn - 08-10-2010, 01:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Database connectivity error galstar 2 2,477 08-19-2010, 06:04 PM
Last Post: galstar
  Issue related to DB connectivity.. galstar 0 1,634 08-17-2010, 01:07 PM
Last Post: galstar
  How to write a script or database connectivity to connect oracle databse upadhyay40 10 7,879 11-24-2009, 12:37 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)