Jump to content

How can I interact with Xpath inside of a popover?


Go to solution Solved by Danp2,

Recommended Posts

Posted (edited)

I am using web driver and xpaths to automate chrome. 

I am able to edit everything I need to until I get these pop ups. Then when I try to find the xpath it act like it does not exist. 

This code below is working to find input fields on the main page of the site. But, if I try the same thing for ones in the popover it will not find it. 😕

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[substring(@id, string-length(@id) - string-length('_3') + 1 ) = '_3']")

    _WD_ElementAction($sSession, $sElement, 'value', "TEST")

Here is the html

popover.thumb.PNG.18dd21fbb559c4038be9ac473796a3d5.PNG

Any idea why it is not finding the element inside these pop overs?

 

 

HTML:

Spoiler
<div id="displayArea" style="cursor: default;">
        <div id="shadeDiv" class="shadeDiv" style="display: none;"></div>
        <div id="stateManagerMessage" style="display: none;">Loading...</div>
        <div id="reconnectMessage" style="display:none"></div>
    <div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: 480px; width: 640px; inset: 0px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">About MEDITECH Software</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="about" title="About MEDITECH Software">
    <h2>MEDITECH Health Care Information System</h2>
    <p>Copyright © <span class="copyright-year">2021</span> Medical Information Technology, Inc.</p>
    <p>If license and usage of the software is for benefit of a U.S. Government entity, MEDITECH provides this software with "RESTRICTED RIGHTS". Use, reproduction, or disclosure is subject to the restrictions in the MEDITECH license agreement.</p>
<h2>Other Credits</h2><textarea readonly="readonly" style="width: 90%; height: 150px;">Microsoft Foundation Classes version 6.0
Copyright © 1999 Microsoft Corporation
 
ObjectSet Mail SDK 1.0
Copyright © 1996 Smartcode Software, Inc.  
 
CHARTFX 3.0
Copyright © 1994 Software FX, Inc.
 
IMGDLL 3.4
by Smaller Animals Software
 
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
 
ZIP and County Code content provided
by © United States Postal Service
 
WHO Growth Charts

WHO child growth standards: head circumference-for-age,
arm circumference-for age,triceps skinfold-for-age and
subscapular skinfold-for-age: methods and developments.
© World Health Organization 2007
  
WHO child growth standards: growth velocity based on weight,
length and head circumference: methods and development.
© World Health Organization 2009
  
WHO child growth standards: length/height-for-age,
weight-for-age, weight-for-length, weight-for-height
and body mass index-for-age: methods and development.
© World Health Organization 2006

New Intrauterine Growth Curves Based on United States Data. Irene E. Olsen, Sue A. Groveman, M. Louise Lawson, Reese H. Clark and Babette S. Zemel. Pediatrics. 2010; 125; (2), e214. DOI: 10.1542/peds.2009-0913.

Reproduced with permission from Pediatrics, Growth Charts for Children With Down Syndrome in the United States, Nov 2015, 136(5) e1204-e1211; DOI: 10.1542/peds.2015-1652. Copyright ©by the AAP.

Fenton 2013 Preterm Growth Chart

