Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / August 2003

Tip: Looking for answers? Try searching our database.

Unattended test

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erik P. Vinther - 07 Aug 2003 14:46 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.