runScript as a replacement for storeEval


#1

Hi,

I used a storeEval on an old selenium script to run a java script to post a pop up alert, that did not work on katalon recorder, recently I saw a post about replacing the storeEval with runScrip, I dont get an error but no alert appears either, how can I get that to work ?

original selenium script :

KAR version :

Thank you,

Maria

sel.png

kar.png


Katalon Automation Recorder - Tips and tricks
#2

Hi,

The alert is “hijacked” by the recorder’s script for the recording and verification purpose. Please use originalAlert() function if you really want to show the alert dialog.


#3

Is there any documentation where we can read about how to execute javascript code in salenium ide?