Reproduced with permission from Pediatrics, BMI Curves for Preterm Infants, Mar 2015, 135(3) e572-e581; DOI: 10.1542/peds.2014-2777. Copyright ©by the AAP.</textarea></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: auto; width: 640px; inset: 119px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">Signon Info</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="wpl-signoninfo-container"><h1>Session</h1><table class="wpl-signoninfo-sessions"><tbody><tr class="wpl-signoninfo-sessionid"><td>Session ID</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-user"><td>Signon User</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-type"><td>Session Type</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-sessionopts"><td>Session Options</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-servername"><td>Server Name</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-rendermode"><td>Render Mode</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-webclient-version"><td>WebClient Version</td><td><input type="text" readonly="1"></td></tr></tbody></table><div class="wpl-signoninfo-processes"></div></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: auto; width: 640px; inset: 119px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">Signon Info</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="wpl-signoninfo-container"><h1>Session</h1><table class="wpl-signoninfo-sessions"><tbody><tr class="wpl-signoninfo-sessionid"><td>Session ID</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-user"><td>Signon User</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-type"><td>Session Type</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-sessionopts"><td>Session Options</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-servername"><td>Server Name</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-rendermode"><td>Render Mode</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-webclient-version"><td>WebClient Version</td><td><input type="text" readonly="1"></td></tr></tbody></table><div class="wpl-signoninfo-processes"></div></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wplLayer pweb" style="position: absolute; z-index: 1; overflow: hidden; height: 100%; width: 100%; box-sizing: border-box; top: 0px; left: 0px;"><div id="shadeDiv-p82ac-l0" class="shadeDiv" style="display: none;"></div><div style="position:absolute;bottom:0;left:0;right:0;top:0;" class="pweb pweb-w11" id="pwebMain-8hY"><div id="z8hY_3" class="innerdoc navcomp navroot baselayer covered-layer" style="z-index: 0" data-navcomp-type="layer"><div id="z8hY_4" class="hidden"></div><div id="z8hY_5" class="regioncontainer s_2"><div id="z8hY_6" class="navcomp s_3"><div id="z8hY_7" class="s_4 navcomp pn-region"><div id="x8hY_8" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_8-pn" class="comp-g pn pn-s horiz s_5" style="width: 100%;"><div id="x8hY_8-0" class="pn-i  s_6" style="height: 100%; width: 100%;"><div id="x8hY_9" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_7" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_9-0" class="pn-i pn-i-flex a-flex s_8"><div id="x8hY_A" class="comp comp-g navcomp  scalable img-c img-cc s_9" style="height: 60px;"><img id="x8hY_A-imgI" class="img-cg auto-width link navitem link" tabindex="0" name="img-PatientPicture" src="Pub/Web/Icon/NoImageAvailableLarge.png" alt="pat.image" title="pat.image"></div></div><div id="x8hY_9-1" class="pn-i pn-i-flex s_10" style="width: 0.5%;"><span class="s_11">&nbsp;</span></div><div id="x8hY_9-2" class="pn-i pn-i-flex a-flex s_8" style="width: 60%;"><div id="x8hY_B" class="comp comp-g navcomp pn pn-c pn-flop vert s_9" style="width: 100%;"><div id="x8hY_B-0" class="pn-i pn-i-flop"><div id="x8hY_C" class="comp comp-g navcomp pn pn-c pn-flow"><div id="x8hY_C-0-0" class="pn-i pn-i-flow"><span class="s_11">&nbsp;</span></div><div id="x8hY_C-1-0" class="pn-i pn-i-flow"><span class="s_11">&nbsp;</span></div></div></div><div id="x8hY_B-1" class="pn-i pn-i-flop"><div id="x8hY_D" class="comp comp-g navcomp horiz pn pn-c pn-s"><div id="x8hY_E" class="comp comp-g navcomp pn pn-c pn-flow"></div></div></div></div></div><div id="x8hY_9-3" class="pn-i pn-i-flex s_12 rf" style="min-width: 0ex;"></div><div id="x8hY_9-4" class="pn-i pn-i-flex a-flex s_8" style="width: 20%;"><div id="x8hY_F" class="flowcomp comp navcomp s_13"><span class="s_13"><span class="s_14">PCP: </span><span class="s_15"></span></span></div></div><div id="x8hY_9-5" class="pn-i pn-i-flex a-flex s_8" style="width: 16%;"><div id="x8hY_G" class="flowcomp comp navcomp s_13"><span class="s_13"><span>&nbsp;</span></span></div></div></div></div></div></div></div></div><div id="z8hY_H" class="navcomp s_16" style="height: 168px;"><div id="z8hY_I" class="s_17 navcomp pn-region"><div id="x8hY_J" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_J-0" class="pn-i pn-i-flex a-flex s_18" style="min-height: 3em;"><div id="x8hY_K" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_19" style="width: 94%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_K-0" class="pn-i pn-i-flex a-flex s_20 rf" style="height: 2em; width: 2.5ex;"><div id="x8hY_L" class="comp navcomp sc-n pn-c s_21" data-evt="C"><div id="x8hY_L-pn" class="comp-g pn pn-flex vert link navitem s_9" tabindex="0"><div id="x8hY_L-0" class="pn-i pn-i-flex a-flex s_22"><div id="x8hY_M" class="comp comp-g navcomp svg-cmp s_23"><div id="x8hY_M-dv" class="svg" data-src="Pub/Web/Icon/arrowCircle.svg" data-alt="Refresh" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_M-svg" class="persistent"><title>Refresh</title><g id="arrowCircle"><path d="M17.33,16.53A7,7,0,1,1,17.77,8L19.2,6.61a9,9,0,1,0-.45,11.33Z" fill="#616161"></path><polygon id="arrowHeadPath" points="21 10 14 10 21 3 21 10" fill="#616161"></polygon></g></svg></div></div></div></div></div></div><div id="x8hY_K-1" class="pn-i pn-i-flex s_10" style="width: 1%;"><div id="x8hY_N" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_K-2" class="pn-i pn-i-flex a-flex s_22" style="width: 90%;"><div id="x8hY_O" class="flowcomp comp navcomp s_24"><span class="s_24"><span id="x8hY_O-m1" data-evt="C" class="link navitem s_25" tabindex="0">Book</span><span id="x8hY_O-m2" data-evt="C" class="link navitem s_25" tabindex="0">Walk In</span><span id="x8hY_O-m3" data-evt="C" class="link navitem s_25" tabindex="0">Sch Mtg</span><span id="x8hY_O-m4" data-evt="C" class="link navitem s_25" tabindex="0">Non Clin Visit</span><span id="x8hY_O-m5" data-evt="C" class="link navitem s_25" tabindex="0">Manage Groups</span></span></div></div></div></div><div id="x8hY_J-1" class="pn-i pn-i-flex s_26" style="height: 3.5em;"><div id="x8hY_P" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_Q" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_Q-0" class="pn-i pn-i-flex a-flex s_8" style="height: 100%; width: 8%; max-width: 5ex;"><div id="x8hY_R" class="comp comp-g navcomp pn pn-c pn-flex vert s_27" style="height: 100%; width: 100%;"><div id="x8hY_R-1" class="pn-i pn-i-flex a-flex s_22 link navitem" style="height: 100%; width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_S" class="comp comp-g navcomp svg-cmp s_23"><div id="x8hY_S-dv" class="svg" data-src="Pub/Web/Icon/collapseAll.svg" data-alt="Collapse All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_S-svg" class="persistent"><title>Collapse All</title><g id="collapseAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 14 14 17 10 17 10 14 7 14 12 9 17 14 14 14" fill="#616161"></polygon></g></svg></div></div></div></div></div><div id="x8hY_Q-1" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_T" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_Q-2" class="pn-i pn-i-flex a-flex s_28 rf" style="min-width: 0ex;"><div id="x8hY_U" class="comp comp-g navcomp horiz pn pn-c pn-flex s_23" style="height: 100%; width: 100%;"><div id="x8hY_U-0" class="pn-i pn-i-flex a-flex s_22" style="width: 100%;"><div id="x8hY_V" class="flowcomp comp navcomp s_24"><span class="s_29"><span>All Facilities</span></span></div></div></div></div><div id="x8hY_Q-3" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_W" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_Q-4" class="pn-i pn-i-flex a-flex s_30" style="width: 22%;"><div id="x8hY_X" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_31" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_X-0" class="pn-i pn-i-flex s_12 rf" style="min-width: 0ex;"><div id="x8hY_Y" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_X-1" class="pn-i pn-i-flex s_10" style="width: 8ex;"><div id="x8hY_Z" class="comp comp-g navcomp pn pn-c pn-flex vert" style="height: 100%; width: 100%;"><div id="x8hY_Z-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%; width: 100%;"><div id="x8hY_a" class="comp comp-g navcomp pn pn-c pn-flex vert s_23" style="height: 100%; width: 100%;"><div id="x8hY_a-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%; width: 100%;"><div id="x8hY_b" class="comp navcomp sc-n pn-c s_32" data-evt="C"><div id="x8hY_b-pn" class="comp-g pn pn-flex vert link navitem s_23" style="width: 100%;" tabindex="0"><div id="x8hY_b-0" class="pn-i pn-i-flex a-flex s_33"><div class="comp lh0 s_24"><span class="s_34">Filter</span></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_Q-5" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_c" style="height: 1.5em;" class="comp"></div></div></div></div></div><div id="x8hY_J-2" class="pn-i pn-i-flex s_35 rf rf-fix" style="min-height: 0em;"><div id="x8hY_J-2-rf-fix" class="rf-fix-child"><div id="x8hY_d" class="pn-c navcomp s_36"><div id="x8hY_d-sc" class="pn-w scrollable-wrapper preserve-scroll touch-scroll-off" style="height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden;" data-scrollname="2ed7cbf0f59e81348d0dc783e0c3bc79"><div id="x8hY_d-pn" class="pn scrollable-detail pn-s vert s_37"><div id="x8hY_d-3" class="pn-i " style="width: 100%;"><div id="x8hY_e" class="comp comp-g navcomp horiz pn pn-c pn-s" style="width: 100%;"><span class="s_38">Loading...</span></div></div></div></div></div></div></div></div></div><div id="z8hY_f" class="navcomp s_39"><div id="z8hY_g" class="s_40 navcomp pn-region"><div id="x8hY_h" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_h-pn" class="comp-g pn pn-flex horiz afterResize s_41" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_h-0" class="pn-i pn-i-flex a-flex s_22" style="width: 40ex;"><div id="x8hY_i" class="comp comp-g navcomp pn pn-c pn-flex vert s_42" style="height: 2.5em; width: 100%;"><div id="x8hY_i-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%;"><div id="x8hY_j" class="comp navcomp sc-n pn-c s_32 persistent-data" style="height: 100%;"><div id="x8hY_j-pn" class="comp-g pn pn-flex horiz s_43"><div class="pn-i pn-i-flex a-flex s_44" style="height: 100%;"><div id="x8hY_k" class="comp navcomp sc-n pn-c s_45" style="height: 100%;"><div id="x8hY_k-pn" class="comp-g pn pn-flex horiz s_46"><div id="x8hY_k-0" class="pn-i pn-i-flex a-flex s_47 link navitem" style="height: 100%; width: 15ex;" tabindex="0" data-evt="C"><div class="comp lh0 s_24"><span class="s_48">Patient Data</span></div></div></div></div></div><div class="pn-i pn-i-flex a-flex s_44" style="height: 100%;"><div id="x8hY_l" class="comp comp-g navcomp horiz pn pn-c pn-flex s_49" style="height: 100%;"><div id="x8hY_l-0" class="pn-i pn-i-flex a-flex s_50" style="height: 100%; width: 15ex;"><div class="comp lh0 s_24"><span class="s_48">Visit Data</span></div></div></div></div></div></div></div></div></div><div id="x8hY_h-1" class="pn-i pn-i-flex a-flex s_44"><div id="x8hY_o" class="flowcomp comp navcomp s_51"><span class="s_51"><span class="s_52">No Med Rec Num</span></span></div></div><div id="x8hY_h-2" class="pn-i pn-i-flex a-flex s_53 link navitem rf" style="min-width: 0ex;" tabindex="0" data-evt="C"><div id="x8hY_p" class="comp comp-g navcomp svg-cmp s_31"><div id="x8hY_p-dv" class="svg" data-src="Pub/Web/Icon/expandAll.svg" data-alt="Expand All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_p-svg" class="persistent"><title>Expand All</title><g id="expandAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 13 14 10 10 10 10 13 7 13 12 18 17 13 14 13" fill="#616161"></polygon></g></svg></div></div></div><div id="x8hY_h-3" class="pn-i pn-i-flex a-flex s_30 link navitem" tabindex="0" data-evt="C"><div id="x8hY_q" class="comp comp-g navcomp svg-cmp s_31"><div id="x8hY_q-dv" class="svg" data-src="Pub/Web/Icon/collapseAll.svg" data-alt="Collapse All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_q-svg" class="persistent"><title>Collapse All</title><g id="collapseAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 14 14 17 10 17 10 14 7 14 12 9 17 14 14 14" fill="#616161"></polygon></g></svg></div></div></div></div></div></div><div id="z8hY_r" class="s_54 navcomp pn-region"><div id="x8hY_s" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_s-0" class="pn-i  s_55" style="height: 100%; width: 100%;"><span class="s_11">Loading...</span></div></div></div></div></div></div><div id="y8hY_u" data-state="{&quot;indicators&quot;:[],&quot;missing&quot;:[],&quot;missingHidden&quot;:[],&quot;missingCompIds&quot;:[],&quot;requiredHidden&quot;:[[]]}" data-after-update="Pweb.ui.required.updateState" class="compstate afterUpdate"></div><div id="tooltip" class="tooltip-defaultstyles suppresshovertext"></div></div><iframe id="HiddenIFrame-8hY" name="HiddenIFrame-8hY" title="empty" style="display:none;height:0;width:0;border:none;" nuan_newframe="true"></iframe><div id="cubby-storage-8hY" class="offscreen"></div><div id="secondary-buffer-8hY" class="secondary-buffer offscreen" style="height: 100%; width: 100%"></div><div id="sizeless-buffer-8hY" class="sizeless-buffer offscreen"></div><div id="fastdom-buffer-8hY" class="fastdom-buffer offscreen"></div><div id="popovershell0-shader" style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 1; background-color: rgb(0, 0, 0); opacity: 0.45;"></div><div id="popovershell0-outer" name="popover" class="layer-container" style="position: absolute; z-index: 2; top: 29.5px; left: 143.5px;"><div id="popovershell0-inner" class="popover-shell s_147" style="width: 1631px; height: 177px; background-color: white; box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px; margin: 0px;"><div id="popover-layer-1-8hY" class="child-outerdoc" style=""><div id="z8hY_10" class="innerdoc navcomp navroot" style="z-index: 0" data-navcomp-type="layer" data-outside-click-link="./000000000000lvmgr6.mthd"><div id="z8hY_11" class="hidden"></div><div id="z8hY_12" class="regioncontainer s_56"><div id="z8hY_13" class="s_57 navcomp pn-region"><div id="x8hY_14" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert s_58" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_14-0" class="pn-i pn-i-flex a-flex s_59" style="height: 5.6em;"><div id="x8hY_15" class="comp comp-g navcomp pn pn-c pn-s vert s_60" style="height: 100%; width: 100%;"><div id="x8hY_16" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_16-pn" class="comp-g pn pn-flex horiz afterResize s_61" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_16-1" class="pn-i pn-i-flex a-flex s_62 rf" style="height: 100%; min-width: 0ex;"><div id="x8hY_17" class="comp comp-g navcomp pn pn-c pn-flex vert s_63" style="width: 100%;"><div id="x8hY_17-0" class="pn-i pn-i-flex a-flex s_64"><div class="comp no-wrap-comp lh0 s_65"><span class="s_66 no-wrap rclick">Patient Search by Best Match</span></div></div></div></div><div id="x8hY_16-2" class="pn-i pn-i-flex s_67" style="height: 100%; width: 5ex;"><div id="x8hY_18" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_16-3" class="pn-i pn-i-flex a-flex s_68" style="height: 100%;"><div id="x8hY_19" class="comp comp-g navcomp horiz pn pn-c pn-flex s_69 persistent-data"><div id="y8hY_1A" class="pn-i pn-i-flex s_67 link navitem" tabindex="0" data-evt="C"><div id="x8hY_1B" class="comp comp-g navcomp pn pn-c pn-flex vert s_70"><div id="x8hY_1B-0" class="pn-i pn-i-flex a-flex s_71" style="height: 2.25em;"><div id="x8hY_1C" class="comp navcomp lh0 s_72"><span id="x8hY_1C-s" class="s_73 s-text">Close</span></div></div></div></div></div></div></div></div></div></div><div id="x8hY_14-4" class="pn-i pn-i-flex s_74 rf rf-fix" style="min-height: 0em;"><div id="x8hY_14-4-rf-fix" class="rf-fix-child"><div id="x8hY_1F" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1F-1" class="pn-i pn-i-flex s_75" style="height: 100%; width: 100%;"><div id="x8hY_1G" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_1H" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_1I" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1I-0" class="pn-i pn-i-flex s_67" style="width: 25%;"><div id="x8hY_1J" class="pn-c navcomp s_76"><div id="x8hY_1J-sc" class="pn-w scrollable-wrapper preserve-scroll" style="height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden;" data-scrollname="fc023c645838b11d41b9772db58a640c"><div id="x8hY_1J-pn" class="pn scrollable-detail pn-s vert s_77"><div id="x8hY_1J-0" class="pn-i " style="width: 100%;"><div id="x8hY_1K" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1K-0" class="pn-i pn-i-flex s_67" style="width: 1ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1K-1" class="pn-i pn-i-flex s_79 rf" style="width: 20ex;"><div id="x8hY_1L" class="comp comp-g navcomp pn pn-c pn-flop vert" style="width: 100%;"><div id="x8hY_1L-0" class="pn-i pn-i-flop" style="height: 0.25em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1L-1" class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_1M" class="comp comp-g navcomp pn pn-c pn-flop vert persistent-data" style="width: 100%;"><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_1N" class="comp navcomp sc-n pn-c"><div id="x8hY_1N-pn" class="comp-g pn pn-flop vert s_80" style="width: 100%;"><div id="x8hY_1N-0" class="pn-i pn-i-flop"><div id="x8hY_1O" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_1O-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_1P" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1P-1" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_1Q" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_1Q-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronDown" src="Pub/Web/Icon/chevron_black_open-12x12@1x.png" alt="Down" title="Down"></div></div><div id="x8hY_1P-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Best Match</span></div></div><div id="x8hY_1P-3" class="pn-i pn-i-flex a-flex s_68" style="width: 14ex;"><div id="x8hY_1R" class="comp comp-g navcomp horiz pn pn-c pn-flex s_69"><div id="x8hY_1R-0" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_1S" class="comp comp-g navcomp pn pn-c pn-s vert s_84" style="height: 100%;"><div id="x8hY_1S-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_1T" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_1T-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_1U" class="comp navcomp lh0 s_72"><span id="x8hY_1U-s" class="s_87 s-text">&nbsp;&nbsp;Search&nbsp;&nbsp;</span></div></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_1N-1" class="pn-i pn-i-flop"><div id="x8hY_1V" class="comp comp-g navcomp pn pn-c pn-flex vert" style="width: 100%;"><div id="x8hY_1V-0" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1V-1" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1W" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 afterUpdate afterInnerUpdate beforeUpdate persistent-data" data-after-update="Pweb.comp.recordTable.afterUpdate_" data-before-update="Pweb.comp.recordTable.beforeUpdate_" data-after-inner-update="Pweb.comp.recordTable.afterUpdate_" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1W-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1W-labels"><td id="y8hY_1X" class="s_92 rtlabelcell labelcolumn0 reqindicator" data-req-scope="#x8hY_1W .column0"><label id="y8hY_1X-l" style="" class="">LAST NAME</label></td></tr></tbody></table><div id="x8hY_1W-sc" class="s_100 rtscrollbody"><table id="x8hY_1W-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1Y" class="rtrow">  <td id="y8hY_1Z" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1a" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_1" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_11" value="Mitchell" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000mk94fr.mthd" aria-labelledby="y8hY_1X"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-2" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1d" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1d-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1d-labels"><td id="y8hY_1e" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1e-l" style="" class="">FIRST NAME</label></td></tr></tbody></table><div id="x8hY_1d-sc" class="s_100 rtscrollbody"><table id="x8hY_1d-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1f" class="rtrow">  <td id="y8hY_1g" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1h" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_2" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_12" value="Vaughn" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000ng6ny2.mthd" aria-labelledby="y8hY_1e"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-3" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1k" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1k-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1k-labels"><td id="y8hY_1l" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1l-l" style="" class="">MIDDLE NAME</label></td></tr></tbody></table><div id="x8hY_1k-sc" class="s_100 rtscrollbody"><table id="x8hY_1k-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1m" class="rtrow">  <td id="y8hY_1n" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1o" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_3" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_13" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000o3ihg5.mthd" aria-labelledby="y8hY_1l"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-4" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1r" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1r-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1r-labels"><td id="y8hY_1s" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1s-l" style="" class="">BIRTHDATE</label></td></tr></tbody></table><div id="x8hY_1r-sc" class="s_100 rtscrollbody"><table id="x8hY_1r-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1t" class="rtrow">  <td id="y8hY_1u" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1v" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_4" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_14" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000pe7jzz.mthd" aria-labelledby="y8hY_1s"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-5" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1y" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1y-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1y-labels"><td id="y8hY_1z" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1z-l" style="" class="">AGE</label></td></tr></tbody></table><div id="x8hY_1y-sc" class="s_100 rtscrollbody"><table id="x8hY_1y-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_20" class="rtrow">  <td id="y8hY_21" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_22" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_5" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_15" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000q4nk67.mthd" aria-labelledby="y8hY_1z"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-6" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_25" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_25-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_25-labels"><td id="y8hY_26" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_26-l" style="" class="">BIRTH SEX</label></td></tr></tbody></table><div id="x8hY_25-sc" class="s_100 rtscrollbody"><table id="x8hY_25-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_27" class="rtrow">  <td id="y8hY_28" class="rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_29" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle s_97 s_98"><input id="in8hY_6" type="text" spellcheck="false" autocomplete="off" style="box-sizing: border-box; width: 100%; vertical-align: top; color: inherit;" name="in8hY_16" class="navitem s_95 navfocus" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000rf45xt.mthd" aria-labelledby="y8hY_26"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-7" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2C" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2C-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2C-labels"><td id="y8hY_2D" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2D-l" style="" class="">SOC SEC NUMBER</label></td></tr></tbody></table><div id="x8hY_2C-sc" class="s_100 rtscrollbody"><table id="x8hY_2C-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2E" class="rtrow">  <td id="y8hY_2F" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_2G" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_7" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_17" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000sboyjm.mthd" aria-labelledby="y8hY_2D"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-8" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2J" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2J-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2J-labels"><td id="y8hY_2K" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2K-l" style="" class="">PHONE</label></td></tr></tbody></table><div id="x8hY_2J-sc" class="s_100 rtscrollbody"><table id="x8hY_2J-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2L" class="rtrow">  <td id="y8hY_2M" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_2N" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_8" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_18" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000t91vel.mthd" aria-labelledby="y8hY_2K"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-9" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2Q" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2Q-t" class="s_103 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2Q-labels"><td id="y8hY_2R" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2R-l" style="" class="">POLICY NUM</label></td></tr></tbody></table><div id="x8hY_2Q-sc" class="s_100 rtscrollbody"><table id="x8hY_2Q-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2S" class="rtrow">  <td id="y8hY_2T" class=" rtcell column0">  <div class="s_99"><div id="x8hY_2U" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_9" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_19" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000uxlsm4.mthd" aria-labelledby="y8hY_2R"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-10" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2X" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2X-t" class="s_103 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2X-labels"><td id="y8hY_2Y" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2Y-l" style="" class="">EMAIL</label></td></tr></tbody></table><div id="x8hY_2X-sc" class="s_100 rtscrollbody"><table id="x8hY_2X-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2Z" class="rtrow">  <td id="y8hY_2a" class=" rtcell column0">  <div class="s_99"><div id="x8hY_2b" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_10" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_20" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000vjvyn2.mthd" aria-labelledby="y8hY_2Y"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-11" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1V-12" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_2e" class="comp comp-g navcomp horiz pn pn-c pn-flex s_82"><div id="x8hY_2e-0" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_2f" class="comp comp-g navcomp pn pn-c pn-s vert s_84" style="height: 100%;"><div id="x8hY_2f-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_2g" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_2g-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_2h" class="comp navcomp lh0 s_72"><span id="x8hY_2h-s" class="s_87 s-text">&nbsp;&nbsp;Search&nbsp;&nbsp;</span></div></div></div></div></div></div></div></div><div id="x8hY_1V-13" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2i" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2j" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2j-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2k" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2k-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2l" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2l-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2k-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Med Rec Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2m" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2n" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2n-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2o" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2o-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2p" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2p-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2o-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">EMR Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2q" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2r" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2r-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2s" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2s-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2t" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2t-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2s-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">OV ID Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2u" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2v" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2v-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2w" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2w-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2x" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2x-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2w-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Account Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2y" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2z" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2z-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_30" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_30-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_31" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_31-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_30-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">MPM Enc Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_32" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_33" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_33-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_34" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_34-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_35" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_35-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_34-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">5.x EMR Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_36" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_37" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_37-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_38" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_38-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_39" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_39-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_38-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">CSID</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_3A" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_3B" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_3B-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_3C" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_3C-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_3D" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_3D-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_3C-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Accessed</span></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_1K-2" class="pn-i pn-i-flex s_67" style="width: 1ex;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div></div><div id="x8hY_1I-1" class="pn-i pn-i-flex s_104 rf" style="min-width: 0ex;"><div id="x8hY_3G" class="comp comp-g navcomp pn pn-c pn-flex vert s_105" style="height: 100%; width: 100%;"><div id="x8hY_3G-0" class="pn-i pn-i-flex s_67" style="height: 1%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3G-1" class="pn-i pn-i-flex a-flex s_81" style="height: 98%; width: 100%;"><div id="x8hY_3H" class="comp comp-g navcomp horiz pn pn-c pn-flex s_82" style="height: 100%; width: 100%;"><div id="x8hY_3H-0" class="pn-i pn-i-flex s_67" style="width: 1%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3H-1" class="pn-i pn-i-flex s_106" style="height: 97%; width: 96%;"><div id="x8hY_3I" class="comp comp-g navcomp pn pn-c pn-flex vert" style="height: 100%; width: 100%;"><div id="x8hY_3I-0" class="pn-i pn-i-flex s_67" style="height: 86%; width: 100%;"><div id="x8hY_3J" class="comp rttable navcomp rtflex s_107 s_108 s_109 s_110 s_111 s_112 s_113 s_114 s_115 s_116 s_117 s_118 s_119 s_121 s_122 s_123 s_124 s_125 s_142 afterResize persistent-data" data-after-resize="Pweb.comp.recordTable.afterResize_" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_3J-t" class="s_141 recordtable" data-last-label-spanned-widths="5.51%" data-last-label-initial-width="5.51%" data-column-count="5" data-render-type="TM" data-registered-events="select"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"><col class="labelcol1"><col class="labelcol2"><col class="labelcol3"><col class="labelcol4"><col class="labelscrollcol"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_3J-labels"><td id="y8hY_3K" class=" rtlabelcell labelcolumn0" style="border-top: none; border-left: none; border-top-left-radius: inherit; border-bottom-left-radius: inherit;"><label id="y8hY_3K-l" style="" class="">&nbsp;</label></td><td id="y8hY_3L" class="s_120 rtlabelcell labelcolumn1" style="border-top: none;"><label id="y8hY_3L-l" style="" class="">Name</label></td><td id="y8hY_3M" class="s_120 rtlabelcell labelcolumn2" style="border-top: none;"><label id="y8hY_3M-l" style="" class="">DOB &amp; Birth Sex</label></td><td id="y8hY_3N" class="s_120 rtlabelcell labelcolumn3" style="border-top: none;"><label id="y8hY_3N-l" style="" class="">Address &amp; PCP</label></td><td id="y8hY_3O" class=" rtlabelcell labelcolumn4" colspan="2" data-colspan="1" style="border-top: none; border-top-right-radius: inherit; border-bottom-right-radius: inherit;"><label id="y8hY_3O-l" style="" class="">&nbsp;</label></td></tr></tbody></table><div id="x8hY_3J-sc" class="s_140 rtscrollbody" style="overflow-y: scroll;"><table id="x8hY_3J-bd" class="rtbody">  <colgroup><col class="col0"><col class="col1"><col class="col2"><col class="col3"><col class="col4"></colgroup>  <tbody>  <tr id="y8hY_3P-begin" class="hidden"></tr><tr id="x8hY_3J-sc-sevt" class="hidden inc-scroll persistent" data-listen-inc-scroll="true"></tr><tr id="y8hY_3Q" class="rtrow navcomp persistent selected" data-navcomp-type="recordtablerow" style=""><td id="y8hY_3S" class="s_132 rtcell column0 link" data-evt="C" style="border-left: none;"><div class="s_133"><div id="x8hY_3T" class="flowcomp comp navcomp s_65"><span class="s_65"><img class="scalable" src="Pub/Web/Icon/PlaceHolderMan.png" style="height: 60px; "></span></div></div></td><td id="y8hY_3U" class="s_134 rtcell column1 link" data-evt="C"><div class="s_133"><div id="x8hY_3V" class="flowcomp comp navcomp s_65"><span class="s_126"><span id="x8hY_3V-m6" class="link navitem s_127" tabindex="0">Mitchell,Vaughn Allen</span><span>&nbsp;</span></span></div></div></td><td id="y8hY_3W" class="s_135 rtcell column2"><div class="s_133"><div id="x8hY_3X" class="flowcomp comp navcomp"><span class="s_128">10/06/1989</span><span class="s_128"> M</span><br><span class="s_129"></span></div></div></td><td id="y8hY_3Y" class="s_135 rtcell column3"><div class="s_133"><div id="x8hY_3Z" class="flowcomp comp navcomp"><span class="s_128">123 Applet St</span><br><span class="s_130">PCP: </span><span class="s_131">Health,Avera</span></div></div></td><td id="y8hY_3a" class="s_136 rtcell column4"><div class="s_133"><div id="x8hY_3b" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_3b-imgI" class="img-cg auto-width auto-height auto-both link navitem link" tabindex="0" name="img-MoreInfoImage" src="Pub/Web/Icon/infoSmall.png" alt="More Info" title="More Info"></div></div></td></tr><tr id="y8hY_3R" class="rtrow navcomp persistent" data-navcomp-type="recordtablerow"><td id="y8hY_3c" class="s_137 rtcell column0 link" data-evt="C" style="border-left: none; border-bottom-left-radius: inherit;"><div class="s_99"><div id="x8hY_3d" class="flowcomp comp navcomp s_65"><span class="s_65"><img class="scalable" src="Pub/Web/Icon/PlaceHolderMan.png" style="height: 60px; "></span></div></div></td><td id="y8hY_3e" class="s_138 rtcell column1 link" data-evt="C"><div class="s_133"><div id="x8hY_3f" class="flowcomp comp navcomp s_65"><span class="s_126"><span id="x8hY_3f-m7" class="link navitem s_127" tabindex="0">Mitchelltest,Vaughn</span><span>&nbsp;</span></span></div></div></td><td id="y8hY_3g" class=" rtcell column2"><div class="s_99"><div id="x8hY_3h" class="flowcomp comp navcomp"><span class="s_128">01/01/1985</span><span class="s_128"> M</span><br><span class="s_129"></span></div></div></td><td id="y8hY_3i" class=" rtcell column3"><div class="s_99"><div id="x8hY_3j" class="flowcomp comp navcomp"><span class="s_128">1212 One Way</span><span>&nbsp;</span></div></div></td><td id="y8hY_3k" class="s_139 rtcell column4" style="border-bottom-right-radius: inherit;"><div class="s_99"><div id="x8hY_3l" class="flowcomp comp navcomp s_72"><span class="s_72"><img src="Pub/Web/Icon/transparent-pixel.png" style="width: 24px; height: 24px; "></span></div></div></td></tr>  </tbody></table></div></div></div></div><div id="x8hY_3I-1" class="pn-i pn-i-flex a-flex s_143" style="height: 14%; width: 100%;"><div id="x8hY_3o" class="comp comp-g navcomp pn pn-c pn-s vert s_82" style="height: 100%; width: 100%;"><div id="x8hY_3p" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_3p-0" class="pn-i pn-i-flex s_67" style="width: 4ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3p-1" class="pn-i pn-i-flex a-flex s_64" style="width: 25ex;"><div id="x8hY_3q" class="flowcomp comp navcomp s_65"><span class="s_65"><span class="s_144">Best Match Results&nbsp;</span><img id="x8hY_3q-m8" data-evt="C" class="navitem link s_72" tabindex="0" src="Pub/Web/Icon/infoSmall.png" alt="More Info" title="More Info"></span></div></div><div id="x8hY_3p-2" class="pn-i pn-i-flex s_67" style="width: 2ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3p-3" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div id="x8hY_3r" class="comp comp-g navcomp horiz pn pn-c pn-flex s_63" style="width: 100%;"><div id="x8hY_3r-1" class="pn-i pn-i-flex s_67" style="width: 3%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3r-2" class="pn-i pn-i-flex s_145"><div id="x8hY_3s" class="comp comp-g navcomp pn pn-c pn-s vert s_146"><div id="x8hY_3s-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_3t" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_3t-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_3u" class="comp navcomp lh0 s_72"><span id="x8hY_3u-s" class="s_87 s-text">New&nbsp;Patient</span></div></div></div></div></div></div><div id="x8hY_3r-3" class="pn-i pn-i-flex s_145"><div id="x8hY_3v" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-4" class="pn-i pn-i-flex s_145"><div id="x8hY_3w" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-5" class="pn-i pn-i-flex s_145"><div id="x8hY_3x" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-6" class="pn-i pn-i-flex s_145"><div id="x8hY_3y" class="comp comp-g navcomp pn pn-c pn-s vert s_146"><div id="x8hY_3y-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_3z" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_3z-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_40" class="comp navcomp lh0 s_72"><span id="x8hY_40-s" class="s_87 s-text">Clear&nbsp;Search</span></div></div></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_3H-2" class="pn-i pn-i-flex s_67" style="width: 1%;"><span class="s_78">&nbsp;</span></div></div></div><div id="x8hY_3G-2" class="pn-i pn-i-flex s_67" style="height: 1%;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div></div></div></div></div></div></div></div><div id="y8hY_44" data-state="{&quot;indicators&quot;:[],&quot;missing&quot;:[],&quot;missingHidden&quot;:[],&quot;missingCompIds&quot;:[],&quot;requiredHidden&quot;:[[]]}" data-after-update="Pweb.ui.required.updateState" class="compstate afterUpdate"></div><div id="tooltip" class="tooltip-defaultstyles suppresshovertext"></div></div></div></div><div style="position: absolute; height: 0px; width: 0px; border-width: 0px; border-color: transparent; border-style: none; top: 0px; left: 0px;"></div></div></div></div></div>

 

 

