Jump to content

[Solved] Another _IE button click question.


Recommended Posts

 

<input name="VsMasterPage$MainContent$LoginUserControl$LoginForm$FormsAuthLoginContainer$LoginButton$InternalButton" class="Button" id="VsMasterPage_MainContent_LoginUserControl_LoginForm_FormsAuthLoginContainer_LoginButton_InternalButton" onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("VsMasterPage$MainContent$LoginUserControl$LoginForm$FormsAuthLoginContainer$LoginButton$InternalButton", "", true, "Login", "", false, false))' type="submit" value="Sign In">

I am trying to click the sign in button on this page. 

I have tried by class, text, etc 

Here was my last attempt

$oButtons = _IETagNameAllGetCollection($o_IE, "button")
For $oButton in $oButtons
If String($oButton.value) = "Sign In" Then
      Sleep (1000)
  _IEAction($oButton, "click")
  ExitLoop
EndIf
Next

This did not work either.

Edited by SkysLastChance

You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott

Link to comment
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
 Share

×
×
  • Create New...