facebook - How to get text from gmail and paste that text in another tab using selenium web driver -
facebook - How to get text from gmail and paste that text in another tab using selenium web driver -
i have 1 test case like,when forget password in application facebook or myat&t site,i have click forget password link , come in email , click submit.after temporary password send email.my task that,to temporary password , switch old tab , paste text in temporary password text box.
is there solution this,please help me solve this.
thanks in advance,
santhosh
i'll never way want do. meaning, launching gmail , copying password browser. consumes more time , i'm not testing gmail. there 2 possible solutions can think of.
in regression environment, set password generated constant value if possible. , utilize same in test. in approach not testing "email send" mechanism of app, if not intent of test utilize approach. simple one. use email client library, available in languages (eg: http://stackoverflow.com/a/8293945/1520443). utilize assess password mail service sent gmail. facebook selenium-webdriver
Comments
Post a Comment