Upvote:3
No, you will not even be allowed to enter (at least not straightforwardly) Switzerland with a residence attestation.
If your long-stay D visa is still valid, you may enter Switzerland or other Schengen countries with that (assuming multi-entry).
Otherwise you need to ask for a return visa (visa de retour / RΓΌckreisevisa) from your cantonal authority.