Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

What are Challenges faced using selenium Automation Testing ?

Challenges faced using selenium Automation Testing
·        Dealing with pop-up windows
·        Testing dynamic text or content
·        How to go about testing Flash
·        Capturing screen shots, either to file or in some form of report
·        Iteration of the test case, running it repeatedly with some minor change
·        Data Driven Testing, using suites of pre-cooked data or generating it on the fly
·        Generating useful test status reports
·        Setting up Remote Control
·        Setting up Grid
·        handling Alerts Popups
·        Switching between windows
·        Working with frames.
·        Field validation
·        How to identify dynamic objects.
·        Xpath and CSS locators for identifying elements.
·        File Upload/Download Using : Java-AutoIT-Selenium
·        Handling Multiple Popup Windows.
·        Switching with multiple Windows
Example :
·        Need to Describes how did faced that problem and how did you overcome that problem with example as below.
   

  •      In Selenium, you identify a UI element with a locator.  There are many kinds of locators, e.g.IDs, names, and XPaths.  If you have never used XPath, you should expect to invest some time familiarizing yourself with it.  On Firefox, Firebug and Firepath are invaluable for inspecting the DOM and figuring out locators.
  •           On common problem with UI automation is dealing with timing issues, e.g. you press a button and it takes an indeterminate amount of time for the web page to refresh.  You can try hard-coding delays into your test or you can tell Selenium to wait for a element in the page to appear.  I recommend the latter.   I don't remember what the API is for that, but I imagine someone here can speak up about that.  
  •           Another recurring problem I've had, and which shows up repeatedly on the Selenium forums, has to do with tabbing between fields.  Selenium has APIs for filling in a text field and clicking a button, but it doesn't have an explicit "hit the Tab button while you're in this text field" API. The Selenium forums suggest various workarounds.  I think the appropriate workaround depends on the situation.  In my application, something special happens when the focus leaves a password field.  Under the covers, the app detects the focus leaving the field via a blur event.  I haven't figured out what action to tell Selenium to perform to cause a blur event to happen, but there is a "fireEvent" method on the Selenium interface that explicitly causes an event to fire.  

Few More :

  •  If something is changed without the knowledge of the Automation Tester like headings of the page or title of the page, the script will Fail.
  •   Even if the content team changed the text on the webpage which you might have captured it in your script for some reason the regression suite will fail. 

  •  If for any reason the servers are down and you running your test suit overnight, the test might Fail. If you don't have a dev or test environment, the automation script might cause loads on the Live server( In case you hitting one server ) which makes the server to collapse and this will effect the business. 


 If the requirements are constantly changing and the site is very dynamic, its very hard to automate.

Post a Comment

13 Comments

  1. Thanks for sharing detailed article on real time challenges in using selenium automation testing tool. Your blog is very useful for students and testing professional new to selenium automation tool.
    Thanks for sharing detailed article on real time challenges in using selenium automation testing tool. Your blog is very useful for students and testing professional new to selenium automation tool.
    Selenium training in Chennai

    ReplyDelete
  2. Very nice, i like the way you explained. I also wrote something on similar lines on Challenges Faced in Automation Testing - http://bit.ly/1O9SwWd

    ReplyDelete
  3. hi! recently one interviewer asked me like if you created test script and saved next day test script opened by you that is not opened what is the problem like asked.
    plz help me.
    Thanks

    ReplyDelete


  4. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  5. Hi very nice article.

    Thanx for sharing this with us.

    I am also using Selenium WebDriver and right now I am also facing issues related to Testing Flash apps in Selenium.

    There’s no denying fact that the significance of Selenium when it comes to web browser automation. While its several automation benefits are clear, but there are common challenges both software testers and developers alike come across when using Selenium. Selenium automation testing at times fails to function appropriately if a dynamic event or any change happens during the test cycle.

    ReplyDelete
  6. Really very informative and creative contents. This concept is a good way to enhance the knowledge.thanks for sharing. please

    keep it up
    Automation Testing training in gurgaon.
    Really very informative and creative contents. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up
    Automation Testing training in gurgaon.




    ReplyDelete
  7. Subscription boxes are a type of boxes which are delivered to the regular customers in order to build goodwill of the brand. They are also a part of the product distribution strategy. As a woman, you should subscribe to these boxes to bless yourself with a new and astonishing box of happiness each month. visit mysubscriptionsboxes

    ReplyDelete
  8. I am really thankful to the blog owner for helping us by giving valuable inputs.Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…Visit here for Software testing services.

    ReplyDelete
  9. I am really thankful to the blog owner for helping us by giving valuable inputs.Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…Visit here for Software testing services.

    ReplyDelete
  10. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

    Python Training in Chennai Python Training in Chennai The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai

    ReplyDelete