Skip to main content


Showing posts with the label ie

Selenium Chromedriver Error Message: u'unknown error: unable to discover open pages

If you use selenium webdriver to automate regression test cases, you may have got the following error. Because a bug in chromedriver version 2.3 causes this error. According to Google Dev ., this problem had fixed in version 2.6.  Assigning the chrome driver to driver leads to this error by the line 38, which is self.driver = webdriver.Chrome() . To solve the problem, you need to change the chromedriver version 2.3 in your execution path, like C:\Windows\System32 under Windows, with newer version. You can download chrome driver from googleapis .   Error message may like this: Traceback (most recent call last):   File "D:\workspace\automation_project\", line 32, in <module>     m = Project(browser, server)   File "D:\workspace\automation_project\", line 38, in __init__     self.driver = webdriver.Chrome()   File "C:\Python27\lib\site-packages\selenium-2.35.0-py2.7.egg\selenium\webdriver\chrome\", line

Internet Explorer is now More Helpfull

When you want to check if your site works fine on covered versions of Internet Explorer, you may need to check it via IE. Because most front-end developer, who are generally responsible of developing viewable part of site by users, uses Firefox or Chrome for base of development and then develop problematic part of it for the different versions of IE. This is called compatibility. This kind of testing called as compatibility testing or cross-browser testing is very crucial for e-commerce site because it can cause many customers stop buying, stop member record, or any money related big-bang-bug (bbb). Compatibility testing is a kind of non-functional testing which means that they should be run upon the functional testings have been completed. Actually, this means that there is very little time remaining for compatibility testing at most case. To complete this task there are several webs or tools which make some cross browser testing but I have not yet find a successful one. Since th

How to Use Internet Explorer and Safari for Mobile Testing

Have you recognized that everyone is mobile! And almost everyone socialize with mobile internet (this socialization doesn't mean to have sharing with anyone close to you, it means to chat/share/discuss online with anyone far to you). Since the ratio of using mobile devices are getting increased, needs for mobile testing is also increased. Many companies have developed mobile applications and mobile website to increase their customer satisfaction and to catch up with their rivals especially in e-commerce sector. In this post, I want to share :) some information how to test mobile application with your desktop. Mobile websites/applications target mobile devices but testing everything may not be possible with your devices, or not effective! For some test case like searching, defining cookies; checking links, redirection can be tested easily with your web browsers. For example, Apple's Safari and Internet Explorer can be used for mobile testing.  Safari : you must activate t

Selenium Error "Element is not currently interactable and may not be manipulated"

Selenium webdriver can drive different browsers like as Firefox, Chrome or Internet Explorer. These browsers actually cover the majority of internet users, so testing these browsers possibly covers the 90% of the internet users. However, there is no guaranty that the same automation scripts can work without a failure on these three browsers. For this reason, automation code should be error-prone for the browsers you want to cover. The following error is caught when the test script run for Chrome and Internet Explorer, but surprisingly there is no error for the Firefox. Selenium gives an error like below: Traceback (most recent call last):   File "D:\workspace\sample_project\", line 10, in <module>     m.login()   File "D:\workspace\ sample_project \", line 335, in login     driver.find_element_by_id("id_username").clear()   File "C:\Python27\lib\site-packages\selenium-2.35.0-py2.7.egg\selenium\webdriver\r

Using Selenium Webdriver via Internet Explorer (ie) and Chrome

As it is known Selenium IDE is an extention for Firefox browser. And the Webdriver is an application to send commands to firefox to drive it. As a default set-up, firefox comes with it for running automated test cases. However, sometimes running compatibiliy related test cases via, especially, Internet Explorer but Chrome may be needed. If you want to run your test cases via other browsers you need to do some configuration changes in your test environment. Download the webdriver of browsers for selenium web site: For Internet Explorer click here and dowload  IEDriverServer 32bit or 64bit depending on your system For Google Chrome, dowload Chronium webdriver click here   and dowload chromedriver_win Put the webdrivers to your path wich your executable files are present. It is generally like this C:\Windows\System32    You need to allow IE Driver and Chrome Driver to access your network: Allow Access to IE Driver and Chrome Driver Finally call the drivers you want to use