QA: use API to protect page

Change-Id: I400c52e4bb102c85f8619717c10845b7448cd249
Merge "QA: use API to protect page"