what is Property......End Property loop? how to write sript
for it in QTP



what is Property......End Property loop? how to write sript for it in QTP..

Answer / Shailza Singh

The 'Property' keyword in QuickTest Professional (QTP) is used to interact with the properties of objects on the application under test. However, there isn't a specific concept called 'End Property loop'. Instead, you can use the 'For Each' loop to iterate through multiple properties of an object.nnHere's an example of how to use the For Each loop with Properties:nn```javascriptnSet obj = Browser('object_name').Property('property_name').FindObject("Value","value")nFor Each prop In obj.GetUnderlyingObject.Propertiesn Log.AppendMsg prop.Name & ':' & prop.ValuenNext :propn```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

1 Answers  


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


what is a good testcase?

3 Answers   Wipro,


how qtp handles customised object

1 Answers  


when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.

1 Answers  


What is Automation frame work.How we will prepare in real time.

9 Answers   AppLabs,


What is output value? How many types of output values are there in qtp?

1 Answers  


How can you give wait up to 10 seconds in qtp?

1 Answers  


What is the use of environment variables?

1 Answers  


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1 Answers   Ordain Solutions,


How you can decide which type of object repository you have to use?

1 Answers  


Categories