Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser Independent Scripting in QTP 9.1
04-09-2008, 02:56 PM
Post: #1
Question Browser Independent Scripting in QTP 9.1

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
Find all posts by this user
Quote this message in a reply
04-09-2008, 04:34 PM
Post: #2
RE: Browser Independent Scripting in QTP 9.1
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.)

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
04-09-2008, 06:58 PM
Post: #3
RE: Browser Independent Scripting in QTP 9.1
Thanks for your help Ankur,I will try it and get back to you.
Find all posts by this user
Quote this message in a reply
11-18-2008, 06:19 PM
Post: #4
RE: Browser Independent Scripting in QTP 9.1
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.
Find all posts by this user
Quote this message in a reply
03-26-2010, 03:06 PM
Post: #5
RE: Browser Independent Scripting in QTP 9.1
hi yrsr

can you explain me about the tabbing option.

thanks in advance.
Find all posts by this user
Quote this message in a reply
02-14-2012, 04:59 PM
Post: #6
RE: Browser Independent Scripting in QTP 9.1
tools-----internet options-------general tab--------setting-------disable or uncheck the check box
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  how to add object repositories to qtp through scripting sureshkumar 3 962 11-18-2011 08:25 AM
Last Post: sureshkumar

Forum Jump:


User(s) browsing this thread: 1 Guest(s)