Using “answerOnNextPrompt” and “assertPrompt” commands in selenium

“answerOnNextPrompt” command Sometime if you seen , there is display text box with popup message to write some thing in message box. In such popup “answerOnNextPrompt” command is useful to providing answer in popup message. “answerOnNextPrompt” command will type the message whatever you want to type in popup. Here is one perfect example of “answerOnNextPrompt” … Read more

Use of “altKeyDown” and “altKeyUp” in selenium with example

“altKeyDown” command “altKeyDown” command works just like you are pressing alt key of your keyboard. It will keep pressed alt key until “altKeyUp” not executed. You can use this command when you need to perform any action by pressing alt key. Let me show you use of “altKeyDown” command with example. In bellow given example, … Read more

Use of “addSelectionAndWait” and “removeSelectionAndWait” command

 “addSelectionAndWait” command in selenium IDE When you are adding selection into multi select list box and page reloading due to the adding selection, you need to use addSelectionAndWait command to handle page loading event. You can use addSelection if page not reloading after adding selection. I have not any perfect example of page reloading when … Read more

“addSelection” and “removeSelection” command example in selenium IDE

“addSelection” Command In multiselect list box, when you need to select multiple values from list box, “addSelection” command will be helpful in selenium IDE. “Select” command will select only single value from list box but “addSelection” command will add new value selection in list box means previously selected values will remain selected as it is … Read more