Micro Focus QTP (UFT) Forums
Unknown Object properties - 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: Unknown Object properties (/Thread-Unknown-Object-properties)



Unknown Object properties - vijayendra.shukla - 06-08-2010

Hi,

When you type "Services" command on the QTP and then type a period (.), few properties associated with "Services" object are auto-populated. But I have seen in some of the scripts that an listed property "IterationNumber" has been used with the "Services" object.

When I searched for the IterationNumber, I found out that this is obsolete method but no description at all in the QTP Help. Also there was no alternative suggested in the Help topic.

Can anyone please tell me if this is obsolete then what else can we use in place of it?

Also how do we get to know the un-listed properties of any object that are not mentioned anywhere but are in use. Because I have seen situation like above in many places where property name is used but is not mentioned for that particular object. I hope I do not sound confusedSmile.

Thanks,
Vijayendra


RE: Unknown Object properties - basanth27 - 06-09-2010

Which version of QTP are you using ? I dont see "IterationNumber" on QTP 10.0.


RE: Unknown Object properties - vijayendra.shukla - 06-09-2010

Right now I am using 9.2 version. Even i do not see this in the 9.2 but there are some scripts in which this command had been used. and in in help i found this command under obsolete with no details at all. But it works without any error.


RE: Unknown Object properties - basanth27 - 06-09-2010


Which version of QTP are you using ? I dont see "IterationNumber" on QTP 10.0.
[/quote]

Right now I am using 9.2 version. Even i do not see this in the 9.2 but there are some scripts in which this command had been used. and in in help i found this command under obsolete with no details at all. But it works without any error.
[/quote]

Yeah, it will work without errors because it is backward compatible.Atleast thats what the help says. Thanks for pointing it out, i suggest you replace the method to make sure further ahead you dont face any problems. But if you ask me do you know any further, I would say, the bible(qtp help) has nothing more to offer Smile.