10-13-2016, 01:08 AM
My tool pulls locations dynamically using getLocations.php and uses the location ID when submitting tests as the location. My team noticed that the list has changed in the last day or two. I was wondering how to fix my logic to accommodate this.
So what used to be
dulles: IE8
dulles: IE9
dulles: chrome
dulles: Firefox
etc
is now broken up into
dulles
dulles_IE8
dulles_IE9
Where dulles has "chrome, canary, firefox, etc" listed as browsers (that's why Dulles:Firefox is not on the list anymore)
Before, I would just take location and send in my runTest call:
&location=(location ID)
Is the way to fix this to get the ID, parse the browser list, and send location as:
(locationID) : (parsed browser name) ?
So what used to be
dulles: IE8
dulles: IE9
dulles: chrome
dulles: Firefox
etc
is now broken up into
dulles
dulles_IE8
dulles_IE9
Where dulles has "chrome, canary, firefox, etc" listed as browsers (that's why Dulles:Firefox is not on the list anymore)
Before, I would just take location and send in my runTest call:
&location=(location ID)
Is the way to fix this to get the ID, parse the browser list, and send location as:
(locationID) : (parsed browser name) ?