tomohiroikoma / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 0 forks source link

Element not found Method - ID and value = Username #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am unable to input my username in the username filed once i get the login 
page 

it says  Element not found Method - ID and value = Username

Below is the snippet i have used

Public Sub TC001()
   Dim selenium As New SeleniumWrapper.WebDriver
   selenium.Start "chrome", "http://mnipdqaapp1.modeln.com:7003/modeln/app/launchPage.html?autoLaunch=true"
   selenium.Open "/"
   selenium.findElementById("userName").SendKeys "Administrator"
   selenium.stop
   Sheets(1).Range("A10").PasteSpecial       'Paste the screenshoot at range A10
End Sub

HTML source: I have attached the HTML source - Where we have the username and 
password as part of DIV content.

Original issue reported on code.google.com by chetas....@gmail.com on 24 Apr 2015 at 5:24

Attachments:

GoogleCodeExporter commented 8 years ago
Selenium wrapper 1.0.23.0

Original comment by chetas....@gmail.com on 24 Apr 2015 at 6:09