Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPF Object problem
#1
Hi,
If i record qtp11 generate the statement as
SwfWindow("").SwfObject("").WpfWindow("").WpfButton("Ok").Click

but if i write the same code with DP, its giving an error saying that WpfButton object cannot be identified,check for swfobject parent object property.

Please give me the solution
Reply
#2
hi sowmya,

Can u plz spy the object and paste the screenshot of it?

Regards,
Ankesh
Reply
#3

.zip   object spy.zip (Size: 48.96 KB / Downloads: 79)
.zip   Recorded.zip (Size: 32.62 KB / Downloads: 80) please check it out
Reply
#4
Ok.. got it.

Script seems to be fine. As u have said earlier that u r trying to use DP for the code bt u r getting an error. What error are you getting? Plz paste your DP code.

Meantime, you can refer the link http://www.joecolantonio.com/2011/02/03/...her-issue/

It might help!!
Reply
#5
Ya i got it.I included the mandatory property and value while writing DP it works fine.


Thanks a lot for reply

Reply
#6
Glad that its working Fine. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)