Contributions
Getting error : [ODBC Driver Manager] Data source name not found and no default driver specified
I am getting error while trying to make a connection with excel file placed on my local system. Below the code snippet - Sub Connect() Dim objFso Dim m_strDatabasePath Dim m_strDatabaseName m_strDatabaseName = "TestData.xls" m_strDatabasePath = "E:\Krishnia\Automation\Karan\Fusion\TestSuite\TestData\" Set objFso = CreateObject("Scripting.FileSystemObject") If Not objFso.FolderExists(m_strDatabasePath) Then Err.Raise 5001, "Data Access Library", "ExcelDataAccess class: The given database path does not exist!" End If Set objFso = Nothing If m_strDatabaseName = "" Then Err.Raise 5002, "Data Access Library", "ExcelDataAccess class: The database name cannot be blank!" End If Dim strFilePath, strConnectionString strFilePath = m_strDatabasePath & m_strDatabaseName Set m_objConn = cnnOpenADODBConnection(strFilePath) strConnectionString = "Provider=Microsoft.ACE.OLEDB.13.1;Data Source=" & strFilePath &_ ";Extended Properties=""Excel 12.0 Xml;HDR=YES;IMEX=1""" Set m_objConn = CreateObject("ADODB.Connection") m_objConn.Open strConnectionString Set cnnOpenADODBConnection = m_objConn End Sub1.1KViews0likes1CommentHow to skip current test script execution of a batch of test scripts when running test script fails?
I am using testcomplete keyword data driver framework where test scripts gets invoked through driver script and driver scripts runs only those scripts which are placed in excel sheet. There is situation 1)when multiple test scripts are run in a batch and if one of the test scripts gets failed due to an error then entire execution of the remaining test scripts stops. 2) Another thing is if I disable the stop on error check box then it keeps on searching for next objects written in flow of particular test script? Can some one help me on this big issue as its a stopper for me?1.1KViews0likes2CommentsRe: Name mappings take long time to add an object. Some times i need to close testcomplete as well.
Thanks for the Reply, But i have taken care of all the parameters then too i am facing this challenge with Name mapping. Only there is one thing that my name mapping is huge and has most of the objects having extended find enabled.1.3KViews0likes1CommentName mappings take long time to add an object. Some times i need to close testcomplete as well.
I am trying to add objects into existing name mapping but now suddenly it started taking lot of time more than 4-5 mins to add an object. So can any one tell me what should i do in that case.1.3KViews0likes4CommentsCan anyone here tell me the process of installation of a floating license?
I am new to test complete, and we have a floating license with us. I am bit confused how to activate it. Information provided on smartbear site looks bit complex for me as i am very new to this. So can anyone here tell me how to do this ?579Views0likes1CommentWhen i add a new object using Name mapping then it took too much time to add an object
When i add a new object using Name mapping then it took too much time approx 1 min to to add an object into name mapping. Can someone tell me why it takes so much time to add a single object1KViews0likes4Comments