Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: on the website there is same id textbox but when i am writing WebBrowse  (Read 6471 times)

0 Members and 1 Guest are viewing this topic.

sh4sh4

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    on the website there is same id textbox but when i am writing
            WebBrowser1.Document.All("username").SetAttribute("value", username)
    its writen different textbox with same id "username"

    <input name="username" id="username" type="text" class="user" autocomplete="off"
    placeholder="Kullanici Adi">

    i need to reach second field but i couldnt reach
    <input type="text" id="username" class="input4"
     autocomplete="off" name="username" value="" required=""
    data-required="" data-pattern="^[a-zA-Z][a-zA-Z0-9]+$"
    data-minlenght="6" data-maxlenght="12"
     onkeyup="clearNonAlphaNum(this)">

    please help me

    andrewSTT



      Newbie
      • Experience: Beginner
      • OS: Windows 10
      Hello

      Have you tried to change the
      Code: [Select]
      id of one of the inputs? Can't tell you for sure if it helps, but you need to try.

      Cheers
      Andrew
      Guy
      from Logan, Utah
      My Facebook;
      My affiliation:  Rensselaer Polytechnic Institute