Windows 8.1 (64 bit)
Chrome 41.0.2272.89 (64 bit)
IE 11.0.9600.17690
I need to select a portion of page via a series of mouse clicks to "Select" an area of a map (based around center of screen). I can use DS but the page always appears to open a different size window and so the DS coordinates are not always landing in the center of the screen.
Is there a way interpret the window size and base my coordinates around that?
Also I don't know how to issue a Double Click command?
I am having the same problem on 2 separate sites but thought that I'd only show the code on one for simplicity:
Code: Select all
VERSION BUILD=10.3.27.5830
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://cityplan2014maps.brisbane.qld.gov.au/CityPlan/
'Set Variables
Set Suburb Bardon
Set Street Jubilee<SP>Terrace
Set StreetNumber 152
'Search for Property
TAG POS=2 TYPE=SPAN ATTR=TXT:Search
TAG POS=6 TYPE=INPUT:BUTTON ATTR=CLASS:dijitOffScreen
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:dijit_form_FilteringSelect_0
DS CMD=KEY CONTENT={{Suburb}}
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:dijit_form_FilteringSelect_1
DS CMD=KEY CONTENT={{Street}}
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:bcc_searchHouseNumber
DS CMD=KEY CONTENT={{StreetNumber}}
WAIT SECONDS=1
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:bccLocationSearch
WAIT SECONDS=5
'Property Report
TAG POS=1 TYPE=SPAN ATTR=ID:BCCPropReportReportButton_label
TAG POS=2 TYPE=INPUT:BUTTON ATTR=CLASS:dijitOffScreen
'I Need Help Here
SIZE X=992 Y=528
DS CMD=CLICK X=497 Y=302 CONTENT=
TAG POS=1 TYPE=A ATTR=TXT:here