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.

pop up does not appear

patrick666patrick666 Members
edited November -1 in Sahi - Open Source
Hello,

In my application I'm trying to veriry if the pop up is appearing, the generated HTML code is :

<span id="FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_container"
class="linkContainer">

<a id="FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search"
onclick="if (DHTML.confirm('Seul le numéro de police et la date du sinistre sont pris en compte pour la recherche.')) Events.invokeEvent('FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_act', true); event.cancelBubble = true;EventHandlers.clickHandler();"
href="javascript:void(0)"
class="bigButton"
isDefault="true"
onfocus="EventHandlers.onFocus(event)"
onblur="EventHandlers.onBlur(event)">

<span class="bigButton"
onClick="if (DHTML.confirm('Seul le numéro de police et la date du sinistre sont pris en compte pour la recherche.')) Events.invokeEvent('FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_act', true); event.cancelBubble = true;EventHandlers.clickHandler();">

<span id="FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_left"
class="bigButton_left">
</span>

<span id="FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_link"
class="bigButton_link">Rechercher
</span>
<span id="FNOLWizard:FNOLWizard_FindPolicyScreen:FNOLWizardFindPolicyPanelSet:Search_right"
class="bigButton_right">
</span>
</span>
</a>
</span>


This element does not work: onclick="if (DHTML.confirm('Seul le numéro de police et la date du sinistre sont pris en compte pour la recherche.'))

It works perfectly in normal use but when it is used in twist tests it does not work.

Someone has an idea about this problem?

Tx in advance!
Sign In or Register to comment.