SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Wait Problem

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Wait Problem
Author Message
John Berglund



Joined: 06 Jul 2001
Posts: 3

Post Wait Problem Reply with quote

I have a JAL script that does a WebOpenPage then waits 60 seconds, then will sendkeys alt f4 to close windows explorer. It by pass the wait statement and trys to close 24 by 7 because IE isn't open yet. ???

Fri Jul 06, 2001 9:01 am View user's profile Send private message
John Berglund



Joined: 06 Jul 2001
Posts: 3

Post Re: Wait Problem Reply with quote

: I have a JAL script that does a WebOpenPage then waits 60 seconds, then will
: sendkeys alt f4 to close windows explorer. It by pass the wait statement
: and trys to close 24 by 7 because IE isn't open yet. ???

I got it to work. I guess the Wait statement is bypassed in run now mode.

Fri Jul 06, 2001 9:38 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Wait Problem Reply with quote

No, it is not.

Can you post your script here?

By the way, it sound like you are trying to run ASP or JSP page. If this is the casue, use WebGetFile, you will not need to open/wait/close your browser.

: I got it to work. I guess the Wait statement is bypassed in run now mode.

Fri Jul 06, 2001 10:14 am View user's profile Send private message
John Berglund



Joined: 06 Jul 2001
Posts: 3

Post Re: Wait Problem Reply with quote

: No, it is not.

: Can you post your script here?

: By the way, it sound like you are trying to run ASP or JSP page. If this is
: the casue, use WebGetFile, you will not need to open/wait/close your
: browser.

Here is the script:

WebOpenPage("http://url/sendhelp/history/history.asp";)

Wait( 60 )

SendKeys( "{ALT}{F4}" )

I've removed the url it's an internal server not accessable by the public.
This script runs when it been set to run at a sch. time. But the wait statement won't wait 60 sec. when you use run now.

Thanks
John

Fri Jul 06, 2001 12:58 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Wait Problem Reply with quote

Just tried it, "Wait" worked fine for me. Try running this script in the debugger to verify that wait does work.

: Here is the script: WebOpenPage("
: http://url/sendhelp/history/history.asp"; ;)

: Wait( 60 )

: SendKeys( "{ALT}{F4}" )

: I've removed the url it's an internal server not accessable by the public.
: This script runs when it been set to run at a sch. time. But the wait
: statement won't wait 60 sec. when you use run now.

: Thanks
: John

Fri Jul 06, 2001 2:48 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.