The question is: How can one connect to an encrypted SQLite database from ScriptCase? When specifying a database connection there does not seem to be any way of specifying encryption keys for access.
This stackoverflow article provides several solutions for SQLite database encryption: http://stackoverflow.com/questions/5669905/sqlite-with-encryption-password-protection
I have not studied them in detail. However, just looking briefly at SQLite’s own module (http://www.hwaci.com/sw/sqlite/see.html), it would seem that they require a database connection using the C API so that a special method can called with the key to open up the database. My guess is that the other solutions require a similar direct C API access.
There would be no problem programming a desktop application using the SQLite Native C API. But developing in ScriptCase, their built in database connection object has to be used, and I do not off the top of my head see how one would combine the SC connection with a native C API access. I think it may require ScriptCase to build the encryption access into their tool, but I would be happy to be proven wrong.