zoom_map
click //div[@class='olControlZoomToMaxExtentItemInactive']
storeValue //input[@name='mapScale'] startScale
store 300,150 mouseZoomInDownPos
store 400,50 mouseZoomInUpPos
store 200,250 mouseZoomOutPos
store 0.00000 startLongitude
store 0.00000 startLatitude
store 30.00000 stopLongitude
store 30.00000 stopLatitude
store 10.00000 finalLongitude
store 10.00000 finalLatitude
mouseMoveAt //div[@id='mainMapPane'] ${mouseZoomInDownPos}
waitForValue //input[@name='longitude'] regexp:^.+$
assertValue //input[@name='longitude'] ${startLongitude}
assertValue //input[@name='latitude'] ${startLatitude}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']
click //div[@class='olControlZoomBoxItemInactive']
mouseDownAt //div[@id='mainMapPane'] ${mouseZoomInDownPos}
mouseUpAt //div[@id='mainMapPane'] ${mouseZoomInUpPos}
mouseMoveAt //div[@id='mainMapPane'] ${mouseZoomInDownPos}
waitForValue //input[@name='longitude'] regexp:^.+$
assertValue //input[@name='longitude'] ${stopLongitude}
assertValue //input[@name='latitude'] ${stopLatitude}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']
assertNotValue //input[@name='mapScale'] ${startScale}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']
click //div[@class='mbControlZoomOutItemInactive']
mouseDownAt //div[@id='mainMapPane'] ${mouseZoomOutPos}
mouseUpAt //div[@id='mainMapPane'] ${mouseZoomOutPos}
mouseMoveAt //div[@id='mainMapPane'] ${mouseZoomInDownPos}
waitForValue //input[@name='longitude'] regexp:^.+$
assertValue //input[@name='longitude'] ${finalLongitude}
assertValue //input[@name='latitude'] ${finalLatitude}
waitForElementPresent //div[@id='mainMapPane_OpenLayers_Container']