On Database ckeckpoint Delete query is not working with UFT GUI
Question ID: 107145
0
0

On Database checkpoint Delete query is not working. The specified query cannot be executed operation is not allowed when the object is closed is displaying.

Marked as spam
Posted by (Questions: 45, Answers: 0)
Asked on October 10, 2016 1:59 pm
43 views
Answers (1)
0
Private answer

Here is the code example for execute db command

Create a connection object
Set objDB = CreateObject(''ADODB.Connection'')

'Open a session to a db
objDB.ConnectionString = ''''
objDB.Open

'execute query
strQuery = ''Delete whatever from whatever''
Set objResults = objDB.Execute(strQuery)

'clean up
objResults.Close
objDB.Close
Set objResults = Nothing
Set objDB = Nothing

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on October 10, 2016 1:59 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top