Before you try your application in a client browser, you can test it in PowerBuilder by defining a main window that opens the child window.
To test your PowerBuilder window plug-in application:
Create a new window object whose type is main (the default).
Write a script for the Open event that opens the plug-in’s starting child window:
Open(w_child)
For convenience, you can set appropriate window sizes in the Window painter:
Make the main window large enough to display the child
Position the child window in the upper-left corner (use the Position fields in the Other tab of the Properties view)
Run the test window by clicking the Preview button or selecting File>Run/Preview.