I am using Microsoft.VisualStudio.TestTools.UITesting to hand-code automated tests for a Silverlight web application. I am running into an inconsistent failure problem, and I need to understand what visual studio is doing when it runs a test.
Where can I find detailed technical information on the testing framework/engine in Visual Studio? Or to state more specifically, I am looking for information on what is going on 'behind the scenes' when I run a test.
Since you didn't specify any specific information that you are looking for, I'll link you to a couple of "portal" pages that I tend to have good luck with when searching for Coded UI information.
The first one is here: http://blogs.msdn.com/b/mathew_aniyan/archive/2009/12/10/content-index-for-coded-ui-test.aspx, it's also got some links to some blogs of Microsoft employees who specialize in the Coded UI testing framework.
The second one is a bit smaller, but the links are a bit more organized: http://msdn.microsoft.com/en-us/library/dd286726(VS.100).aspx.
I hope you find something useful on one of these.
Related
I keep hearing the terms low-code and no-code for development environments. I've always written code in full fledged C# environments, so this UiPath Studio UI is a bit strange to me.
Is UiPath Studio categorized as a 'no-code' development environment? A 'low-code' development environment is another term I've heard.
What categorization does UiPath fall into?
I hope this isn't considered an opinion based question
You can take the official UiPath Studio websites keywords:
UiPath Studio gives everyone from business users to advanced
developers the right automation canvas to build great software robots
—and organizations the right governance tools to manage it all.
What you have noticed was StudioX, but that is especially designed for process owners. I don't think that you really want to use that with some C# knowledge already.
Basically it gives you the possibility of no-code indeed. But that depends on what you need to achieve and how no-code is defined. Is coding starting with defining some semi-complex variables already? I would say no, but beginners might say yes, as this paradigm is not existing in a real world.
At the end it is a good mix of both. You need a control flow all the time on long processes. So you e.g. need to know how to use if-statements and that variable type checks are working different on each type. Also, if you go further and having a complex issue that can only be solved with invoking code or creating custom activities, you really need to code. Or you are lucky and find someone else's code on Go! or Connect. :)
And even further UiPath Studio is just one tool of many. What you can say is that UiPath Studio is never getting a high-level tool for specialists. It's designed for lazy RPA beginners and a little further. And that's good if you ask me.
What constitutes low-code or no-code is certainly up for debate. But UiPath themselves certainly advertise products they consider to be low-code and no-code.
UiPath StudioX
UiPath StudioX is advertised as being 'low-code.'
With StudioX, process owners like you get a no-code tool to build automations. With no-code drag-and-drop construction, a friendly interface, and pre-designed templates and scenarios, you could launch a robot on your lunch hour. StudioX Product Page
UiPath Apps
UiPath Apps is advertised as being low-code:
UiPath Apps includes a low-code app builder called App Studio. It lets you build visually appealing professional apps quickly using only a web browser through a rich library of drag and drop controls. Apps Platform Product Page
UiPath Studio
So where does UiPath Studio fit in? I'd say Studio certainly allows you to create UiPath robots with a low code approach. It's certainly not 'no-code' as even with loops and if statements you still need to add in some code like statements for the various conditions. And the ability to invoke a full fledged piece of code you've written certainly eliminates the ability to call it 'no-code.'
I think 'low-code' is a fairly accurate description of UiPath Studio.
I have been searching for UI prototype tools which requires little/no coding, along with decent UI features. In one project, I would like to be able to implement a drop down list which the user picks a choice, which can affect the list of choices shown by another drop down list. Mind me, I am fairly new to UI/UX design and web design. And no, I would not like to use HTML due to its inflexibility and it being difficult to modify/extend. Any suggestion of good UI tools, whether be it free or paid?
Probably should try using Microsoft Visual Studio Community or Enterprise. Community is the minimum but Enterprise has much greater number of benefits. Then, get the web development workload in order to use ASP.NET to develop the type of form you intend to get.
I'm developing a WinForm app in c# 4.0 and would like other (non-developer) colleagues to contribute writing a context sensitive end-user helpfile. First I thought I could use "HTML Help Workshop" from Microsoft, but it seems outdated (Vista and Windows 7 not supported).
Then I've looked at Sandcastle, but the documentation is lacking and I wonder if it is suitable for non-technical users to write end-user documentation.
So I read about RoboHelp, but it's way to expensive for me.
I'm getting lost in all the information that is available about helpfiles. Can someone help give some best practices or information on what tools to use and what output format I should target (still chm or other).
Great question. I like your idea of non-developers contributing to the end-user documentation.
This idea might motivate users and testers of your application to easily contribute to the documentation.
The first thing that comes to my mind, is using a some sort of wiki engine. You could build a simple function in your WinForm application, that fires up a browser and directs in to the wiki. You could use the context from which it is called to build up an url; e.g. http://dev-wiki.mycompany.com/LoginForm?action=edit. Here the name of the form ("LoginForm") is used in the url of a wiki page.
Alternatively, you could simply use the embedded web browser control for WinForms to access the wiki. That would look something like:
var url = GetWikiUrl(myForm);
browserControl.Navigate(url);
This would be very easy to embed in your application.
In a controlled (office) environment, this would be very easy to set up. In you production environment it might be a bit more difficult, but still doable. It might leverage some end-user contributions too.
For writing documentation, I use sphinx.
It lets you document in plain text and has various output formats (chm, html, pdf etc.).
Some of these (chm, html) can be used as context-sensitive help sources.
However simple, the sphinx user-interface (text editor and make file) might not be suitable for non-technical users.
I would recommend to use Help+Manual for creating CHM documentation. It's similar to MS Word and any PC user can start to contribute doc development after short education.
But this tool isn't free :(
The examples that Microsoft's Patterns and Practices provides are quite helpful:
about a half-dozen simpler QuickStarts which touch on specific issues
the StockTrader reference implementation, which is a fairly rounded application
but it lacks a more useful base application that reads and writes to a data source (XML or database), allowing users to login, edit data, logout, etc. (something like what ASP.NET MVC comes with).
Since Prism applications can get quite complex and lengthy (the StockTrader example is almost 300 files without tests), it would be helpful to have an application that takes care of the CRUD bulk that everyone needs to build for most apps anyway.
Does anyone know of any data-editing Prism example apps out there?
Here (http://petedoesstuff.net/Blog/?p=79) you'll find a bunch of links to the samples of using the Prism.
Particularly, LateNight (http://code.google.com/p/cwpfsamples/) may be what you need. It has login screen and data editing functions.
Its feedback I've seen a lot of. I'll pass this onto the Team and see if we can get some more examples put online around this space.
I'm currently writing my own demo app now, so i'll also try and put that online via my blog.
Scott Barnes - Rich Platforms Product Manager - Microsoft.
The reason data access was left out of the Prism RI is because it is largely irrelevant to Prism. I would think you're better off looking at something like DinnerNow for those kind of things.
It seems like MS really left a massive gaping hole in their automated testing tools in Visual Studio for web pages with AJAX components and I have been hard pressed to find any commentary or third party add-ons that remedy the problem. Anyone have any advice on automating web tests in MSVS for AJAX pages?
I eventually gave up trying, and just stuck with WATIR
I don't know if this will help, but you can try this:
https://github.com/pivotal/jsunit
EDIT:Sorry I reread your Q and realized you meant specific to VS. I don't know if you are familiar with Script#, but I had read some talk a little while back that someone was building a testing framework to use with that, and Script# can be used with MSAjax. Might be worth some investigation.
http://scriptsharp.com/