Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPF Object problem
11-24-2011, 11:54 AM
Post: #1
WPF Object problem

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
Find all posts by this user
Quote this message in a reply
11-24-2011, 12:40 PM
Post: #2
RE: WPF Object problem
hi sowmya,

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

Regards,
Ankesh
Find all posts by this user
Quote this message in a reply
11-24-2011, 02:16 PM
Post: #3
RE: WPF Object problem

.zip  object spy.zip (Size: 48.96 KB / Downloads: 4)
.zip  Recorded.zip (Size: 32.62 KB / Downloads: 3) please check it out
Find all posts by this user
Quote this message in a reply
11-24-2011, 02:35 PM
Post: #4
RE: WPF Object problem
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!!
Find all posts by this user
Quote this message in a reply
11-24-2011, 02:54 PM
Post: #5
RE: WPF Object problem
Ya i got it.I included the mandatory property and value while writing DP it works fine.


Thanks a lot for reply
Find all posts by this user
Quote this message in a reply
11-24-2011, 03:18 PM
Post: #6
RE: WPF Object problem
Glad that its working Fine. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)