[Vtigercrm-developers] Test Automation of Vtiger

Sutharsan J ajstharsan at gmail.com
Fri Jul 26 15:23:55 GMT 2024


Hi Tom

Nice to hear. I will do needful of a fork and let know

Thanks
Sutharsan Jeganathan

On Fri, Jul 26, 2024 at 12:17 AM Tom Brown <support at vtexperts.com> wrote:

> Sutharsan,
>
> That's a great idea. We are interested and would contribute.
>
>
> ---
>
> *Tom Brown* / Development Manager
> +1 (818) 495-5557 / tbrown at vtexperts.com
>
> *VTExperts*
> vtexperts.com
>
> The information transmitted, including attachments, is intended only for
> the person(s) or entity to which it is addressed and may contain
> confidential and/or privileged material. Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon
> this information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the sender and
> destroy any copies of this information.
>
>
> On Thu, Jul 11, 2024 at 4:15 AM Sutharsan J <ajstharsan at gmail.com> wrote:
>
>> Hi
>>
>> I may not be aware of any test automation available for vtiger CE.
>>
>> We recently started using CodeCeption to automate unit, function &
>> Acceptance testing.  Below is a code snippet from login acceptance.
>> Ofcourse, it needs more asserts.
>>
>> class VtigerLoginCest
>> {
>> /**
>> *
>> * @param AcceptanceTester $I
>> * @author Sutharsan Jeganthan (sutharsan at radus28.com)
>> * @internal Asserting vtiger login page
>> */
>> public function loginpage(AcceptanceTester $I)
>> {
>> $I->amOnPage('/');
>> $I->see('Password');
>> }
>>
>> /**
>> *
>> * @param AcceptanceTester $I
>> * @author Sutharsan Jeganthan (sutharsan at radus28.com)
>> * @internal Testing Sign in function of vtiger
>> */
>> public function signin(AcceptanceTester $I)
>> {
>> $I->amOnPage('/');
>> $I->fillField('username', 'admin');
>> $I->fillField('password', 'admin');
>> $I->click('Sign in');
>> $I->see('My Dashboard');
>> }
>>
>> /**
>> *
>> * @param AcceptanceTester $I
>> * @internal Asserting logout
>> */
>> public function signout(AcceptanceTester $I)
>> {
>> $I->amOnPage('/index.php?module=Users&action=Logout');
>> $I->see('Password');
>> }
>>
>> ...
>>
>> If there is no other solution, I am happy to start a fork if the
>> community is interested to contribute.
>>
>> Thanks
>> Sutharsan Jeganathan
>> --
>> Development Manager
>> Radus28 Software Solution
>> [image: Radus28 Software Solution]
>> 123, Level 2, Mc Larens Building
>> Baudhaloka Mw.
>> Colombo 04
>> Sri Lanka
>> M : +94773795291
>> E  : sutharsan at radus28.com
>> W : www.radus28.com
>> _______________________________________________
>> http://www.vtiger.com/
>
> _______________________________________________
> http://www.vtiger.com/



-- 
Development Manager
Radus28 Software Solution
[image: Radus28 Software Solution]
123, Level 2, Mc Larens Building
Baudhaloka Mw.
Colombo 04
Sri Lanka
M : +94773795291
E  : sutharsan at radus28.com
W : www.radus28.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20240726/4f4b4987/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_web.png
Type: image/png
Size: 15612 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20240726/4f4b4987/attachment-0001.png>


More information about the vtigercrm-developers mailing list