Edited by SkysLastChance
Add HTML

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites

Hi @SkysLastChance,

Please don't post a screenshot of HTML. Either paste the HTML in a code box or attach as an HTML file. Also, it helps if you can provide the URL to a live website. It doesn't have to be for the actual site if that's not possible. 😉

Have you tried locating some of the other elements, such as the table or one of the initial divs?

Dan

Link to post
Share on other sites
Posted (edited)

Sorry, added html

I was able to get this to work using the name element instead of the ID. 

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[substring(@name, string-length(@name) - string-length('_13') + 1 ) = '_13']")

Does not make any sense to me, but it works so I am not going to complain. 

I also figured out clicking buttons on the pop up work just fine as well. 

Edited by SkysLastChance

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites
  • Solution
Quote

This code below is working to find input fields on the main page of the site. But, if I try the same thing for ones in the popover it will not find it

You didn't provide enough details to know if no matching element was found or if the wrong element was found. I suspect that it may have been the later because there's a flaw in your process of checking for the trailing portion of the element's name, id, whatever. Here's proof from the HTML you just posted --

<div id="z8hY_3" class="innerdoc navcomp navroot baselayer covered-layer" style="z-index: 0" data-navcomp-type="layer">
  
<input id="in8hY_3" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_13" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000o3ihg5.mthd" aria-labelledby="y8hY_1l">

