Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetROProperty and GetVisibleText in QTP
#1
Not Solved
Hi All,

I'm facing a problem in QTP using GetROProperty for extracting text from Button and Static field in Windows Application.

Problem Faced:
String which is expected to be displayed in Button and static field is not displayed properly(it is having string cut) in UI. But on using GetROProperty it returns the expected text eventhough string cut is present in UI.
Other alternative is GetVisibleText.But when GetVisibleText is used also some portion of the text which is not displayed in UI is returned.Also QTP help file itself mentions not to use GetVisibleText as it return value may differ across platforms.

Can anyone help in sorting this out?Any other alternative?

Thanks in Advance.
Reply


Messages In This Thread
GetROProperty and GetVisibleText in QTP - by sreejith - 02-03-2012, 10:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GetVisibleText not retrives text from the object corretcly goldenjeeva 0 4,145 10-02-2013, 06:36 PM
Last Post: goldenjeeva
  Close Tab Recognizes GetROProperty. WHY??? Ayesha 5 3,817 07-24-2013, 10:39 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)