Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPF dialog message text
#1
Not Solved
Hello,
In QTP 11, win XP GetVisibleText was fetching me the message displayed in a WPF dialog.
In Win 7, GetVisibleText provides the title of the dialog box. I tried GetROProperties, GetTOProperties etc. No luck.
In object spy, WpfWindow has the dialog underneath which I see a Static with the name as the message displayed in the dialog. I have no means to get into the displayed message now. Only way I could see the message was
WpfWindow("Windowname").Dialog("Dialog Title").Static("Displayed message").GetVisibleText -> which provides the displayed message. This doesnt make sense since I am trying to find the displayed message itself through script. Please advice on any possible methods to get in there.
Thanks!!
FYI: I have all the required add-ins and patches for .NET and WPF.
Reply


Messages In This Thread
WPF dialog message text - by vipuna - 10-07-2011, 03:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no action on click for particular wpf button jlavrecka 1 1,463 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,556 09-16-2018, 03:48 PM
Last Post: vijilesh
  Issue in QTP WPF vimal_selvam 5 14,311 06-26-2018, 05:40 PM
Last Post: rateebhatt
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,533 11-15-2017, 03:42 PM
Last Post: Ankur
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 1,918 10-25-2016, 06:57 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 2 Guest(s)