Highlighted
Absent Member.. MisterT1968 Absent Member..
Absent Member..
225 views

[QTP/(U)FT Support Tip]: Does QTP/(U)FT support HTML 5?

Hello all,

 

How are you? I hope you are fine

 

I guess you all came across this question at least once already and were unable to directly answer this as it is not listed in the Product Availability Matrices

 

In order to find an answer we have to understand, what HTML 5 actually is. A complete and lenghty information can be found here: http://en.wikipedia.org/wiki/HTML_5. I will try to compress these information and scale it down to the main parts.

 

1. What is HTML 5?

 

In general, HTML 5 is not so much a technology as it is a standard. HTML is a markup language for structuring and presenting content for the World Wide Web and a core technology of the Internet. HTML 5 is the 5th revision of the HTML standard (created in 1990 and standardized as HTML 4 as of 1997) and, as of December 2012, is a W3C Candidate Recommendation. HTML 5's core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML.

 

2. What has changed compared to HTML 4?

 

In particular, HTML5 adds many new syntactic features. These include the new <video>, <audio> and <canvas> elements, as well as the integration of scalable vector graphics (SVG) content (that replaces the uses of generic <object> tags) and MathML for mathematical formulas. These features are designed to make it easy to include and handle multimedia and graphical content on the web without having to resort to proprietary plugins and APIs. Other new elements, such as <section>, <article>, <header> and <nav>, are designed to enrich the semantic content of documents. New attributes have been introduced for the same purpose, while some elements and attributes have been removed. Some elements, such as <a>, <cite> and <menu> have been changed, redefined or standardized. The APIs and Document Object Model (DOM) are no longer afterthoughts, but are fundamental parts of the HTML5 specification. HTML5 also defines in some detail the required processing for invalid documents so that syntax errors will be treated uniformly by all conforming browsers and other user agents.

 

3. Will webpages that use the HTML 4 standard stop working?

 

No. The HTML 5 standard is backward compatible. It does not remove any of the main parts of previous standards. However, some deprecated elements from HTML 4.01 have been dropped, including purely presentational elements such as <font> and <center>, whose effects have long been superseded by the much more powerful Cascading Style Sheets.

 

4. Why does the PAM does not list HTML 5 as supported?

 

Currently the new features and handling them is not included yet as these features are mainly related to video, audio and grafical functionalities. For the first 2 I am not entirely sure, whether or not it is even possible to test them using a GUI testing tool like QTP/UFT. This would need tpo be investigated in connection with R&D. If you are interested, please feel free to open a support case with our FT Support team via the case manager at http://support.openview.hp.com.

 

Regarding the grafical parts the new Insight functionality can be used, if the standard object recognition does not work as expected. SVG uses effectively also a XML like design, so, what it may be possible to use XML checkpoints for this.

 

5. Summary

 

So to summarize, althoguh HTML 5 is not listed as supported in the PAM, that HTML parts, that are already part in the HTML 4 standard, are still supported and can be dealt with without any issue. The enhancements in HTML 5, may not be supported out-of-the-box, however, you may be able to work around them. If a specific object types, like video or audio objects, it is highly recommended to open a case with FT Support.

 

I hope these information helped clarifying the situation. Feel free to ask if anything is unclear.

 

Best regards,

Tino Pacholski

Functional Testing Support Engineer

[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.