File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed
Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 327327 var elementId = event . target . getAttribute ( 'elementId' ) ;
328328 var element = new webdriver . WebElement ( self . driver , elementId ) ;
329329 element . click ( ) ;
330- return false ;
330+ return true ;
331331 }
332332
333333 var xpath = getXPath ( event . target ) ;
Original file line number Diff line number Diff line change 1111 </xsl : template >
1212
1313 <xsl : template match =" QCheckBox" >
14- <input type =" checkbox" >
15- <xsl : copy-of select =" @elementId" />
16- <xsl : call-template name =" style" />
17- </input >
1814 <span >
19- <xsl : value-of select =" @text" />
15+ <xsl : call-template name =" style" />
16+ <input type =" checkbox" >
17+ <xsl : copy-of select =" @elementId" />
18+ </input >
19+ <span >
20+ <xsl : value-of select =" @text" />
21+ </span >
2022 </span >
2123 </xsl : template >
2224 <xsl : template match =" QLabel" >
4749 </xsl : attribute >
4850 </input >
4951 </xsl : template >
52+ <xsl : template match =" QRadioButton" >
53+ <span >
54+ <xsl : call-template name =" style" />
55+ <input type =" radio" >
56+ <xsl : copy-of select =" @elementId" />
57+ <xsl : attribute name =" name" >
58+ <xsl : text >parent:</xsl : text >
59+ <xsl : value-of select =" ../@elementId" />
60+ </xsl : attribute >
61+ </input >
62+ <span >
63+ <xsl : value-of select =" @text" />
64+ </span >
65+ </span >
66+ </xsl : template >
5067 <xsl : template match =" QScrollArea" >
5168 <div >
5269 <xsl : copy-of select =" @elementId" />
7491 <xsl : text >height: </xsl : text ><xsl : value-of select =" @height" /><xsl : text >;</xsl : text >
7592 </xsl : if >
7693 <xsl : if test =" @visible = 'false'" >
77- <xsl : text >visibility: hidden;</xsl : text >
94+ <xsl : text >display: none;</xsl : text >
95+ </xsl : if >
96+ <xsl : if test =" @styleSheet" >
97+ <xsl : value-of select =" @styleSheet" /><xsl : text >;</xsl : text >
7898 </xsl : if >
7999 </xsl : attribute >
80100 </xsl : template >
You can’t perform that action at this time.
0 commit comments