Micro Focus QTP (UFT) Forums

Full Version: How can I check Roproperty of a specific object type from a form?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
Can anyone tell me how to check Roproperty of a specific object type from a form using DP?

I am working with a web form and it mostly consists of Labels,txt boxes and chk boxes. I need to get the run time value of the static txt from the "labels" or "other instructions" and check the Font properties with the requirement. I am using QTP V10.

1. I want to create a scenario where i can get the RO Property of all the static txt (including labels) and check the font properties (size, type, color etc) against any given requirements.

2. if a paragraph consists of static txt with a mixture of diff font size and some of the words are bold and some of them are regular how do i check the Roproperty of that paragraph and compare against multiple arguments if it is a requirement?

Please note that the purpose of my action is for automating the scenario and i am using DP in QTP10.

Is there any one who can answer the questions plz and provide some good code with reasonable explanation?

Thanks in advance.

Raj