I am new to this forum and to selenium. I tried using selenium IDE to record and playback my gmail login. I used the following steps to login. 1. Directing to gmail.com from google.com 2. Enter my userName (NOTE: Since I already logged in many times using my userName to login in firefox, my userName starts displaying in dynamic list when I start typing correct first letter of my userName. I am selecting username from that dynamic list with either keyboard or mouse) 3. Then I enter my password and click on "Signin" button.
Doing this is generating the following scripts in Selenium IDE
Commands:
- (
command
)open (Target
)/ServiceLogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1<mpl=default<mplcache=2 - (
command
)type (Target
)id=Passwd (Value)XXXXXX - (
command
)clickAndWait (Target
)id=signIn
Since the above commands didnt record my userName, when I playback, its not getting logged-in with error "Enter your email address" in browser. I understood that since I am selecting userName from dynamic list, selenium is not recording the event. If I manually enter script for entering userName as (command)type (Target)id=Email (Value)XXXXXX and playback then its able login as expected.
Can anyone suggest me how to record selecting userName from dynamic list through Selenium IDE? I am only using Selenium IDE and No RC and web driver