drag_map
click //div[@class='olControlZoomToMaxExtentItemInactive']
storeValue //input[@name='mapScale'] startScale
store 300,150 mouseDownPos
store 400,50 mouseUpPos
store 0.00000 startLongitude
store 0.00000 startLatitude
store 0.00000 stopLongitude
store 0.00000 stopLatitude
mouseMoveAt //div[@id='mainMapPane'] ${mouseDownPos}
waitForValue //input[@name='longitude'] regexp:^.+$
assertValue //input[@name='longitude'] ${startLongitude}
assertValue //input[@name='latitude'] ${startLatitude}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']
click //div[@class='olControlDragPanItemInactive']
mouseDownAt //div[@id='mainMapPane'] ${mouseDownPos}
mouseUpAt //div[@id='mainMapPane'] ${mouseUpPos}
mouseMoveAt //div[@id='mainMapPane'] ${mouseDownPos}
waitForValue //input[@name='longitude'] regexp:^.+$
assertValue //input[@name='longitude'] ${stopLongitude}
assertValue //input[@name='latitude'] ${stopLatitude}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']
assertValue //input[@name='mapScale'] ${startScale}