Forum Discussion

krkarthik_info's avatar
krkarthik_info
Frequent Contributor
5 years ago
Solved

How to eshtablish a connection with MongoDB and fetch a query result through TestComplete

Hi All,   I have a scenario where I have to connect to the MongoDB database and verify the records.    Has anyone tried eshtablished a connection with MongoDB and fetched the query result?  ...
  • TanyaYatskovska's avatar
    TanyaYatskovska
    5 years ago

    Hi krkarthik_info,

     

    Have you tried using ADO to get data from the DB? ADO is a standard Microsoft engine that is available from any application. ADO calls the required database provider (e.g. the Oracle provider) depending on the connection string, and it performs all operations with the database. The provider is supplied by the database vendor, and TC just passes the control to this provider. However, please keep in mind that TestComplete can work only with the 32-bit provider (see the Working With Databases article).