Quality is delighting customers
Hello guys...Below is the descriptive code for gmail login but not able to run it...need help!
SystemUtil.Run"iexplore.exe", "www.gmail.com"
wait 10
Set OBrowser =Description.create
Set OPage= Description.Create
Set OButton =Description.Create
Set OUsername=Description.Create
Set OPassword=Description.Create
OBrowser("name").value = "Gmail: Email from Google"
OPage("title").value = "Gmail: Email from Google"
OUsername("html id").value="Email"
OUsername("name").value="Email"
OPassword("name").value="Password"
OPassword("html id").value="Password"
OButton("name").value = "Sign in"
OButton("html id").value="sign In"
OButton("x").value = "451"
Browser(OBrowser).page(OPage).WebEdit(OUsernamel).Set "dhanraj.gore1"
Browser(OBrowser).page(OPage).WebEdit(OPassword).SetSecure "123asdf123asdf"
Browser(OBrowser).page(OPage).Image(OButton).click
Tags:
Permalink Reply by Subbu on November 3, 2012 at 1:46pm This is not the way to send an email using any email.
Use COM to do it, google it for the same.
refer this article for more information on Logging into Gmail using different sets of user name password
Permalink Reply by Dhanraj on November 6, 2012 at 6:16pm
Permalink Reply by Subbu on November 8, 2012 at 9:37am Again, This is not the way to send email.
Why?
If GMail UI been changed then you will be in trouble (some maintenance required).
Solution:
Use GMAIL COM, I have code but kept somewhere, i will find it this week end and post here.
Happy Diwali.
Subbu.
Manager QA at IdeaS Revenue Optimization
© 2013 Created by Quality Testing.