This is actually for a .NET program. Our biggest concern is that text is not getting clipped on labels and buttons. I currently have a test which will go through each form we need tested, get all the children into a set and then go through each one and use GetVisibleText and GetROProerty("text"). This will get the text which is actually shown on the program and what is supposed to be shown.
I am having problems though that sometimes the GetVisibleText does not return the entire text. For instance: One of our dialogs has the title "Marks Not Set" but it is clipped off to show "Marks Not S". Running the script brings back "Marks Not Set" for the GetROProperty("text") but for the GetVisibleText it only retrieves "Marks", even though it shows "Marks Not S". Is there a bug with GetVisibleText in v9.0 or should we be going about this a different way? And don't be afraid to use any in-depth answers...I just posted this in the beginner's forum because there wasn't an advanced one![Tongue Tongue](https://www.learnqtp.com/forums/images/smilies/tongue.gif)
Oh and another thing. A lot of elements on our forms are dynamically created. I.e. - Dialogs all use the same object, so all the labels and buttons will have the same name for each instance but the actual text will not. This prevents us from using an imported environment variable list containing each control name and text as there would be no way to distinguish between them.
I am having problems though that sometimes the GetVisibleText does not return the entire text. For instance: One of our dialogs has the title "Marks Not Set" but it is clipped off to show "Marks Not S". Running the script brings back "Marks Not Set" for the GetROProperty("text") but for the GetVisibleText it only retrieves "Marks", even though it shows "Marks Not S". Is there a bug with GetVisibleText in v9.0 or should we be going about this a different way? And don't be afraid to use any in-depth answers...I just posted this in the beginner's forum because there wasn't an advanced one
![Tongue Tongue](https://www.learnqtp.com/forums/images/smilies/tongue.gif)
Oh and another thing. A lot of elements on our forms are dynamically created. I.e. - Dialogs all use the same object, so all the labels and buttons will have the same name for each instance but the actual text will not. This prevents us from using an imported environment variable list containing each control name and text as there would be no way to distinguish between them.