Can a woman wear shorts and then an Abaya on top when praying?

As long as all the parts of the body apart from face and hands remain covered throughout the prayer, it would be fine