Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DB Output Checking is not run during Schedule Script Run
04-23-2010, 12:53 PM
Post: #1
DB Output Checking is not run during Schedule Script Run

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: -

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

Enthusiasm for Quality.
Enablement for Quality.
Empowerment for Quality.
Find all posts by this user
Quote this message in a reply
04-23-2010, 07:00 PM
Post: #2
RE: DB Output Checking is not run during Schedule Script Run
More expalnation please.
paste your lines of code where you check the db output value.

Thanks,
~Saket Kumar
[Linkedin][pdf Api for QTP]
It's so hard when I have to, and so easy when I want to...
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Question Unable to Run the Scripts in the Expert View in QTP - 10 Payal Sharma 2 163 Yesterday 12:12 PM
Last Post: falvi
At Scheduling a run in QTP dol_fin 4 287 05-10-2012 12:07 AM
Last Post: beejfred
  HP Run Results Viewer 11 don't substitute the data from an external xml file. dondemon 0 125 04-16-2012 05:56 PM
Last Post: dondemon
  HP run results freezes and closes dondemon 0 113 03-22-2012 05:18 PM
Last Post: dondemon
  How to Set Ordinal Identifier at run time Amit Singh Chauhan 3 722 03-22-2012 12:11 PM
Last Post: qtplearner88

Forum Jump:


User(s) browsing this thread: 1 Guest(s)