Hi Goel ,
To my knowledge attended automation is where we need to provide certain inputs during its session. Unattended means no need to provide inputs , all are set using variables and parameters . And if you are using surface automatinm , then the application shld be visible and i dont think it will work in backgroud .
Someone please correct if i am wrong.
Warm Regards,
Amith