StoreEval promt not giving a pop up

Hi,

storeEval | prompt(“indtast cpr”) | x

is not giving a pop up in katalon rercorder

Hi, You are using “ “ which is not recognized properly even by console itself. You need to use ’ or " format and you must return this value to KAR. Also use runScript. It doesn’t work with storeEval. So it will be something like this:
runScript | return prompt(“test”); | YourVar

Be awere that this will execute 2 times in a row and in your YourVal variable You will have value that You put second time.

Edit: KAR will wait until You put a value in prompt window or close it but You HAVE TO do something with it otherwise test case won’t continue.

2 Likes

Thanks worked :slight_smile:

1 Like