Results 1 to 12 of 12

Thread: A problem with Web Elements

Threaded View

  1. #1

    Thread Starter
    Addicted Member erenagar's Avatar
    Join Date
    Jul 2014
    Posts
    154

    A problem with Web Elements

    Hello guys, I have a login page in my website. I'm developing a login program.

    Code:
    For Each obj In WebBrowser1.Document.GetElementsByTagName("input")
                If (obj.GetAttribute("name") = "email") Then
                    obj.Value = Text1.Text
                End If
                Next
    I'm writing my textbox(username) to login website e-mail area and..

    Code:
    For Each obj In WebBrowser1.Document.GetElementsByTagName("button")
                If (obj.GetAttribute("submit") = "login") Then
                    obj.click
                End If
                Next
    I'm sending login request. There is not a problem my textbox appear to web but when I click submit button textbox like dissapear like as no writen as..

    Attachment 137125Attachment 137127

    So I can't log in. How can I transfer correctly?

    ***There is html of login text;

    Code:
    <input class="abc" aria-describedby="" aria-label="E-mail" aria-required="true" autocapitalize="off" autocorrect="off" name="email" placeholder="E-mail" value="" type="text" data-reactid=".0.1.0.1.0.1.0.3.0">
    Last edited by erenagar; Apr 16th, 2016 at 09:37 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width