Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IMACROS:
- VERSION BUILD=8820413 RECORDER=FX
- Chrome: Version 52.0.2743.116 m (64-bit)
- VERSION BUILD=8820413 RECORDER=FX
- SET !TIMEOUT_STEP 0
- '> Change extract_test_popup NO--> YES >For testing only. do not activated unneeded
- SET !EXTRACT_TEST_POPUP NO
- '> SET !SINGLESTEP YES >For testing only. do not activated unneeded
- '> SET !ERRORIGNORE YES >For testing only. do not activated unneeded
- 'Basic setup
- TAB T=1
- 'Rename website and datasource here.
- URL GOTO=https://app.wi.gov/LicenseSearch/
- SET !DATASOURCE Testnames.csv
- 'Change !loop 1 -> !loop 2 or 3 if your source has headers; sets which line the loop starts at.
- SET !LOOP 100
- 'no touchy
- SET !DATASOURCE_LINE {{!LOOP}}
- '> This step is made for my datasource and how it's written. Can be commented out if first names are first in your CSV.
- '> (On mine they were second, hence the hard-coded reversal)
- SET COL1 {{!COL2}}
- SET COL2 {{!COL1}}
- SET !ERRORIGNORE YES
- '> This is where the names are entered, the window must be close to maximized - working without error.
- EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>A" BUTTON=0
- EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>FORM>DIV>DIV:nth-of-type(2)>DIV>LABEL>INPUT" BUTTON=0
- EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>FORM>DIV>DIV:nth-of-type(2)>DIV>LABEL>INPUT" CHARS={{COL2}}
- EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>FORM>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>LABEL>INPUT" BUTTON=0
- EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>FORM>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>LABEL>INPUT" CHARS={{COL1}}
- EVENT TYPE=CLICK SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV>DIV:nth-of-type(2)>DIV>DL>DD>FORM>DIV>DIV:nth-of-type(4)>DIV>BUTTON" BUTTON=0
- '> Record selection happens here *needs fixing*
- TAG SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV:nth-of-type(3)>DIV:nth-of-type(2)>TABLE>TBODY>TR>TD:nth-of-type(3)>A"
- 'TAG XPATH="/html/body/div[3]/div[3]/div[2]/table/tbody/tr/td[3]/a"
- WAIT SECONDS=5
- "TAG SELECTOR="HTML>BODY>DIV:nth-of-type(3)>DIV:nth-of-type(3)>DIV:nth-of-type(2)>TABLE>TBODY>TR>TD:nth-of-type(3)>A"
- TAG XPATH="/html/body/div[3]/div[3]/div[2]/table/tbody/tr/td[3]/"
- Aardappel,Audrey
- Aasen,Mark
- Abban,Cynthia
- Abdel-Maguid,Amani
- Abdulal,Ghudran
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement