Hi,

Found the solution.
When calling a test case we should be having a test client which is
extended by BaseClient.
In the constructor of base client it calls the login method.
Which means inside the test case when we are initializing the test client,
login will happen.

On Fri, May 15, 2015 at 3:14 PM, Mahesh Chinthaka <[email protected]> wrote:

> Hi,
> In Appfactory Integration Tests, how can we login.
> Basically my requirement is, I have a block layer method to call, inside
> that method its checking whether user is logged in or not. How to make user
> logged in when it comes to this point.
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: [email protected] | Web: www.wso2.com
>



-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to