Hi,
I have recorded a script using ACT and it works fine when
run from ACT itself. Now i want to run the script
unattended using the AT service. In order to do that i
have made another script based on the sample "Schedule
Task to Run at Regular Intervals" form the Help.
In order to test if the unattended script works on it's
own i tried to call it from the command line, i.e."cscript
<path & script filename>". Appearently the script starts
fine, no errors are reported, but nothing seems to be
happening in terms of ACT executing the recorded test.
The following always results in "Error opening project".
' open the project
Call oProject.Open(PROJECT_PATH , PROJECT_FILE_NAME, True)
If (oProject.IsOpen) Then
WScript.Echo("Project " & oProject.FileName & " is open")
else
WScript.Echo("Error opening project")
End If
Any pointers?
Thanks
Erik
Chad Ray [MS] - 08 Aug 2003 21:59 GMT
Hi Erik,
There's actually 2 issues here.
1 - The user account that is running the AT command likely doesn't have
permissions to open the My Documents folder to open the script. I'd check
that. It may not work at all because we might actually require a logged on
user account to access the files.
2 - ACT scripts cannot be run from outside the testing client, and I don't
think that's a supported action.
On a side note, I'm not quite sure I understand what it is you're trying to
test. If you're testing locally against the web site I wouldn't expect that
you'd get that big of a performance boost by not having a user logged in
unless you've got lots of other applications running that eat CPU and
memory while you're running the test. If you're running the test against a
different machine, it won't really matter to the server whether someone is
logged on or not at the client.
Maybe if you helped me understand the big picture, I'd be able to provide
more assistance.
Does this answer your question? Thank you for using Microsoft Newsgroups!
Chad Ray [MSFT]
Microsoft DS Communities Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only.
--------------------
>>>Content-Class: urn:content-classes:message
>>>From: "Erik P. Vinther" <epv@scandihealth.com>
[quoted text clipped - 45 lines]
>>>Thanks
>>>Erik