Depending on exactly what you are trying to do, you may want to use the 
HTTP service.  Here is an overview:

The HTTP service is an external STAF service that provides the ability to 
quickly and easily make HTTP requests. These requests can be grouped 
together in a session. Performing requests in a session provides the 
ability simulate a browsing experience. Since a session provides memory 
about the last request it is possible to manipulate cookies, login into 
secure http sites, and interact with form and link html elements that are 
returned from requests. 
 
Note, however, that the HTTP service does not use Internet Explorer, so 
this may not be what you want to use.

You can find more information about the HTTP service here:  
http://staf.sourceforge.net/getservices.php#HTTP

Thanks, 
David 

David Bender 
STAF/STAX Development 
IBM Software Group, WPLC 
 
11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 
 
Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com 
 





From:
Ahmed Mostafa <eng.ahmed2...@gmail.com>
To:
STAF <staf-users@lists.sourceforge.net>
Date:
12/31/2009 02:43 AM
Subject:
Re: [staf-users] Handles



You can do this via the following STAX job:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "stax.dtd">

<stax>
<defaultcall function="Main"/>
<function name="Main">
<sequence>
<process>
<location>'local'</location>
<command mode='"shell"'>R'"%ProgramFiles%\Internet 
Explorer\iexplore"'</command>
<parms>'www.yahoo.com'</parms>
</process>
<message if='vars().has_key("RC")' level='"trace"' log='1'>'RC = %s' % ( 
RC )</message>
<message if='vars().has_key("STAFResult")' level='"trace"' 
log='1'>'STAFResult = %s' % ( STAFResult )</message>
<message if='vars().has_key("STAXResult")' level='"trace"' 
log='1'>'STAXResult = %s' % ( STAXResult )</message>
</sequence>
</function>
</stax>

2009/12/31 arul prakash <arulprakas...@gmail.com>
hi,
     If I am using the process command to open internet explorer.is it 
possible to open a web page using the handle returned for IE?.If so how 
can i do it.

-- 
Regards,
Arul



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and 
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and 
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to