18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Clicking on _em
Hello,
I have this element:
<div id="splitbutton-1168" class="x-btn x-btn-default-large x-icon x-btn-icon x-btn-default-large-icon">
<em id="splitbutton-1168-btnWrap" class="x-btn-split x-btn-split-right">
<button id="splitbutton-1168-btnEl" class="x-btn-center" autocomplete="off" role="button" hidefocus="true" type="button" aria-haspopup="true">
<span id="splitbutton-1168-btnInnerEl" class="x-btn-inner" style=""> </span>
<span id="splitbutton-1168-btnIconEl" class="x-btn-icon x-query-trigger"> </span>
</button>
</em>
</div>
and I want to click just on the emphasis, because it opens menu. If I click on the button inside, the menu will not be opened.
I tried this:
_click(_emphasis("/x-btn-split-right/"));
but it clicks on the button
Can you tell me is there a way to open the menu...?
I have this element:
<div id="splitbutton-1168" class="x-btn x-btn-default-large x-icon x-btn-icon x-btn-default-large-icon">
<em id="splitbutton-1168-btnWrap" class="x-btn-split x-btn-split-right">
<button id="splitbutton-1168-btnEl" class="x-btn-center" autocomplete="off" role="button" hidefocus="true" type="button" aria-haspopup="true">
<span id="splitbutton-1168-btnInnerEl" class="x-btn-inner" style=""> </span>
<span id="splitbutton-1168-btnIconEl" class="x-btn-icon x-query-trigger"> </span>
</button>
</em>
</div>
and I want to click just on the emphasis, because it opens menu. If I click on the button inside, the menu will not be opened.
I tried this:
_click(_emphasis("/x-btn-split-right/"));
but it clicks on the button
Can you tell me is there a way to open the menu...?
Comments
let me know if you can...
-Ashish