Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP turn off test object
#1
Solved: 10 Years, 9 Months ago
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
Reply
#2
Solved: 10 Years, 9 Months ago
basically you are looking for Descriptive programming.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is Window Test Object adityasrinivasb 0 2,010 10-23-2013, 12:32 PM
Last Post: adityasrinivasb
  Can we access a table element in Script at runtime without a corr. test object? sepgs2004 1 2,910 10-14-2013, 07:05 PM
Last Post: anil2u
  Create Test Object in Object Repository Manager bgold01 3 6,035 10-09-2012, 07:43 PM
Last Post: Brian.Osborne
  Logical name of the test object vIns 0 3,802 03-17-2012, 07:07 AM
Last Post: vIns
Toungue QTP Test Parameters scope in QC Test Set bfakruddin 0 2,004 02-02-2012, 04:05 PM
Last Post: bfakruddin

Forum Jump:


Users browsing this thread: 1 Guest(s)