Micro Focus QTP (UFT) Forums
UFT does not recognize objects when meta tag is used with http equiv x ua compatible - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: UFT does not recognize objects when meta tag is used with http equiv x ua compatible (/Thread-UFT-does-not-recognize-objects-when-meta-tag-is-used-with-http-equiv-x-ua-compatible)



UFT does not recognize objects when meta tag is used with http equiv x ua compatible - akilamurugesh - 08-25-2015

Hello All,

I am testing a Web application with UFT 12.01.
As my application is having alignment issues with IE11, development team is trying to over-ride the IE that is used to render the page using the following code .

Code:
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=5">
..
Note: The X-UA-Compatible meta tag allows web authors to choose what version of Internet Explorer the page should be rendered as.

After this code was deployed, UFT was unable to identify any of the objects in the web browser.

However, when I update the meta tag as below, UFT is able to identify objects in the web browser, but still the alignment issues persist .

Code:
<html>
<head>
<meta http-equiv="content-type" content="IE=5">
..

Can you please let me know what should be done to make UFT to recognize objects when <meta http-equiv="X-UA-Compatible" content="IE=5"> is used.

Note: We are using object repository. We have a customized property for every field (say : qt_id) that is configured in UFT.