|
|
|
|
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 |
|||
|
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 |
|||
|
11-24-2011, 02:16 PM
Post: #3
|
|||
|
|||
RE: WPF Object problem
object spy.zip (Size: 48.96 KB / Downloads: 4)
Recorded.zip (Size: 32.62 KB / Downloads: 3)
please check it out
|
|||
|
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!! |
|||
|
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 |
|||
|
11-24-2011, 03:18 PM
Post: #6
|
|||
|
|||
|
RE: WPF Object problem
Glad that its working Fine.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help



