Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPF Objects
#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


Messages In This Thread
WPF Objects - by Amit Singh Chauhan - 06-10-2008, 05:22 PM
RE: WPF Objects - by FredMan - 06-14-2008, 01:51 AM
RE: WPF Objects - by Amit Singh Chauhan - 06-16-2008, 11:31 AM
RE: WPF Objects - by qtpnewbee - 06-21-2008, 02:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WPF Container application crashing while recording. anil19 1 1,644 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,865 05-10-2013, 03:45 AM
Last Post: sria123
  qtp 10.0 recognition WPF Malini Murthy 5 4,063 03-21-2011, 04:46 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)