Forum Discussion

googleid_109862's avatar
googleid_109862
New Contributor
13 years ago

Test Complete is not identifying the WPFObjects

Hi,



I am trying to automation Lawson Smart Office application.

When I trying to record the steps for a Login scenario on a WPFObject Password Prompt window Test Complete is not recording the steps and also If I try to Spy the Object Information its just identifying the windos but not identifying the user name and password text boxes inside the Password prompt window.



Plz help me how to identify the objects inside the Password Prompt window.

If I login to the application then its identifying all the objects inside the main window.





Regards,

Shankar L

4 Replies


  • Hi Shankar,


     


    What is the value of the ClrFullClassName property of the prompt window? You can find it in the Object Spy window.


     

  • vajindarladdad's avatar
    vajindarladdad
    Frequent Contributor
    Hi Shankar ,

    This has happened to me lot of time.

    I would recommend you to use , FindChild methid to find these objects and then insert tex into it and click OK button.



    Also , as Tanya has mentioned , give a try to find the object using "Object Spy". [If the object is able to map , it will highlight with red rectangle].



    Once you map it , you can see the advanced properties , fields and methods of the mapped object. You can use the suitable method to insert text into it.



    Hint:

    If both of the method does not work. Record a script. It may show you some co-ordinates and you can use combination click and keypress to insert a value to these textboxes.

  • Hi Shankar,


     


    I have never tested the Mango.UI.Services.PasswordPrompt control. Maybe you can test this control via MSAA, but I'm not sure. Can you create a sample app with this control and attach here so that we could try testing it with TestComplete?