PDA

View Full Version : demo of gmail using sencha test runner not working



bhartiTidake
4 Aug 2016, 10:52 PM
I am Trying Gmail demo with https://accounts.google.com/ this Url And The Test Case Is


describe("tet", function() {
it("should pass", function() {
ST.element('input[name="Email"]')
.focus()
.type('abc@gmail.com');
});
});


Bt This is not working it just load The url on browser selection and just saying loading test no test case pass or fail.
And Gmail textfield does not getting focus and not typeing the abc@gmail.com
It Is Not Having Any Effect On IT.
And No error Also.

mitchellsimoens
5 Aug 2016, 7:23 AM
This is likely the same issue as: https://www.sencha.com/forum/showthread.php?316197-Sencha-Test-Doc-s-Test-Existing-Application-Google-demo-not-working-with-sencha-test where it's the redirect that is breaking things.

bhartiTidake
7 Aug 2016, 9:23 PM
Thanks For Your Reply,

But google textfield not having emptyText set as "Enter Email Id" So it set the focus and type specified text.
About gmail textfield having emptyText.And my code is not setting focus also for email textfield.
So is i am missing something in code?


Thanks.

mitchellsimoens
8 Aug 2016, 4:47 AM
What I'm saying, when I go to https://accounts.google.com/ it does a redirect which the thread I linked to states that currently isn't supported.