 Hello, welcome to the session on testing web application using Selenium IDE. At the end of this session, students will be able to use Selenium IDE to execute test scripts. We will use the Mercury tour websites as our web application under test. It is an online flight reservation system that contains all the elements we need for this tutorial. Its URL is newtos.demo.com and this will be our base URL in Selenium IDE. Let us now create our first test script in Selenium IDE using the most common method by recording and playback feature. Afterwards, we shall execute our script using the playback feature. In Firefox, navigate to the base URL that is newtos.demo.com, so Firefox should take you to the page that is similar to that is shown on the screen. Next, right-click on any blank space within the page like on Mercury Tour's logo on the upper left corner. So this will bring up the Selenium IDE context menu. The main thing is here do not click on any hyperlinked objects or images. Right-click and select assert title. So the assert title, it gives the title of the page. So in our case, it is welcome to Mercury Tour's. This is a command that makes sure that the page title is correct. So right-click on the page and select Selenium IDE Assert Title Options. Next, in the username text box of Mercury Tour's, type an invalid username that is invalid UNN. In the password field, type invalid password that is invalid PWD. So all these red side images, you can see the type username and password and the value that is provided. All these features are recorded by the Selenium IDE. Next, click on the sign in button. Firefox should take you to this page. Toggle the record button off to stop recording. Your script should now look like the one shown below. Now that we are done with our test script, we shall save it in a test case. In the file menu, select the test case or you click on the shortcut icon save button or press control S. Choose your desired location and then name the test case as invalid login and click on the save button. Notice that the file was saved as HTML. Go back to the Selenium IDE and click the playback button to execute the old test script. Selenium IDE should be able to replicate everything flawlessly. So in the image you can see once all the test cases are executed, so it will show the green color as all the test cases are passed. Let us pause the video for a while and use the Selenium IDE to execute the test scripts. Use the base URL as we discussed and perform a hands-on using the Selenium IDE for valid and invalid username and password. After performing the hands-on, resume the video. Now open the Firefox browser. The icon at the right side that indicates the Selenium IDE. Just go through the Mercury Tours demo site. So go through the Mercury Tours demo site. So this is the best web application that we can use for testing using the Selenium IDE. So I will copy the URL, click on the Selenium IDE, so this is the welcome screen. Create a new project. So give the name as demo underscore tools, so that is the project name. So the project name is demo.tools, click on save, save the project. Choose any desired location. Now the copied base URL, just copy to this Selenium IDE base URL, click on save. Now click on the start recording button. So once we click on the record button, here you can see this icon Selenium IDE is recording. So to test the welcome page, the page of this website, so just click anywhere on the page. Do not click here. So right click on the page, select Selenium IDE and assert title. So here it is recorded in the Selenium IDE. So I will show how it is recording. So here you can see the Selenium IDE it is recording. See the name of this home page is welcome mercury tools. So next this is the one test case, so that is the verification of the title of the page. Then I will enter the invalid login, invalid username, so that is usr and invalid password pwd. Now click on this sign in button. It is asking for the registration because this is an invalid username and password. These are recorded by this Selenium IDE, the invalid password. So that is one script. Now I will stop the recording, so just click on the stop recording. So now you need to save the test case. So it is a invalid click OK, so just click save, save to the particular location. I have closed the mercury tool website, that web application. The first step is completed that is the recording the test scripts now playback. So to execute the test case select this one and execute all test script, the direct is navigate to the base URL then invalid username password. So this is the test case is passed because here you can see the green color that indicates all the test cases that is the title of the web page and username, password, all these are these test cases are passed because we have provided invalid username and password. So it is asking for the registration page. Next we will see the one valid test case we will see that is valid by providing valid username and password. Click on you can open open the existing project, I had a test case valid login, just start recording. So it is recording the test script. I will provide a valid username that is tutorial and valid password as tutorial. So it is it is recording here the valid username and password. Yes, the sign in is successful with valid username and password. So this is how we execute the test scripts using the Serenium IDE. These are the references I referred. Thank you.