Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser Independent Scripting in QTP 9.1
#1
Solved: 10 Years, 8 Months, 4 Weeks ago Question 
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
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
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.)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 8 Months, 4 Weeks ago
Thanks for your help Ankur,I will try it and get back to you.
Reply
#4
Solved: 10 Years, 8 Months, 4 Weeks ago
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.
Reply
#5
Solved: 10 Years, 8 Months, 4 Weeks ago
hi yrsr

can you explain me about the tabbing option.

thanks in advance.
Reply
#6
Solved: 10 Years, 8 Months, 4 Weeks ago
tools-----internet options-------general tab--------setting-------disable or uncheck the check box
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)