Sign in to follow this  
Followers 0
realkiller

help file online

13 posts in this topic




i wanna login into this page

<html>
<head>
<title>Support Center login</title>
<link rel="stylesheet" type="text/css" name="style" href="/sdccommon/inc/sprtui.css">
<style>
  .loginSmallText
  {
    font-family :  helvetica,verdana,arial;
    FONT-SIZE: 9pt;
  }
  .loginBigText
  {
    color : 003399;
    FONT-WEIGHT: bold;
    FONT-SIZE: 12pt;
    LINE-HEIGHT : 12px;
    font-family :  helvetica,verdana,arial;
  }
  .clsInputBox
  {
   width: 160px;
  }
</style>
</head>
<body onload="document.formlogin.login.focus();" style="margin:0px">
<!-- Begin header -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" height="32px" width="100%">
  <tr height="32px">
    <td><img src="/sdchealtop/images/scbr_support_center.gif" border="0"></td>
    <td width="100%"></td>
    <td align="right"><img src="/sdccommon/images/cbr_title_poweredby.gif" border="0"></td>
  </tr>
</table>

<!-- Begin main table -->
<form method="POST" name="formlogin" action="/sdchealtop/asp/login.asp">
    <table align="center" border="0" cellpadding=0 cellspacing=0>
 <tr>
   <td align="center" valign="top"><img src="/sdchealtop/images/spacer.gif" width="1" height="25" border="0"></td>
 </tr>
 <tr>
   <td align="center" valign="top"><img src="/sdchealtop/images/scbr_welcome.gif" border="0"></td>
 </tr>
 <tr>
   <td align="center" valign="top">
<!-- Begin login table -->      
       <table border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td class="sansmedblack" colspan="2" align="center"><br><font class="loginBigText">Login and get started</font><br><br></td>
       </tr>
       <tr>
         <td align=right class="sanssmallblack">&nbsp;&nbsp;&nbsp;&nbsp;<font class="loginSmallText">Username:</font>&nbsp;</td>
         <td class="sanssmallblack"><input type="text" class="clsInputBox" name="login" maxlength="100"></td>
       </tr>
       <tr>
         <td align=right class="sanssmallblack">&nbsp;&nbsp;&nbsp;&nbsp;<font class="loginSmallText">Password:&nbsp;</font></td>
         <td class="sanssmallblack"><input type="password" class="clsInputBox" name="password" maxlength="50"></td>
       </tr>
       <tr>
         <td colspan="2" align="center"><br><input type="submit" value="Login" class="clsTextButton1" border="0" alt="Login" name="sublogin"></td>
       </tr>
       <tr>
         <td colspan="2" valign="top" rowspan=3 class="sanssmallblack" align="center">
           <input type="hidden" name="showerr" value="yes">
           <table border="0" cellpadding="0" cellspacing="0" width="350">
             <tr>
               <td align="left" class="sanssmallblack"><br><font color="#cc0033"></font>
               <script language="javascript">
               if (!document.cookie) {
                 document.write('<br><font color="#cc0033"><img align=absbottom src="/sdchealtop/images/scic_bug.gif" width=16 height=16 border=0 alt=""><b>Cookies not enabled.  Please enable session cookies for full application functionality.</b></font>');
               }
               </script>
               </td>      
             </tr>
           </table>
         </td>
       </tr>
     </table>
<!-- End login table -->
   </td>
 </tr>
 <tr>
   <td><img src="/sdchealtop/images/spacer.gif" width="500" height="1" border="0"></td>
 </tr>
 </table>
</form>
<!-- End main table -->  
  
</body>
</html>

Share this post


Link to post
Share on other sites

; *******************************************************
; Example 1 - Open a browser with the form example, set the value of a text form element
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("form")
$oForm = _IEFormGetObjByName ($oIE, "ExampleForm")
$oText = _IEFormElementGetObjByName ($oForm, "textExample")
_IEFormElementSetValue ($oText, "Hey! This works!")

; *******************************************************
; Example 2 - Get a reference to a specific form element and set its value.
;               In this case, submit a query to the Google search engine
; *******************************************************
;
#include <IE.au3>
$oIE = _IECreate ("http://www.google.com")
$oForm = _IEFormGetObjByName ($oIE, "f")
$oQuery = _IEFormElementGetObjByName ($oForm, "q")
_IEFormElementSetValue ($oQuery, "AutoIt IE.au3")
_IEFormSubmit ($oForm)

; *******************************************************
; Example 3 - Login to Hotmail
; *******************************************************
;
#include <IE.au3>
; Create a browser window and navigate to hotmail
$oIE = _IECreate ("http://www.hotmail.com")

; get pointers to the login form and username, password and signin fields
$o_form = _IEFormGetObjByName ($oIE, "f1")
$o_login = _IEFormElementGetObjByName ($o_form, "login")
$o_password = _IEFormElementGetObjByName ($o_form, "passwd")
$o_signin = _IEFormElementGetObjByName ($o_form, "SI")

$username = "your username here"
$password = "your password here"

; Set field values and submit the form
_IEFormElementSetValue ($o_login, $username)
_IEFormElementSetValue ($o_password, $password)
_IEAction ($o_signin, "click")

; *******************************************************
; Example 4 - Set the value of an INPUT TYPE=FILE element
;               (security restrictions prevent using _IEFormElementSetValue)
; *******************************************************
;
#include <IE.au3>

$oIE = _IE_Example("form")
$oForm = _IEFormGetObjByName($oIE, "ExampleForm")
$oInputFile = _IEFormElementGetObjByName($oForm, "fileExample")

; Assign input focus to the field and then send the text string
_IEAction($oInputFile, "focus")
Send("C:\myfile.txt")

; *******************************************************
; Example 5 - Set the value of an INPUT TYPE=FILE element
;               Same as previous example, but with invisible window
;               (security restrictions prevent using _IEFormElementSetValue)
; *******************************************************
;
#include <IE.au3>

$oIE = _IE_Example("form")

; Hide the browser window to demonstrate sending text to invisible window
_IEAction($oIE, "invisible")

$oForm = _IEFormGetObjByName($oIE, "ExampleForm")
$oInputFile = _IEFormElementGetObjByName($oForm, "fileExample")

; Assign input focus to the field and then send the text string
_IEAction($oInputFile, "focus")
$hIE = _IEPropertyGet($oIE, "hwnd")
ControlSend($hIE, "", "Internet Explorer_Server1", "C:\myfile.txt")

MsgBox(0, "Success", "Value set to C:\myfile.txt")
_IEAction($oIE, "visible")

There ya go.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0