When testing task flows with page fragments, these task flows run within the default ADF EMG task flow tester page. However, to succesfully test your own task flows there might be situations where you need to create your own custom tester launch page. Typically, you need to create your own custom tester launch page when your task flows rely on one or more of the following definitions to be present in the surrounding web page:
Creating a custom tester launch page, is very easy because a task flowq tester page template is provided that includes all the functionality you need to run the task flow tester. All you need to do is to launch the New JSF Page dialog in JDeveloper, and then base the page on the ADF EMG Task Flow Tester page template as shown below.
You can now directly run this page allowing you to test your task flows with your own tester launch page which includes all the required definitions. To make things even easier, you can change the Task Flow Tester run configuration that has been added to the project to point to your custom tester launch page To do this go to Project properties -> Run/Debug/Profile. Then select the "Task Flow Tester" run configuration and click the edit icon. Using the Browse button you can change the Default Run Target to use your custom tester launch page.