Hey Suman, Thanks for reply.
Do i need to add this property in Mendatiory propety or Asssestive Property.? Since we have automationId (of a control) as mendatory property only and we can not add any other property. is it fine if I add it in Assestive property ..? Regards, Ashish Parmar On Jan 10, 6:24 pm, suman ch <[email protected]> wrote: > 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- Hide quoted text - > > - Show quoted text - -- 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
