Friday 13 November 2015

HP UFT/QTP Web Automation testing challenges and mitigations

1. Web application Objects which are specific to technology(Ex: SAP, .Net, Java Applets, Oracle Applications..etc) doesn't identify by default QTP addins
Mitigation:
in HP QTP/UFT there are below listed addins available and we can recognize objects once we install those based on the technology used in the application under test.
• .Net
• Delphi
• Flex
• Java
• Oracle
• peopleSoft
• PowerBuilder
• Qt
• SAP
• Web
• VisualAge
• WPF

2.Reading data from Web integrated PDF files
Mitigation:
Till HP QTP 11.0 version:
install AcroRd32.exe and make enable AcroExch object to recognize PDF files content
From UFT 11.5 Version:
There is a content checkpoint feature added. From that we can read the data from different files ex: PDF, HTML, RFT, txt, doc, etc: easily.

3. Recognizing Custom Objects in AUT (Application Under Test)
In UFT 11.5 version on wards there is an option to record objects with Insight Recording. With that option you can learn an object’s (or images) different states and convert that into a recognizable object within the object library.

4. Running web application batches with takes more than 2-3 minutes time to run and then verify for results once the batch is completed
Mitigation:
Keep periodic wait time till it compleates 2-3 minutes and after executing batch verify for the results

5. Object property values are keep on getting changed on each release
Mitigation:
Make all objects completely generic with their properties also keep in mind that objects are getting identified uniquely

6. Identifying run time generated objects
Mitigation:
use descriptive programming or use regular expression in object property values to recognize run time generated values

7. Verifying web page content with alignment, auto numbering, paragraphs..etc
Mitiagation:
It is not possible to verify web page content with alignment, auto numbering, paragraphs..etc

8. Double/Triple click on objects or clicking on object without page loading properly
Mitigation:
QTP doesn't supports such actions with script execution. It only perform action on object once the page is completely loaded

9. Handling certain popups during automation execution. For example, sometimes during execution of automated test, application throws popup and QTP hangs up at this point.
Mitigation:
The only solution is to kill the session. Write VB code to handle the popup and call the script separately.

10. QTP/UFT is installed in Machine A and Application is available in Machine B and required script creation and run on the application
Mitigation:
QTP/UFT and Application should be available on single machine to record/run script

11. Multi Browser Testing: Recording script in other than IE browser
Mitigation:
Recording script in Mozilla, Saffari, Chrome..etc not possible, Script only can run on these browsers

12. Not able to automate E2E scenarios. For example, consider a scenario where order is placed in Web application and needs to be validated in another integrated component such as Outlook/Mainframe. The backend system takes time to reflect the order and the QTP script fails to validate the same.
Mitigation:
If the time gap is more, it is not feasible to add more wait time. This would have impact on total execution time. In this case, a separate script to validate the backend system or interfaces can be prepared and executed separately.

13. Object Identification issues with all the version of the Mozilla even with the patches and QTP/UFT
Mitigation:
1. XPath or CSS identifier property
2. .Object property to access the Firefox DOM 
3. Event Identifiers
4. Embed or Run JavaScripts in Your Web Pages.
features of QTP/UFT should be used to over the issue with Object Identification while automating creating and running QTP script on Mozilla browser

14. Automation Testing in a Multi-Country / Multi-Lingual Deployment Scenario:
Large web applications projects often involve multi-country roll-outs wherein the application has to be rolled out in multiple languages. Such rollouts are also characterized by a common set of functionality applicable across all countries (core requirements) in addition to certain unique country specific requirements (localization requirements).
Mitigation:
In such a multi-country deployment scenario the following salient points need to be considered:
1) Prioritization of Test Cases for Execution - It is advisable to initially do an assessment on the
criticality of the requirements for each country. Post this exercise, a prioritization of the test cases for automation should be conducted for each country.

2) Changes in Automation Approach -Normally, automation tools identify test objects used in the application by means of the text displayed on the GUI of the object. For example, a button with caption “Submit” will be recognized by the text “Submit” displayed on it. When the application is deployed in multiple languages, this becomes a serious problem for the reusability of the scripts across different languages. This difficulty is easily overcome in Web applications, as all the objects used in a Web application have a unique repository ID which can be utilized to uniquely identify the object. This ID remains same even when the GUI text of the object changes for different languages. The framework designer must enforce the use of repository ID as the object identifier in all automation scripts if they are intended to be used for multiple languages.

Reporting structure of the automation framework should also be amended to store the country-specific results separately. This adds one layer of complexity on the reporting structure of the automation framework, but offers long-term benefits by providing a clear picture of the test execution result for individual countries.

3) Stress on Re-usability - As long as repository ID is used as the identifying property of the Web objects used in the automation scripts, the same scripts can be used for all countries. Care should be taken for situations where a particular Web object is present for one country but is absent for another country due to localization requirements. This type of scenarios must be handled individually for each country.

15. Managing reusability of functionalities and dynamic test data.
Mitigation:
A well defined test automation framework with definded guidelines and best practices to be used.

