Contributions
Re: How to work with mongo db with TestComplete
Hi Sonya, I am still on it. I tried setting up a DSN for mogo ODBC driver and used it in my script. I am getting the below error: [MySQL][ODBC 1.0(w) Driver]Lost connection to MySQL server at 'waiting for initial communication packet', system error: 10060 Can someone help me with this error?2KViews0likes4CommentsRe: How to work with mongo db with TestComplete
Hi BenoitB, Thanks! As my framework supports javascript, is there anyway we can make the connection between mongoDB and Testcomplete. The ADO code I am using is like: // Create and open a connection to the OrdersDB.mdb database var Conn = new ActiveXObject("ADODB.Connection"); /*Conn.ConnectionString = "Provider=;" + "Data Source= mongodb://localhost:27017/myproject"; */ Conn.ConnectionString = "mongodb://localhost:27017/TS"; Conn.Open(); What should be the provider value and data source value?2.1KViews0likes8Comments