[PAXEXAM-511] replaced deprecated APIs