52 comments:

  1. Thanks for sharing the blog post. It really helps everyone who wants to do web automation

    ReplyDelete
  2. Thank you all for your comments

    ReplyDelete
  3. Thanks for sharing information with clear explanation. This is really awesome to understand.

    Thanks,
    QTP Training in Chennai | Selenium Training in Chennai

    ReplyDelete
  4. Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks
    Click here:
    angularjs training in chennai
    Click here:
    angularjs2 training in chennai

    ReplyDelete
  5. You’ve written a really great article here. Your writing style makes this material easy to understand.. I agree with some of the many points you have made. Thank you for this is real thought-provoking content
    Click here:
    Microsoft azure training in bangalore
    Click here:
    Microsoft azure training in pune

    ReplyDelete
  6. Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!
    Click here:
    angularjs training in sholinganallur
    Click here:
    angularjs training in btm
    Click here:
    angularjs training in rajajinagar
    Click here:
    angularjs training in marathahalli

    ReplyDelete
  7. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Devops Training in Bangalore

    ReplyDelete
  8. Thank you for sharing this blog.

    There are various challenges that we face in automation testing. One of them is selecting right tool for your project. Everything in automation depends upon the tool.

    Selenium Automation Testing

    ReplyDelete
  9. It would have been the happiest moment for you,I mean if we have been waiting for something to happen and when it happens we forgot all hardwork and wait for getting that happened.
    python training institute in chennai
    python training in velachery

    ReplyDelete
  10. 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.
    Devops training in tambaram
    Devops training in velachery
    Devops training in annanagar
    Devops training in sholinganallur

    ReplyDelete
  11. Thank you for sharing such great information with us. I really appreciate everything that you’ve done here and am glad to know that you really care about the world that we live in
    Blueprism online training

    Blue Prism Training in Pune

    ReplyDelete
  12. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.

    Data Science training in Chennai
    Data science training in bangalore
    Data science training in pune

    ReplyDelete
  13. Really nice topics you had discussed above. I am much impressed. Thank you for providing this nice information here. And if you are looking for the best game compatibility testing choose with our QA Services

    Compatibility Testing Services

    Functional Testing Services

    ReplyDelete
  14. It would have been the happiest moment for you,I mean if we have been waiting for something to happen and when it happens we forgot all hardwork and wait for getting that happened.
    java training in annanagar | java training in chennai

    java training in chennai | java training in electronic city

    ReplyDelete
  15. It seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.
    Data Science course in kalyan nagar | Data Science course in OMR
    Data Science course in chennai | Data science course in velachery
    Data science course in jaya nagar | Data science training in tambaram

    ReplyDelete
  16. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.

    AWS Interview Questions And Answers

    AWS Training in Pune | Best Amazon Web Services Training in Pune

    Amazon Web Services Training in Pune | Best AWS Training in Pune

    AWS Online Training | Online AWS Certification Course - Gangboard

    ReplyDelete
  17. There are so many choices out there that I’m completely confused. Any suggestions? Thanks a lot.
    iosh course in chennai

    ReplyDelete
  18. I’m planning to start my blog soon, but I’m a little lost on everything. Would you suggest starting with a free platform like Word Press or go for a paid option? There are so many choices out there that I’m completely confused. Any suggestions? Thanks a lot.
    iosh safety course in chennai

    ReplyDelete
  19. Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging

    informatica mdm online training

    apache spark online training

    apache spark online training

    devops online training

    aws online training

    ReplyDelete
  20. I always enjoy reading quality articles by an individual who is obviously knowledgeable on their chosen subject. Ill be watching this post with much interest. Keep up the great work, I will be back
    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete
  21. Thank you for the nice article here. Really nice and keep update to explore more gaming tips and ideas.

    Game QA Company

    Game Functionality Testing

    Game Compatibility Testing

    ReplyDelete
  22. Great Article. Kindly share more article.

    Automation Testing Service

    ReplyDelete
  23. Hey,Thanks for sharing.very interesting.I have bookmarked your blog because very clear information is given.Keep updating more
    big data courses in bangalore with placement

    ReplyDelete
  24. Very Good Blog. Highly valuable information have been shared.Great information has been shared. We expect many more blogs from the author. Special thanks for sharing..
    software testing services
    software testing companies
    Regression testing services
    Performance testing Services
    Test automation services

    ReplyDelete
  25. Very nice blog and articles. I am really very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.Thumbs up guys your doing a really good job. It is the intent to provide valuable information and best practices, including an understanding of the regulatory process.

    Data Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  26. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

    data science interview questions

    ReplyDelete
  27. reat Article. Thank you for sharing! Really an awesome post for every one.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Projects for CSE It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

    JavaScript Online Training in India

    JavaScript Training in India

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  28. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.data science course in Hyderabad

    ReplyDelete
  29. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    QTP Training Training in Bangalore

    ReplyDelete
  30. Thanks for posting the best information and the blog is very good .data science institutes in hyderabad

    ReplyDelete
  31. Excellent blog I visit this blog it's really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative.We are also providing the best services click on below links to visit our website.

    Oracle Fusion HCM Training
    Workday Training
    Okta Training
    Palo Alto Training
    Adobe Analytics Training

    ReplyDelete
  32. Thank You For The Auspicious Write-up. It In Reality Used To Be A Amusement Account. VT Markets Glance Advanced To More Introduced Agreeable From You! By The Way, How Can We Communicate?

    ReplyDelete
  33. It was a great experience after reading. Informative content and knowledge to all. Keep sharing more blogs with us.
    Data Scientist Training in Hyderabad

    ReplyDelete