How do you remove glass shower doors and railings on a bath tub?

I need to remove the two sliding glass doors (they ride on wheels on the top) and, if possible, the metal railings on the top,bottom, and sides. I have noticed the railings and support bars have a gummy glue-like substance, which I assume is to help seal it and keep it in place.

This is to make it easier to give my baby a bath in the tub. I don’t need the doors for now.

Any advice is appreciated. Thanks.