Je sais que la question peut sembler stupide mais après avoir essayer les différentes solutions trouvées (_IELinkClickByText par exemple). Je n'arrive toujours pas à passer cet étape.
Je suis sur un site permettant soit d'utiliser un ID/MDP pour la connexion
Code : Tout sélectionner
<form id="formLogin" autocomplete="OFF" name="Authentication" method="post" action="/logingassifaible.fcc">
<h3 id="titreConnexionManuelle">connexion avec Identifiant</h3>
<div id='divLabelFormLogin'>
<span id="spanLabelLogin">
<label id="labelLogin" for="USER">Identifiant</label>
</span>
<span id="spanLabelPassword">
<label id="labelPassword" for="PASSWORD">mot de passe</label>
</span>
</div>
<span id="spanInput">
<input title="connexion avec Identifiant" type="text" name="USER" id="user" onkeyup="javascript : verifFields()"/>
<input title="connexion avec Identifiant" type="password" name="PASSWORD" id="password" onkeyup="javascript : verifFields()"/>
<span id="spanBtnCnx">
<a href="#" title="Valider l'authentification" id="linkValidForm" onclick="javascript:launchAuth()">
<span id="spanLinkValidForm" class="spanLinkValidFormDisable">valider</span>
</a>
</span>
<input type="hidden" name=target value="**.jsp">
<input type="hidden" name=SMAUTHREASON value="0">
</span>
</form>Code : Tout sélectionner
<div id="divCorpsGauche">
<h3 id="titreConnexionAuto">connexion avec l'Identifiant de ma session Windows</h3>
<span id="spanBtnCxAutomatique">
<!-- <form action= method="post">
<input type="submit" value="Activer" title="Activer la connexion automatique" class="valid"/>
</form>-->
<a id="linkActiver" title="Activer la connexion automatique" href="https://**.jsp">
<span id="spanLinkActiver">activer</span>
</a>
</span>
</div>J'ai essayer quelque chose comme ca:
Code : Tout sélectionner
#include <IE.au3>
$oIE = _IECreate ("**.jsp")
$o_form = _IEFormGetObjByName ($oIE, "f1")
$o_login = _IEFormElementGetObjByName ($o_form, "USER")
$o_password = _IEFormElementGetObjByName ($o_form, "PASSWORD")
$o_signin = _IEFormElementGetObjByName ($o_form, "linkValidForm")
$username = "votre ID"
$password = "votre MDP"
_IEFormElementSetValue ($o_login, $username)
_IEFormElementSetValue ($o_password, $password)
_IEAction ($o_signin, "valider")
Code : Tout sélectionner
#include <IE.au3>
$oIE = _IECreate ("**.jsp")
_IELinkClickByText($oIE, "activer")Auriez vous une idée?



