1. Open notepad
2. Copy paste below test code
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
3. Click file >Save As
name the file testvirus4. Select All Files for the file type
If your antivirus have auto-detect feature then it will pop-out a warning message as soon as you save the file.
or If it doesn't raise warning, try scanning the folder where you saved testvirus
CHECK THIS POST ALSO