silverlightleanft

Can't Find Elements on Silverlight App with LeanFT


I was trying to use LeanFT for testing Silverlight App for our project and I faced with one big problem, which is- The Spy Agent can not find elements on that particular App. I was trying to change Engine from LeanFT Setting, still the same. The interesting thing that Object Spy Indent. works well using HP UFT. I know that one of the solution will be to migrate all the Object Repositories to LeanFT, but I think is not the best solution. Have you faced with the same problem with LeanFT?

Thank you in advance.


Solution

  • To my knowledge LeanFT supports WPF, Winforms, etc. but currently doesn't support Silverlight.

    So spy will recognize your app as STD objects (standard window).

    For the same reason, if you want to automatically interact with this app using LeanFT code, you'll currently have to use (example for C#) the STD SDK or use the Mouse class to generate events on coordinates