Micro Focus QTP (UFT) Forums
QTP turn off test object - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP turn off test object (/Thread-QTP-turn-off-test-object)



QTP turn off test object - Carol - 02-22-2008

Hi There,

I am new to the QTP, and looking for some support here as regarding to how to use QTP.

When I record an action, QTP generated some sort of code here
Code:
Browser("Central Magement Console").Frame ("CMC_home")

Notice here. " Centeral Mangement Console" and " CMC_home" will be generated as different test objects and stored inside the test objectes repository. Then for each object there will be ome property content undernethe. Here I want to turn off this feature for recording such that I want the raw data to be recorded inside the code. What I will like to see is
Code:
Browser("Browser type:=Microsoft IE";"html id:=Central Mangement Console").Frame(html id:=CMC_home")
in other words, I don't want to store the object. I want to be able to program with a parameters value.

Many thanks

Carol


RE: QTP turn off test object - Ankur - 02-22-2008

basically you are looking for Descriptive programming.