Handling events like focus or blur in selenium with “fireEvent” command

There are many types of HTML DOM Events available on web page. In selenium IDE, “fireEvent” command is the solution to handle such kind of events. Here i am trying to show you the use of “fireEvent” command with focus or blur event. You can handle any other event in this way. “fireEvent” command with … Read more

selenium command “chooseCancelOnNextConfirmation” and “chooseOkOnNextConfirmation” with example

“chooseCancelOnNextConfirmation” command “chooseCancelOnNextConfirmation” command used with confirmation popup box. When you are performing some major action like deleting records at that place you can see this kind of confirmation message box to proceed or to cancel the process. “chooseCancelOnNextConfirmation” command will click on cancel button on this kind of action. Here is the example of … Read more

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