How Do I Test My Web Application? (Magic xpa 3.x)
When you are developing for the Web, you do not need a website or any special software to test your application. The Magic xpa engine can act as a server engine. There are a few steps involved, which are outlined below. You need to have some basic idea of how web services work.
Prerequisite: Before you get started with working on web applications, you need to do the following:
-
Make sure you have IIS services running on the machine you are working on.
-
Make sure the scripts are installed (that Magic xpa was installed properly)
-
In the Options->Environment->Server, set Activate as Enterprise Server to Yes. Exit out of your project, then restart it, if you needed to change this flag.
-
Start the Magic Broker (Start->Programs->Magic xpa->Broker->Start Broker).
Depending on how you installed Magic xpa, however, it may start automatically when you start Windows.
Now, when you want to test a specific program, all you have to do is:
-
Position the cursor on the program you want to test.
-
Select Debug->Run in Browser (Ctrl+Shift+F7).
Magic xpa will automatically open up a Browser window and run your program in it. You don’t need to set up a special link: it will be created automatically. Since you are running in Debug mode, you can have the activity monitor, variables, etc. open also, to help you in working on the application.