Print Page | Close Window

Understanding Test Settings and Options settings

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=7396
Printed Date: 30Dec2024 at 11:05pm


Topic: Understanding Test Settings and Options settings
Posted By: Mithi25
Subject: Understanding Test Settings and Options settings
Date Posted: 30Nov2009 at 11:08pm
It is usual that people will be getting confused with different settings/options available in QTP IDE.

It is necessary to have clear understanding about different settings/options in QTP and the difference between them.

Remember the below two facts.

1.IDE Setting

Settings/options done for QTP IDE will be available only for the particular instance of the QTP installation. i-e If you set an option in QTP installed in Computer1 won't be available in QTP installed in Computer2.. It will be available for all the Tests in Computer1.

2.Test Setting

Settings/options done for particular Test (eg. Test1) will be available for that Test only. It won't be available for other Tests(e.g Test2). But, note that Test1 will keep the settings/options even when we copy the Test1 from Computer1 to Computer2.

Now we will see these two type of settings with examples and screenshots.

The Test setting can be done from below screen which can be accessed from Files->Settings.

http://2.bp.blogspot.com/_MAr0lRJ3mPk/SiAVAq8dhjI/AAAAAAAAAQ8/4PbcNakT62U/s1600-h/testSetting.JPG">


In this screen if you do any change, that change will be applicable only to the particular Test. For example, if you set an Environment variable "username" for Test1, the environment variable "username" can be used within Test1 only.

We need not do anything manually to copy these settings when copying the Tests to another machine.


The QTP IDE settings/options can be changed from below screen which can be accessed from Tools->Options.

http://2.bp.blogspot.com/_MAr0lRJ3mPk/SiAVu_bAqnI/AAAAAAAAARE/-fyJt_-KOvU/s1600-h/idesetting.JPG">

All the settings done in this screen will be applicable for all Tests. But it will be applicable within the same machine only. For example if you set Run mode as Fast in your Computer, then all the Tests will be executed in Fast mode in your Computer.

If you want to run all the Tests in Fast mode in other Computers also, then you need to transfer this setting to other computers.

Setting can be easily transfered from one machine to another machine using QTP automation object model vbs script. This vbs script can be automatically generated by pressing "Generate Script" button.

-------------
http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here



Print Page | Close Window