Skip to main content

Posts

Showing posts with the label internet explorer

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

Internet Explorer Launching Gives Errors in Selenium Webdriver

As selenium user know, Selenium script can be run via FireFox, Chrome and Internet Explorer if you set up the environments correctly, you may read this post if you are un-sure. If you face an error while launching Internet explorer in selenium test automation, you need to set all the security zone in the same mode (enabled, or disabled mode). If you change security zone, selenium gives the following errors, and the last one says " Protected Mode settings are not the same for all zones " so you can set the protected mode by Tool > Internet Options > Security Tab then set Internet, Local Internet, Trusted Sites, and Restricted Sites as same mode, enabled or disabled. Then click "Apply" and "OK" and repeat your tests. File "C:\Python27\lib\site-packages\selenium-2.25.0-py2.7.egg\selenium\webdriver\ie\webdriver.py", line 53, in __init__     desired_capabilities=DesiredCapabilities.INTERNETEXPLORER)   File "C:\Python27\lib\site-packa

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