Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPF Objects
#1
Not Solved
Hi,
My code for descri[ptive programming was working fine but when comes to create object of WPF type it fails.

Can anyone tell the reason for this?and solution.
Reply
#2
Not Solved
You need the WPF add-in.
Reply
#3
Not Solved
I have installed them but even it is not recognising.
Reply
#4
Not Solved
I have the same problem. I do not create the wpfbutton in the OR because the text of the button will be changed. But I cannot create the wpfbutton in PD.
Anything I do wrong?
Thank you very muchSadSad
=======================================
Code:
Set CashButtonDesc = Description.Create
CashButtonDesc("text").value = szCashText
CashButtonDesc("wpftypename").value = "button"
CashButtonDesc("x").value = "854"
CashButtonDesc("y").value = "8"

If WpfWindow("Main").WpfButton(CashButtonDesc).Exist  Then
   WpfWindow("Main").WpfButton(CashButtonDesc).Click
End If
==========================================
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  WPF Container application crashing while recording. anil19 1 1,634 02-25-2014, 01:39 PM
Last Post: guin.anirban
  Not able to read all the columns in a DevEx WPF grid srisrinath2006 1 2,846 05-10-2013, 03:45 AM
Last Post: sria123
  qtp 10.0 recognition WPF Malini Murthy 5 4,039 03-21-2011, 04:46 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)