Selenium IDE is very useful regression testing tool in software industry. Selenium IDE has many built in commands and you can also extend it using extensions files. Let me describe you more 2 commands of Selenium IDE.
You can read my post about "selectPopUp" command before understanding "selectPopUpAndWait" command. As name suggests, "selectPopUpAndWait" is combination of two commands - 1) "selectPopUp" and 2) "waitForPageToLoad". "selectPopUp" command will select targeted popup window and"waitForPageToLoad" command will pause selenium until page get reloaded successfully.
You can use "close" command for closing window. It has not any other function. Let we see both commands with example as bellow.
|verifyTextPresent||Open link in a new window or tab|
|selectPopUpAndWait||W3Schools Online Web Tutorials|
|verifyTextPresent||Learn to Create Websites|
In above example, "selectPopUpAndWait" command will select new opened popup and then it will wait for page to load. Next command will be not executed until page loading is in process. once page reloaded successfully, Next command will be executed.
Last "Close" command will simply close the new opened popup window with title "W3Schools Online Web Tutorials". Run above script yourself to understand both commands better.