18 January 2026:


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

gligogligo Members
edited November -1 in Sahi - Open Source
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...?

Comments

  • If you can setup a remote desktop then I can help you a bit

    let me know if you can...

    -Ashish
Sign In or Register to comment.