|
|
|
|
How to execute the qtp script when this script is added to schedule tasks?
|
|
10-08-2009, 02:46 PM
Post: #1
|
|||
|
|||
|
How to execute the qtp script when this script is added to schedule tasks?
When we add a script to "Schedule tasks" which is in "Contro Panel" then respective qtp script is been getting and opened at a scheduled time but respective script will be executed only and when Run command is performed Can you please help me in this regard to sort out this issue Thanks in advance, Venakt. |
|||
|
10-08-2009, 02:55 PM
Post: #2
|
|||
|
|||
|
RE: How to execute the qtp script when this script is added to schedule tasks?
see if this article helps you
How To Run QTP Scripts at Scheduled Time? Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
10-08-2009, 02:57 PM
Post: #3
|
|||
|
|||
|
RE: How to execute the qtp script when this script is added to schedule tasks?
Hi Venkat,
You could use AOM for accomplishing this. Follow the below process : Step 1: Open notepad & copy the below code Dim Obj Set Obj=CreateObject("QuickTest.Application") Obj.launch Obj.Open "give ur Test script path here" Obj.Test.Run Obj.Quit Set Obj=Nothing Step2 : Save As "filename.VbS" into some loc. Step3 : Add the above VBS file to Schedule Tasks & schedule it Thats it , it would work fine now. Never limit your challenges , Challenge your limits |
|||
|
10-08-2009, 03:19 PM
(This post was last modified: 10-08-2009 03:27 PM by venkatbatchu.)
Post: #4
|
|||
|
|||
RE: How to execute the qtp script when this script is added to schedule tasks?
(10-08-2009 02:57 PM)sreekanth chilam Wrote: Hi Venkat, Hi Sreekanth, I have tried with the code u mentioned, and my observations are 1.It launches the application 2.It opens the corresponding file 3.It not start getting executed Please help me at step 3 Thanks in advacne, Venkat (10-08-2009 03:19 PM)venkatbatchu Wrote:(10-08-2009 02:57 PM)sreekanth chilam Wrote: Hi Venkat, Hi Sreekanth, Thanks its working i did not keep the objt.test.run thanks alot |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| QTP Script Writing In Expert View | Payal Sharma | 3 | 86 |
Yesterday 12:45 PM Last Post: falvi |
|
| execute file | rjkmr.aiht | 6 | 89 |
05-16-2012 03:09 PM Last Post: rjkmr.aiht |
|
| Problem recording simple script | shik_and | 4 | 687 |
04-16-2012 05:49 PM Last Post: saikri |
|
| QTP gets crashed on start up or on save a script. Pls advise | pandeche | 2 | 720 |
04-16-2012 12:14 PM Last Post: leema |
|
| Import Excel data from Quality Center into QTP Script | smilefouru | 6 | 7,566 |
04-03-2012 09:42 AM Last Post: sshukla12 |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help




