Micro Focus QTP (UFT) Forums
How to verify in Web application, User Interface allignment in broswers? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to verify in Web application, User Interface allignment in broswers? (/Thread-How-to-verify-in-Web-application-User-Interface-allignment-in-broswers)



How to verify in Web application, User Interface allignment in broswers? - sunnyQTP95 - 12-16-2009

Hi,
The web application which I test is all fine in IE(6 & 7) browsers but sometimes distorted in GUI when opened in Firefox. Is there a way I can capture this problem using QTP 10.0? Do Let me know.
Thanks,
Sunny95


RE: How to verify in Web application, User Interface allignment in broswers? - Saket - 12-17-2009

hi Sunny,
would you like to explain your query a bit. what do you mean by distorted in GUI?


RE: How to verify in Web application, User Interface allignment in broswers? - sunnyQTP95 - 12-18-2009

Hi Saket,
Example- the Username and passwd edit boxes are one below other in IE, which is correct.Same is displayed in same row next to each other in Firefox.
From verification point, both editbox objects r present in FF but they r aligned in same row is wrong as per my reqirement. I need to capture this and report as fail case.

pls let me know if further details r reqired.
thanks - Sunny
======================================================


RE: How to verify in Web application, User Interface allignment in broswers? - Saket - 12-21-2009

I can think of a very basic logic for this, try may be this can be helpful
get 'x' and 'y' properties of both edit boxes.
if x is same for both and y differs - edit boxes are placed vertically i.e. in different rows
if y is same for both and x differs - edit boxes are placed horizontally i.e. in same row