Salesforce

How Do I Test My Web Application? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

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.

Testing server applications

Prerequisite: Before you get started with working on web applications, you need to do the following:

  1. Make sure you have IIS services running on the machine you are working on.

  2. Make sure the scripts are installed (that Magic xpa was installed properly)

  3. 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.

  4. 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:

  1. Position the cursor on the program you want to test.

  2. 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.

Reference
Attachment 
Attachment