When I worked on ASP.NET web forms, I found IE developer tool extremely useful to debug my Javascript and CSS issues.
I cannot seem to make that tool work with my Silverlight application. I was trying to use "Select Element by Click" feature and it was not selecting any elements on my silverlight application.
Any ideas what's going on?
The elements on your Silverlight application are not HTML elements, they are embedded in your Silverlight application, so the developer tool cannot see them.
As Jeff Yates pointed out Silverligh is object, so you cannot inspect something. I can suggest to try SilverlightSpy.
Related
We have a desktop application developed with below technologies
WPF,
Chromium,
awesomium controls
Can anyone suggest me any tool for automating this application
We tried all popular tools in market but no luck.
Let me know if anyone have worked on these application or please provide any suggestions
I had similar application to test. I used UIA for WinForm and WPF.
After a lot of research, For Chromium interface, since it's not UIA implementation and browser embedded UI and since the code for web browser and desktop is same. I preferred testing that module in web browser than desktop.
The only other way I found is by using Sikuli. Since it is based on images, I couldn't rely on it.
You can use Ranorex studio, there inside plugin sections you can configure CEF settings as well as WPF settings.
More info - https://www.ranorex.com/
We are working on .Net desktop Empower application, which is completely developed on .Net 4.0 version framework. We are using UFT(QTP) 12.01 as automation tool.
when I am trying spy on any object it's treating as SwfObject instead of it's original property, I tried recording way and it doesn't recognize properly in expected way, for ex: if I spy on Menu bar with list of icons and dropdown menus, UFT recognizing everything as single SWFObject and no use. It's behaving the same way for all the objects.
Selected ADD Ins are : Web, .Net, WPF, Active X, Visual Basic
And also "Infragistics Inc." is used as CompanyName which I have come across in Properties spy window.
We are trying to contact HP support guys too.. meanwhile can somebody post the solution if you come to know, Thanks a million in advance !!
I hope you got solution, If not please use below help,
We are using Desktop application and it developed in Adobe flex, First we got same problem what you are facing later we found soultion, May be it will help you.
Open your desktop application with UFT tool and later try spy or object repository it will recognise.
To open application using UFT we used systemutil.run "application path"
To further elaborate on sateesh response, the following ways:
launch application using Systemutil
Systemutil.Run "C:\Program\YourApplication.exe"
some other tips: https://www.learnqtp.com/ways-to-launch-your-application.
HP UFT menu: Run > Record and run settings
Thanks I appreciate your help, we figured out the issue. We used Keyboard strokes for the objects which do not have tag names or recognizing the objects as a single SWFObject.
Does anyone know of a way to simulate microsoft word using silverlight in a web browser? I am not looking for a commercial application but rather an open source solution. I do not need the complete functionality of word. Something simple that will display the text of a document will do for the first version. Also, silverlight cannot be running in out-of-browser mode and I cannot use a WCF service.
Thanks for your time!
You can start with the Silverlight Text Editor in Microsoft Sample.
I am looking for a way by which I can automate my application build on Silverlight.
I need to use Selenium as required, can anyone tell a process or any good tutorial by which I can achieve what I require.
Thanks in advance.
Take a look at:
http://code.google.com/p/silverlight-selenium/
and
Silverlight testing: Watin vs Selenium comparison
Also bear in mind that Silverlight's future looks uncertain:
http://www.hightechnewstoday.com/apr-2011-high-tech-news-archives/74-apr-13-2011-high-tech-news.shtml and http://www.electronista.com/articles/11/11/09/microosft.may.axe.silverlight.after.major.release/
etc. etc.
So you may prefer to consider HTML5 for future projects after completing your current Silverlight project, as HTML5 has a brighter future because of its cross browser support and efficiency compared with proprietary technologies like Flash and Silverlight.
I suggest Sikulix which a desktop automation tool using which you can automate almost everything. which uses text interpretation of image so that us can locate your component.
If you are using python selenium i suggest to use pyautogui which is nice python package to automate silverlight web pages.
We are just getting into Silverlight development at my workplace. Somehow two of our dev machines have been configured differently. I noticed that one of them has access to System.Web.Silverlight in the reference list, and the other doesn't. Both can create and run Silverlight applications from scratch.
What does System.Web.Silverlight do? Is it a legacy reference? If we need it, where do we get it from?
This dll provided the ASP.NET Silverlight server control which was designed to make it easier to create the object tag needed to describe the silverlight plug-in.
This server-side control was removed as of Silverlight 3, you are now expected to build the object tag yourself.
So yes its legacy so you don't need it.
Anthony is correct. If you are having trouble after you upgrade your products to Silverlight 3 - or just want an example on how to insert your SL app in to a page, create a new SL3 project and check out the sample ASPX and HTML pages (which are pretty much the same as each other now...)