|
HP QTP Experts - Here is a Great Opportunity for You
Boost up Your Earnings !!!!
SoftwarTestingGenius Team is looking for Couple of Experts on QTP 11.0 for being on our panel of Online-Trainers for imparting training to students aspiring to learn & get certified on QTP 11.0. Tester Friends having good expertise on QTP & flair for teaching On-line - Write to us at software.testing.genius@gmail.com for full details on training & lucrative earnings.
******************************************************************
"Full Study Material For ISTQB - Foundation and All 3 Advanced Level Certification Exams" ******************************************************************
Tips to Optimize HP QTP 11.0 Scripts to Yield Better Performance
We use Automated-testing tools to optimize our manual testing processes. But in order to reap full benefits of any automated testing tool, we must know the complete ins and outs of the tool otherwise it would be a huge waste of money spent on automation. We have to learn the automation tool very thoroughly. We also need to learn the language of the automation tool to do coding more effectively and efficiently. I believe that a software testing tool is as good as the person who is actually using it.
I have been getting so many emails from my esteemed readers asking about HP QuickTest Professional tutorials, QTP tips and tricks etc. Some readers even complain that their QTP scripts are too slow to execute. This time I decided to write a post on how to use QTP more effectively which means how to make our QTP scripts perform better. In order words, this post will throw light on some points, which will optimize your QTP scripts.
Some of the QTP optimization tips can be:
Tip – 1: You should not use hard coded wait statement until absolutely necessary. Instead of the wait statement, you should use either exist or synchronization (sync) statements. The wait statement waits for the number of seconds, which have been provided. For example using wait(5) will wait for 5 seconds even if the browser gets into a ready state even after 2 seconds which means a waste of 3 seconds. Imagine how much time would be wasted if you have say 10 wait statements per script and you are running a batch of 500 scripts. A better alternative is using sync or exist statements for example:
Browser("").Page("").Sync
var=Browser("").Page("").Exist(2)
|