Hi, The problem is not with the wait function. Please check the properties of WpfWindow in the repository. Its not matching with your application. Add some more properties or modify the existing properties such that it matches in with your application.
Regards, Suman Ch On Tue, Jan 10, 2012 at 4:58 PM, Ashish <[email protected]> wrote: > Hello Everyone, > > I am automating a WPF application. here is some code. > > timeOutInMiliSec = 5000 > WpfWindow("TestApp").WpfButton("Ok").WaitProperty("canfocus", true, > timeOutInMiliSec) > > This functionallity is not working. It crashes my application and > gives below error. > > "Cannot Identify the Object."[WpfWindow](of Class Window). Verify that > this object's properties match an object currently displayed in your > application" > > how do i solve this issue? > > Thanks in advance, > Ashish Parmar > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
