Test Case Creation for send email

Hello Everyone,

I need to create a test case for send email activity in GIVEN WHEN THEN format. What should come inside GIVEN sequence and THEN sequence

@Aarya_Sajeev ,

Looks like you are following the test case BDD framework and this has GIVEN , WHEN , THEN

In Given you can call the pre-requisite like Process Initialization , Variable set , credentials etc.

In When you can call the actual your component Process to send email .

Then you can verify the result of test case is success of fail .


Hi @Aarya_Sajeev
If you using REFrameworks means use InitAllSeting.xmal for getting mail credentials in Given stage, Send mail for When stage and use verification activity in then stage