Using eValid for a Facebook logout

How to apply eValid to functional testing of web applications.

Using eValid for a Facebook logout

Postby JaimeS » Fri Jan 10, 2014 2:17 pm

Hey I was wondering how do I program a logout on Facebook?

Thanks
JaimeS
 
Posts: 1
Joined: Fri Jan 10, 2014 1:28 pm

Re: Using eValid for a Facebook logout

Postby eValid » Tue Jan 21, 2014 3:32 pm

JaimeS wrote:Hey I was wondering how do I program a logout on Facebook?

Thanks


Hiya:

Yes, sometimes Facebook (FB) moves the logout location around, making it difficult to know how to log out.

You have to send an event to the logout element on the page.

So you have to find the element number...then simply click on it and you're done.

Here's the sequence of commands...

IndexSet 0
IndexFindElement for the logout ID
IndexElementClick

You need to find the expected value of the element that says "logout" first, and you can do this with the eValid PageMap.

http://www.e-valid.com/Products/Documen ... p.gui.html

This makes constructing the IndexFindElement command easy, as described in this manual page:

http://www.e-valid.com/Products/Documen ... ement.html

--eValid Team
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons