Micro Focus QTP (UFT) Forums
Browser Independent Scripting in QTP 9.1 - 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 Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: Browser Independent Scripting in QTP 9.1 (/Thread-Browser-Independent-Scripting-in-QTP-9-1)



Browser Independent Scripting in QTP 9.1 - Deepak - 04-09-2008

Hi,
I wrote the script in IE 6.0, but I want to run this scripts on IE7. When I run the script in IE 6.0 it is working fine, but when i run the script in IE 7.0 then it is not running properly.
Will the script execution will vary for IE 6.0 and IE 7.0,if yes then how can I resolve this issue?
How we can develope the Browser independent script in QTP 9.1.

Thanks & Regards
Deepak Mishra


RE: Browser Independent Scripting in QTP 9.1 - Ankur - 04-09-2008

Though scripts created in IE6 are expected to run in IE7 but still it's not fully guaranteed because with every new version the browser vendors like MS, Firefox change/add some functionality which might effect your test.

Anyways it should only effect a small portion of your code.

So you need to tweak your code a little to gain "full browser independence"( suggestion: you can use conditional statements depending on browser.)


RE: Browser Independent Scripting in QTP 9.1 - Deepak - 04-09-2008

Thanks for your help Ankur,I will try it and get back to you.


RE: Browser Independent Scripting in QTP 9.1 - yrsr2003 - 11-18-2008

Hi

When you try to execute scripts developed in IE 6.0 on IE 7.0 browser,My suggestion would be just uncheck the Tabbing option in IE7.0 Rest all your code should work on the IE browser's Independent of Versions.

With my experience i have developed scripts on IE 6.0 and executed on IE 7.0 by unchecking the Tabbing option in IE 7.0.

They worked fine.

Please let me know if you have any questions/Suggestions.


RE: Browser Independent Scripting in QTP 9.1 - Gowtham kiran - 03-26-2010

hi yrsr

can you explain me about the tabbing option.

thanks in advance.


RE: Browser Independent Scripting in QTP 9.1 - shivu.impu - 02-14-2012

tools-----internet options-------general tab--------setting-------disable or uncheck the check box