Jenkins - testcomplete script give the error on testExecute machines about the ODBC driver manager -
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jenkins - testcomplete script give the error on testExecute machines about the ODBC driver manager -
TestComplete Version 14.0.3
TestExecute version 14.0.3
Ran the TestComplete Script on TestExecute machine . Script use database connection and we are using the DB table variable. On My local machine we are using the Micorsoft ODBC driver and data source name
We ran the script through jenkins on TestExecute machines and we got the error as shown below.
How we can resolve this ?
[TestComplete] Test runner exit code: 2. [TestComplete] [WARNING] Error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. [TestComplete] [WARNING] Errors occurred during the test execution.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using oracle database. Did not find any thing on Smartbear site.
Do I need to install oracle driver installed on TestExecute machine ?
Please update
Thanks
Nishchal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
has any one ran the testcomplete database script on testexecute machine ? Does testexecute machine should also have database driver installed ?
Thanks
Nishchal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the machine that is running TestExecute needs to have the same ODBC drivers installed as on the machine you're doing the TestComplete development on. Those drivers are part of the OS, not part of TestComplete.
Additionally, make sure you have the "bitness" correct. As with TC 12.4 and later, there are two versions of TestComplete/TestExecute installed: a 32-bit version and a 64-bit version. By default, the 64-bit version is what is installed. So, if you've installed the 32-bit ODBC drivers but are running the 64-bit version of TestComplete/TestExecute you'll get the same error.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for the updates
So
I need to install the same driver on TestExecute machine which is same as that of TestComplete machine?
I need to create Data Source name also on TestExecute ?
I have attached the oracle drivers information which is on TestComplete machine.
Plese update
Thanks
Nishchal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you need to install all the same drivers and assign the same names on your TestExecute machines that you have on your TestComplete.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you . It work now.
I have to set up the testcomplete machine with the same oracle driver and same data source name .
