challenges and solutions in managing selenium test automation projects

5
Challenges and Solutions in Managing Selenium Test Automation Projects

Upload: gallop-solutions

Post on 17-Jan-2017

961 views

Category:

Software


0 download

TRANSCRIPT

Challenges and Solutions in Managing Selenium Test Automation Projects

Challenges and Solutions in Managing Selenium Test Automation Projects

In this Slideshare, we will discuss Challenges in managing Selenium Test Automation Projects and how to overcome them. Learn more...

Challenges and Solutions in Managing Selenium Test Automation Projects

Here are some Challenges faced during Selenium Test Automation:

Dealing with pop-up windows

No event trigger from value changes

Timeout resulting from synchronization problems

Testing Flash apps

Unexpected error launching Internet Explorer

Protected Mode

Challenges and Solutions in Managing Selenium Test Automation Projects

Dealing with pop-up windows

• Selenium can sometimes fail to record common popups in web apps.

• The efficient interface brings with it the following commands: void dismiss(), void accept (), getText(), void sendKeys(String stringToSend).

No event trigger from value changes

• Because Selenium does not initiate events with a change in values, one must do it oneself using fireEvent: selenium.FireEvent(cmbCategory, “onchange”);

Timeout resulting from synchronization problems

• One should ideally use selenium.IsElementPresent(locator) to verify that the object is in a loop with Thread.Sleep

Testing Flash apps

• The application source code must be compiled with the swc files generated by Flex Monkium.

• Then the app and the Selenium IDE are connected, and the tests can be recorded with IDE

Unexpected error launching Internet Explorer

• Browser zoom level should be set to 100% by default for the IE browser to overcome this error.

Protected Mode

• The same valueerror occurs when trying to run Selenium WebDriver on a fresh Windows machine. This issue can be fixed by using capabilities as below when launching IE

Read More at: http://bit.ly/1PgwRgm

Challenges faced during Selenium Automation Testing and how to approach them to make sure you have a robust test suite.

Challenges and Solutions in Managing Selenium Test Automation Projects