The present invention discloses a page testing method and apparatus. The method comprises: determining all URLschemes supported by a to-be-tested application, entering a specified test page of the to-be-tested application according to the URLSchemes, determining an operable control in the specified test page, and testing the operable control. According to the technical scheme of the present invention, the development of the UI automated testing business code can be effectively reduced, the UI automated testing return is more targeted, and bugs in the UI presentation layer can be initiatively discovered; and compared with other traversal algorithms, the technical scheme of the present invention solves the problems that the Monkey, depth-first traversal, and other methods are instable, traversal efficiency is low, initiative detection of UI bugs is lacked, the test page cannot be customized, and scripts are instable.