Whenever you play back the recorded test cases in Selenium, the http secured websites will displayed an authentication popup window and it prompt you to enter the http user name and the password and it will not allow to perform any further operations until you provide username and password. Lets checkout the solution.
Selenium is an open-source automated software testing tool for testing web applications. Selenium is a set of tools which helps testers to automate web-based applications more efficiently. The main advantage of selenium is that it will operate across different browsers and operating systems.
Suppose you have a site to test which has the following functionality. There is a text field and an editor. When we enter text on the text field, immediately it should be displayed on the editor. To be more clear, after entering the text on the field then focusing out from it, the values should be displayed in the CK editor. And our intention is to automate it using Selenium. Lets check how this can be automated.
Creating basic page is a general test must be done for all Drupal sites. And you are decided to do this through automated tool Selenium.The problem we face here is that you can't test inserting contents in the CK Editor by record and play. You have to insert Selenium commands for adding contents in the CK editor. Lets see how this can be handled.