Difference between “verifyAlert” and “assertAlert” command in selenium

There are too many commands starting with “verify” and “assert” text. Both these commands are the same excluding one difference and that difference is after the execution of the “verify” command if the condition matches or not selenium will execute the next commands but in case of execution of the “assert” command if the condition … Read more

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