Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translation Testing (.NET)
#3
Not Solved
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

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.
Reply


Messages In This Thread
Translation Testing (.NET) - by MikeZimmermann - 07-17-2008, 11:28 PM
RE: Translation Testing (.NET) - by gammaflare - 07-23-2008, 11:03 PM
RE: Translation Testing (.NET) - by MikeZimmermann - 07-24-2008, 01:14 AM
RE: Translation Testing (.NET) - by gammaflare - 07-26-2008, 03:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Automation testing steps for .net web applications? Ramadas 0 2,274 10-30-2013, 12:54 PM
Last Post: Ramadas
Question .net testing, Object not found on object repository error, what am i doing wrong? ptreey 6 6,493 04-08-2011, 12:25 PM
Last Post: invertednz
  Testing tool for .net and Kofax gamey06 0 2,029 01-11-2010, 11:26 PM
Last Post: gamey06

Forum Jump:


Users browsing this thread: 1 Guest(s)