User Tools

Site Tools


tc-27

This is an old revision of the document!


ProMiles SDK testing

Presetting

Action: Prepare new load

Checking if ProMiles SDK is enabled

Action Open the “Brokerage Dispatch” form, look at the “Update miles” button and the “Mileage Utilities” menu.

Excpectation They must be inactive.

Action Remember their real state

Action: Open “System → Settings” menu

Expection: Form “Dr.Dispatch System Configuration” will open

Action: Select “ProMiles SDK” from the left column and look at the checkbox “Use ProMiles Prime”.

Check: If the checkbox is not checked, the “Update miles” button and the “Mileage Utilities” menu should be inactive.

If everything is correct - check the box, and proceed to the next step

Checking work with correct settings

Actions:

  • Enter the correct key in the “ProMiles Prime API key” field and close window
  • Reopen broker window Be sure to close and open
  • Select the load created for this test

Check calculating miles

Action: Click “Update Miles” button Expected: The length of the route must be calculated and the value entered in the field “miles”

An approximate check of the calculated value can be done by building a route in Google maps.

Action: Click on “show route” Expected: A Google map will open in the browser window with a built route from the first to the last point

The length of the route obtained on a Google map and calculated by “ProMiles” may differ slightly due to different principles for building a route for cars and trucks

Checking work with incorrect settings

Action: Do not fill in the “ProMiles Prime API key” field (or fill it with a random set of characters) and close window

Action: Reopen broker window Be sure to close and open

Action: Press “Update Miles”

Excpectation: Miles field must by 0

Action: Quick Mile/Routing

Excpectation: Show error message

tc-27.1762523014.txt.gz · Last modified: 2025/11/07 15:43 by 74.7.227.231