Current time: 12-13-2017, 07:23 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook authentication
08-02-2012, 06:35 PM
Post: #1
Facebook authentication
Hi,

I've a question, is it possible to test a facebook application, who require to be authenticated on Facebook?

If the answer is yes, how can I do that?

Thanks in advance.
Find all posts by this user
Quote this message in a reply
08-03-2012, 12:53 AM
Post: #2
RE: Facebook authentication
It's possible using a script - https://sites.google.com/a/webpagetest.o.../scripting
Visit this user's website Find all posts by this user
Quote this message in a reply
08-03-2012, 11:24 PM
Post: #3
RE: Facebook authentication
Thanks for your answer Patrick. I'll check this documentation.
Find all posts by this user
Quote this message in a reply
08-04-2012, 01:01 AM
Post: #4
RE: Facebook authentication
Hummm, it's not working.
I've try with this script:

navigate http://www.facebook.com/index.php
setValue id=email myemail@hello.com
setValue id=pass mypassword
sendKeyDownAndWait ENTER


I think the problem is that facebook doesn't like the automatisation tools because the id of the connexion button is generated at each loading of the authentication page.

Maybe have you an idea to bypass it?
Find all posts by this user
Quote this message in a reply
08-04-2012, 01:07 AM
Post: #5
RE: Facebook authentication
instead of the sendKeyDownAndWait you should just:

submitForm login_form

You can also send clicks to the button but it doesn't actually HAVE an ID so you'd have to use a different selector (worst case, the innerHtml match will work).
Visit this user's website Find all posts by this user
Quote this message in a reply
08-06-2012, 07:04 PM
Post: #6
RE: Facebook authentication
Humm, with that:

navigate http://www.facebook.com/index.php
setValue id=email myemail@hello.com
setValue id=pass mypassword
submitForm login_form

I've the same issue, on the screenshot I can see, the email and the password who have been set but not validated...
Find all posts by this user
Quote this message in a reply
08-08-2012, 08:32 PM (This post was last modified: 08-09-2012 02:08 AM by Matthieu.)
Post: #7
RE: Facebook authentication
Sorry it's me. It works fine.

Thanks a lot Patrick Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)