Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DB Output Checking is not run during Schedule Script Run
#1
Not Solved
Hi,

I'm trying to run my script in a schedule time and it does work using the scripts found in this forum. In my scripts, I have lines of script for Database Output Value. Upon the script is running, I noticed that the line *(of codes) for DB Output Value checking have been skipped, then jump to the next scripts. There are no db output values displayed in DataTable.

Here are the scripts i got from this forum and then edited some particulars: -

Code:
Set App = CreateObject ("QuickTest.Application")
App.Launch
App.Visible = True
App.WindowState = "Maximized" ' Maximize the QuickTest window
App.ActivateView "ExpertView" ' Display the Expert View
App.open "D:\Program Files\HP\QuickTest Professional\Tests\NewTest", False
'Opens the test in editable mode


Dim Test_path
Test_path = "D:\Program Files\HP\QuickTest Professional\Tests\NewTest"
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim qtTest 'As QuickTest.Test ' Declare a Test object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start QuickTest
qtApp.Visible = True ' Make the QuickTest application visible
' Set QuickTest run options
qtApp.Options.Run.RunMode = "Normal"
qtApp.Options.Run.ViewResults = False
qtApp.Open Test_path, True ' Open the test in read-only mode
' set run settings for the test
Set qtTest = qtApp.Test
qtTest.Run ' Run the test
'qtTest.Close ' Close the test
'qtApp.quit
Set qtTest = Nothing ' Release the Test object
Set qtApp = Nothing ' Release the Application object

Should I add some scripts in order for the db output value checking works? Please help..

Thanks!
Charmieaka
Reply
#2
Not Solved
More expalnation please.
paste your lines of code where you check the db output value.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 635 11-05-2023, 03:55 PM
Last Post: lravi4u
  How do you Change Run mode mid script? Caleytown 6 7,360 03-25-2021, 08:27 AM
Last Post: RB26578
  Send automatic email notification when test run started helmzshelmz 0 1,117 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  swfwindow object name getting changed after each run saniya 1 1,715 10-10-2018, 09:02 PM
Last Post: TheGlovner
  SystemUtil.Run is not getting recorded divyan 1 1,863 08-31-2017, 09:06 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)