Your xpath would return only the Div element, not the Input element. You can replace the "*" in your xpath with the actual element type, but that still won't guarantee that you get the desired element due to the possibility that there are still multiple matches.

 

Link to post
Share on other sites

I see what you mean.  I will be sure to post the error code going forward. 

This worked.

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[substring(@id, string-length(@id) - string-length('_3') + 1 ) = '_3']")

Thank you!

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites

I wonder if something like this would work in your situation --

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[substring(@name, string-length(@name) - 2) = '_11']")
$sName = _WD_ElementAction($sSession, $sElement, 'attribute', 'name')
$sPrefix = StringTrimRight($sName, 3)

Obviously needs some error checking. Once you have the correct prefix. you could use it to retrieve the desired element without the need to take a substring of the ID or name each time.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Hermes
      Hi, sometimes when I run my script in GUI (SciTe Editor) or as an executable file, the chrome driver launches but the chrome browser does not but when I re-run the script again - chrome driver launches and so does the browser. Here is the error that I'm getting:
      __WD_Post: StatusCode=0; ResponseText=WinHTTP request timed out before Webdriver... __WD_Post ==> Send / Recv error: WinHTTP request timed out before Webdriver _WD_CreateSession: WinHTTP request timed out before Webdriver _WD_CreateSession ==> Webdriver Exception: HTTP status = 0 Just wondering if there's a way to re-launch both the driver and browser without having to rerun the script/executable.
       
       
    • By Hermes
      Hello, the script below will read column A from an excel file - and if a value matches in the browser, it will click the corresponding link and click on a specific button to paste the data, then writes "Completed" in Column B. It will continue to read from the excel file and do the same thing for all the remaining rows.
      #Include "Chrome.au3" #Include "wd_core.au3" #Include "wd_helper.au3" #Include "WinHttp.au3" #include <MsgBoxConstants.au3> #include <File.au3> #include <IE.au3> #include <Array.au3> #include <INet.au3> #include <AutoItConstants.au3> #include <WinAPIFiles.au3> #include <GDIPlus.au3> #include <Excel.au3> #Include "WinHttp.au3" #Include "_HtmlTable2Array.au3" Local $sDesiredCapabilities, $sSession SetupChrome() _WD_Startup() $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_LoadWait($sSession) _WD_Navigate($sSession, "table1.html") _WD_LoadWait($sSession) _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, "//table[@class='main']") Local $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//table[@class='main']") ;ConsoleWrite ("mat-table " & $sElement & @CRLF) Local $aArray1 = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, ".//td[contains(@class,'data')]", $sElement, True) sleep(1000) For $i = 0 to UBound($aArray1) - 1 $aArray1[$i] = _WD_ElementAction($sSession, $aArray1[$i], 'text') Next ;_ArrayDisplay($aArray1) ;Email variables $SmtpServer = "" ; address for the smtp-server to use - REQUIRED $FromName = "Hermes" ; name from who the email was sent $FromAddress = "sender@gmail.com" ; address from where the mail should come $ToAddress = "recipient@gmail.com" ; destination address of the email - REQUIRED, use commas (,) to add more email addresses $Subject = "File not found" ; subject from the email - can be anything you want it to be $Body = "File not found!" ; the messagebody from the mail - can be left blank but then you get a blank mail $AttachFiles = "" ; the file(s) you want to attach seperated with a ; (Semicolon) - leave blank if not needed $CcAddress = "" ; address for cc - leave blank if not needed $BccAddress = "" ; address for bcc - leave blank if not needed $Importance = "High" ; Send message priority: "High", "Normal", "Low" $Username = "" ; username for the account used from where the mail gets sent - REQUIRED $Password = "" ; password for the account used from where the mail gets sent - REQUIRED $IPPort = 25 ; port used for sending the mail $ssl = 0 ; enables/disables secure socket layer sending - put to 1 if using httpS $tls = 0 ; enables/disables TLS when required Local $oAppl = _Excel_Open() Local $sWorkbook = "c:\test.xlsx" Local $oWorkbook = _Excel_BookOpen($oAppl, $sWorkbook) ;open excel and pass both parameters If FileExists($sWorkbook) Then ;Check if the file exist. Local $oAppl = _Excel_Open() Local $sWorkbook = "c:\test.xlsx" Local $oWorkbook = _Excel_BookOpen($oAppl, $sWorkbook) ;open excel and pass both parameters Local $aArray2 = _Excel_RangeRead($oWorkbook,Default,$oWorkbook.ActiveSheet.Usedrange.Columns("A:A")) Local $iIdx Local $Skipline = 0 ;0==> first line Do Local $temprf For $i = 0 To UBound($aArray2) - 1 $temprf &= $aArray2[$i] _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, ".//a[contains(@class,'edit') and contains(text(),'Edit')]") Local $aElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, ".//a[contains(@class,'edit') and contains(text(),'Edit')]", $sElement, True) $iIdx = _ArraySearch($aArray1, $aArray2[$i]) If @error Then ContinueLoop _WD_ElementAction($sSession, $aElement[$iIdx], 'click') If $i < $Skipline Then ContinueLoop $oRange = $oWorkbook.ActiveSheet.Range("B" & $i + 1 & ":XFD" & $i + 1) _Excel_RangeCopyPaste($oWorkbook.Activesheet, $oRange) ;Paste Local $oTest4 = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "pastebutton") _WD_ElementAction($sSession, $oTest4, 'click') Sleep(1000) ;Save Button Local $save3 = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "button.button") _WD_ElementAction($sSession, $save3, 'click') _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet, "Completed", "B" & $i+1) sleep(1000) Next Until (Not @error) _Excel_Close($oWorkbook) Else _INetSmtpMailCom($SmtpServer, $FromName, $FromAddress, $ToAddress, $Subject, $Body, $CcAddress, $BccAddress, $Importance, $Username, $Password, $IPPort, $ssl, $tls) Exit EndIf _WD_LoadWait($sSession) ;Attaching files to emails Func _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $s_CcAddress = "", $s_BccAddress = "", $s_Importance="Normal", $s_Username = "", $s_Password = "", $IPPort = 25, $ssl = 0, $tls = 0) Local $objEmail = ObjCreate("CDO.Message") $objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>' $objEmail.To = $s_ToAddress Local $i_Error = 0 Local $i_Error_desciption = "" If $s_CcAddress <> "" Then $objEmail.Cc = $s_CcAddress If $s_BccAddress <> "" Then $objEmail.Bcc = $s_BccAddress $objEmail.Subject = $s_Subject If StringInStr($as_Body, "<") And StringInStr($as_Body, ">") Then $objEmail.HTMLBody = $as_Body Else $objEmail.Textbody = $as_Body & @CRLF EndIf $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer If Number($IPPort) = 0 then $IPPort = 25 $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort ;Authenticated SMTP If $s_Username <> "" Then $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password EndIf ; Set security params If $ssl Then $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True If $tls Then $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendtls") = True ;Update settings $objEmail.Configuration.Fields.Update ; Set Email Importance Switch $s_Importance Case "High" $objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "High" Case "Normal" $objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "Normal" Case "Low" $objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "Low" EndSwitch $objEmail.Fields.Update ; Sent the Message $objEmail.Send $objEmail="" EndFunc ;==>_INetSmtpMailCom Local $aDir = _FileListToArrayRec(@TempDir, "scoped_dir*;chrome_*", $FLTAR_FOLDERS, $FLTAR_NORECUR, $FLTAR_NOSORT, $FLTAR_FULLPATH) Sleep(2000) For $i = 1 To $aDir[0] DirRemove($aDir[$i], $DIR_REMOVE) Next _WD_LoadWait($sSession) _WD_Shutdown() Func SetupChrome() _WD_Option('Driver', 'chromedriver.exe') _WD_Option('Port', 9515) _WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"') $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true, "args":["start-maximized","disable-infobars"]}}}}' EndFunc ;==>SetupChrome If the excel file doesn't exists in the folder, it will send an email to a specific recipient.
      What i am trying figure out now is if the excel crashes while the script/loop is running, I want to relaunch the excel file continue to the last row before the excel crashed. So if the value of column B is not marked as "completed", it should continue from that row
      Appreciate any help that I can get to achieve this.
      table1.html test.xlsx
    • By Hermes
      Hi, I have a site that has the following elements below: 
      <div>More element here</div> <div>More element here</div> <div>More element here</div> When I do this in Auto It:
      Local $oSelectDiv = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "div") _WD_HighlightElement($sSession, $oSelectDiv, 1) I also tried to add [3], but it doesnt seems to work:
      Local $oSelectDiv = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "div[3]") _WD_HighlightElement($sSession, $oSelectDiv, 1) It always highlight the first one, but I am trying to highlight the 3rd in the list. Is there anyway to select the 3rd div without having to add any class/id in the divs, and without using XPATH? The structure of the elements in that site were built that way.
    • By ReM
      Hallo Experts,
      Your testsite and the examples are very good. Thanks a lot.  
      I used your example with Chromewebdriver. The Chrome Browser open, the site will shown, but all other functions not executed.
      The Chomedriver.exe Windows shows this text:
      Starting ChromeDriver 90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}) on port 9515 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. DevTools listening on ws://127.0.0.1:54044/devtools/browser/3c17aefd-a104-43e7-8c17-318963cda872 [12848:3100:0501/153128.889:ERROR:device_event_log_impl.cc(214)] [15:31:28.888] USB: usb_device_handle_win.cc:1054 Failed to read descriptor from node connection: Ein an das System angeschlossenes Gerõt funktioniert nicht. (0x1F) [12848:3100:0501/153128.896:ERROR:device_event_log_impl.cc(214)] [15:31:28.896] USB: usb_device_handle_win.cc:1054 Failed to read descriptor from node connection: Ein an das System angeschlossenes Gerõt funktioniert nicht. (0x1F) The Error :  A devise connected to the systen does not work (0x1F)
      Win 10
      Chrome & Driver 90
      What i do wrong. Can you help me?
      Reiner
       
       
    • By Danp2
      Introduction
      This UDF will allow you to interact with any browser that supports the W3C WebDriver specifications. Supporting multiple browsers via the same code base is now possible with just a few configuration settings.
      Requirements
      JSON UDF https://www.autoitscript.com/forum/topic/148114-a-non-strict-json-udf-jsmn
      WinHTTP UDF https://www.autoitscript.com/forum/topic/84133-winhttp-functions/
      HtmlTable2Array UDF (optional) https://www.autoitscript.com/forum/topic/167679-read-data-from-html-tables-from-raw-html-source/
      WebDriver for desired browser
      Chrome WebDriver https://sites.google.com/a/chromium.org/chromedriver/downloads FireFox WebDriver https://github.com/mozilla/geckodriver/releases Edge WebDriver https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ Source Code
      You will always be able to find the latest version in the GitHub Repo 
      Help / Support
      See the wiki for details on the UDF --
      https://www.autoitscript.com/wiki/WebDriver
      Please post any questions, suggestions or errors in the GH&S thread.
      https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/
      Previous support threads (Closed)
      https://www.autoitscript.com/forum/topic/192730-webdriver-udf-help-support/
      https://www.autoitscript.com/forum/topic/201106-webdriver-udf-help-support-ii/
       
×
×
  • Create New...