User Tools

Site Tools


tc-27

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tc-27 [2026/01/26 15:03]
216.73.216.128 old revision restored (2025/12/15 14:02)
— (current)
Line 1: Line 1:
-====== ProMiles SDK testing ====== 
- 
-===== Presetting ===== 
- 
-  ProMiles API is used by both Brokerage Dispatch and Truck Dispatch 
- 
-//Action:// Prepare new [[tc-11|Brokerage load]] and new [[tc-15|Truck load]] 
-   
-//Additional condition://  
-  * Stop dates must be today or later 
-  * Set their status to "Available" 
-===== ProMiles SDK activation check ===== 
- 
-//Action:// 
- 
-  * Open the "Brokerage Dispatch" form, look at the "Update miles" button and the "Mileage Utilities" menu. 
-  * Open the "Truck Dispatch" form, look at the "Calc 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 ===== 
- 
-{{ :system_setting_promiles_sdk_use_promiles_prime.png?direct&400 |}} 
-**Actions:** 
-  * Select System -> Setting -> ProMiles SDK (1) 
-  * Check the box "Use ProMiles Prime" (2) 
-  * Enter the correct key in the "ProMiles Prime API key" field (3) and close window 
-  * Reopen broker window //Be sure to close and open// 
-  * Select the load created for this test 
- 
-==== Check calculating miles ==== 
-  The check is carried out twice, for brokerage and and for Truck loading. 
- 
-=== Brokerage load === 
- 
-//Action:// Open the Broker load created in preparation for the test. Click "Update Miles" button  
- 
-//Expection:// 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" 
- 
-//Expection:// 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// 
- 
-//Action:// You need to add one more stop, repeat the calculation check 
- 
-//Expection:// The distance in the Miles field should increase. 
- 
-//Action:// Check it again on google map 
- 
-//Action:// Swap 2nd and 3rd stops 
- 
-//Expection:// The route should be built differently and the distance in the Miles field should change. 
- 
-//Action:// Check it again on google map 
- 
-=== Truck load === 
-Open the Truck load created in preparation for the test. 
- 
-Repeat all the steps as for the brokerage load, but the mileage calculation button here is called "Calc Miles" 
- 
-==== Check Quick Mile/Routing ==== 
-This function calls the same window both in the Brokerage Dispatcher and in the Truck Dispatcher, and therefore it is enough to check once 
- 
-//Action:// Select the "Mileage Utilities" menu -> "Quick Mile/Routing" 
-{{ :promiles_quick_milerouting.png?direct&400 |}}  
-//Expection:// The "Quick Mile/Routing" window will open. 
- 
-//Action:// It is necessary to fill in any of the "From..." fields and any of the "To..." fields. After that press "Run Miles" 
- 
-//Expection:// The "Miles" field should be filled with the calculated distance. 
-==== ProMiles Prime Radius Search Check ==== 
-=== Check in the Brokerage Dispatcher === 
-//Action:// Select the "Mileage Utilities" menu -> "ProMiles Prime Radius Search". 
- 
-//Expection:// A "Pro Miles Radius Search (Trucking)" window will appear. 
-{{ :brk_mileageutiletes_radius_search.png?direct&400 |}} 
- 
-//Action:// Enter the address in the "Location" field and press "Locate" 
- 
-//Excpection://  
-If the distance (4) from the specified address (2) to the last drop point (3) is less than the specified distance (1) 
-then (5): the data of all stop points will be copied into the grid and this distance will be entered in all rows (4) 
-=== Check in the Truck Dispatcher === 
- 
-//Action:// Select the "Mileage Utilities" menu -> "ProMiles Prime Radius Search". 
- 
-//Excpection:// A "Pro Miles Radius Search (Trucking)" window will appear. 
-{{ :trk_mileageutiletes_radius_search.png?direct&400 |}} 
-//Action:// Click "Locate" button 
-//Expection:// The message "Feature Not Activated, Pleace contact Dr.Dispatch Support About Pro Miles Radius Search" will appear 
-===== 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" 
- 
-//Excpection:// Miles field must by 0 
- 
-//Action:// Quick Mile/Routing 
- 
-//Excpectation:// Show error message {{ :brk_dispatch_mileageutiletes_error.png?direct&400 |}} 
- 
  
tc-27.1769432596.txt.gz ยท Last modified: 2026/01/26 15:03 by 216.73.216.128