0

I created a prompt in selenium IDE by using:

Command  :   storeEval
Target   :   prompt("please enter code");
Value    :   test

How can I return this code and use it further in the IDE? e.g. writing it to a specific input field.

I just want the code to wait until it receives the return value from the prompt and then use that value to insert it to a specific field.

Black
  • 18,150
  • 39
  • 158
  • 271
  • Possible duplicate of [How to give the runtime input in selenium IDE?](https://stackoverflow.com/questions/11464452/how-to-give-the-runtime-input-in-selenium-ide) – Petr Bodnár Nov 16 '19 at 19:53

1 Answers1

0

You are going to need to use the rollup feature in order to repeat this step. Have a look at this source. It will give you an overview of the rollup feature.

I don't believe there is any other way to repeat the function.

Brainles71
  • 77
  • 13
  • Why should I need to repeat this step? – Black Feb 17 '17 at 10:53
  • My understanding of your post is that you want to reuse the above code but don't want to have to repeat it? Is that correct? – Brainles71 Feb 18 '17 at 01:08
  • No, I just want the code to wait until it receives the return value from the prompt and then use that value to insert it to a specific field. – Black Feb 18 '17 at 09:36