using coded ui on infragistics winform controls - c#

I've recently decided to take a look at automated UI testing using vs2010's coded UI. However, I've come across some problems, namely a FailedToPerformActionOnBlockedControlException when playing back selecting a value from a combo box.
A quick search for this exception and infragistics and coded ui seems to say that there is no formal support for infragistics winform controls using coded ui however several websites has mentioned using coded ui extensions.
Has anyone had experience with successfully making coded ui recognise infragistics controls? such as the combo box, ultragrid etc...?

My company uses our own controls that inherit from Infragistics controls. See this related question for tips which may help.
DevExpress LookUpEdit And Coded UI Tests

If you want a robust solution for automated testing of Infragistics WinForms controls, and are willing to use a different tool, have a look at Infragistics TestAdvantage, a plugin for HP QTP / IBM RFT.

Support for the CodedUITest framework is being looked at by Infragistics and a beta may be available late in Q1 of 2012. There are more details in the following post:
http://blogs.infragistics.com/forums/p/10294/323529.aspx#323529

Little update:
For Winforms there targetting to release support for CodedUI in their Netadvantage 2012 Volume 2 product.
Expected in October 2012

You can use RANOREX. It worked for most controls, for example the Ultragrid
See http://www.ranorex.com/

Related

Is there any DataGridView Like control in MFC

I want to create a Database application in MFC by using VS 2010 and i want to know is there any [.NET Winforms] DataGridView Like control in MFC.
You can check this link to see how you can create MFC control from WinForms Control. Also here is the discussion about the issue.
As far as I know there is no built in solution from Microsoft. You will need to roll your own. There are some pre-built solutions but I have never tried them.
https://www.google.com/search?q=MFC+datagrid&aq=f&oq=MFC+datagrid

Any .NET Winforms control which look like this QT's QPushButton?

Is someone know any .NET Winform control which look like this button control?
QPushButton:
http://zetcode.com/gui/csharpqyoto/layoutmanagement/
You have several options here. You aren't specific about exactly which part of the platform you are using, but if using Winforms, you can certainly customize the buttons to some extent.
If you are using WPF, you can pretty much make it look exactly like you want in XAML. Check out Expression Blend.
As #Dimitri put it, the sky is the limit, but you may need to do the leg work.
You can create custom controls according your need and have its reference added to your project. you will have it added to your toolbox that you can use.
If you are refering to a button that is located on this example form:
We currently finishing our own application that has rather similar looking buttons. We did this by using a third party component. Steps are:
We purchased DevExpress.com's WinForms library.
We developed our own DevExpress Skin (with the help of an external screen design guy)
This was a bit of a work and some amount of money but the results look pretty neat.

show timeslice with timeline in c#

I want to implement sjf (Scheduling) with c# and I need timeline for show how it workes. For example in this timeslice that process do its job. I want to show it graphically.
How I can do that?
Something like this :
i can implement, i just dont know how to show it graphically like that.it is windows form app in c#
To graphically display a schedule as you describe, using WinForms / C#, consider using a Gannt chart control.
Don't try building the control yourself, there are good off-the-shelf controls that are robust, low priced, well supported and have loads of sample code.
Telerik for example: http://www.telerik.com/products/winforms/chart.aspx
I mentioned Telerik as I've used their WinForms, WPF and ASP.Net controls before, they have plenty of different snippets of sample code, so it's easy to test out and they are well maintained with regular updates. Get a trial copy, see how it works for you and then go from there.
There are many others sources of Gannt controls, see previous StackOverflow topic: Gantt Chart Controls on Windows Forms

How to create custom C# widgets?

What is the best approach and/or tool?
The trackBar in the MS Visual Studio 2008 Toolbox is inadequate.
It needs to be optimized for an 800x480 touch screen in extreme environmental conditions.
The button on the trackBar needs to be larger so it is easier for the user to move the control using a finger. Its possible with the existing widget, but difficult since the button is small. I am using C# in MS Visual Studio 2008, but don't know if it is WinForms or WPF (this is my 1st C# project). The target is an old windows-ce tablet. It would be great if step-by-step instructions on how to create a custom control already exist. An alternative would be a tool I could purchase.
Here are a couple tutorials on creating custom controls:
Using Winforms
http://blogs.msdn.com/b/jfoscoding/archive/2004/12/06/275505.aspx
http://msmvps.com/blogs/deborahk/archive/2009/10/13/winforms-user-controls-101.aspx
Using WPF
http://msdn.microsoft.com/en-us/library/cc295235.aspx
http://www.wpftutorial.net/HowToCreateACustomControl.html
It might be a good idea to read up on the basics, then ask more specific questions that you have regarding the nuances of creating a custom control.

Which windows form control is best for presenting data in a tabular fashion?

I need to present the output on the form in rows and columns. Is there a control to make that task easier? I am using visual studio 2010 and coding in C#.
You're looking for DataGridView.
Which looks like so (don't worry, the colors are fully configurable (;):
And has many advances capabilities such as DataBinding and paging.
Here's a tutorial to get you started.
Though you asked about WinForms, if you use WPF, in WFP 4.0 (.NET 4) there's a DataGrid that you can use. It's quite flexible.

Categories

Resources