Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > C-Sharp > Automation


Search:
What's New - What's Hot
Web/HTTP Request and Automation Libraries  Version: 0.00     Price: $0.00  
Total Hits: 34  |  Today: 0Author: daluu      Rating:  
Read Reviews | Write Review |  Your Rating: 

While working on web/HTTP automation a while back, I noticed that there weren't any available solutions for making HTTP requests with support for session state persistence in VBScript and .NET. You can use cookies in .NET's web request or web client classes, but to use them to support session state, you would have to write your own wrapper interface or library. VBScript can use Microsoft's version of XmlHttpRequest, but that doesn't come with built in support for cookies, so you have to write yo...

Simple PowerPoint Automation using C#  Version: 0.00     Price: $0.00  
Total Hits: 42  |  Today: 0Author: Gigy      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a simple way of creating a Microsoft PowerPoint document through the C# language....

Word Automation  Version: 0.00     Price: $0.00  
Total Hits: 44  |  Today: 0Author: Prathapachandran.v      Rating:  
Read Reviews | Write Review |  Your Rating: 

Word Automation is the development of software routines which help optimize or automate existing word procedures. There are mainly two ways to automate word using the technology used. Late Binding and Early Binding. Before coming to the automation, a brief introduction about these technologies are necessary....

UI Automation with Windows PowerShell     
Total Hits: 222  |  Today: 0Author: Dr. James McCaffrey      Rating:  
Read Reviews | Write Review |  Your Rating: 

Though it has only been around for a relatively short amount of time, Windows PowerShellTM is already one of my favorite tools. I recently discovered that Windows PowerShell has all the features you need for creating a tiny library that will enable you to write ultralightweight UI automation.

In this month's column, I will show you how to create a small collection of custom Windows PowerShell cmdlets that perform Windows® UI automation tasks. These include obtaining handles to application...

Build a class to generate random passwords     
Total Hits: 352  |  Today: 0Author: codeproject      Rating:  
Read Reviews | Write Review |  Your Rating: 

You’ll have come across many situations in which you will need to generate a random password comprised of random alphanumeric and punctuation characters. While there are many tools out there that will do this for you, why not write a class in C# that will do it for you, especially when C# makes it so simple and easy....

Help System Automation     
Total Hits: 87  |  Today: 0Author: Amr M. K.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This simple program shows how to generate a help system using an existing Word document. The program generates HTML files and XML file to be added in the Web project.

In this article, I just give the main ideas. For more details, check the source code and the sample Word document....

Painless Automated Web UI Testing     
Total Hits: 75  |  Today: 0Author: Todd Anglin      Rating:  
Read Reviews | Write Review |  Your Rating: 

When it comes to developing software, UI testing is usually the first thing to go when schedules and budgets get tight. Simply put, tests are too hard to create, too hard to maintain, and deliver too little return on time invested. Until now. Telerik and ArtOfTest are changing the way developers and QA engineers at companies of all sizes think about automated web UI testing....

Automate Entity, DAL and SP Coding     
Total Hits: 25  |  Today: 0Author: Jayaprakash V      Rating:  
Read Reviews | Write Review |  Your Rating: 

Writing Add, Update, Delete code for different pages(modules) and creating Entities is one of the most boring work for the developer.

So, let's automate these and optimize the coding....

How to Automate Exporting .NET Function to Unmanaged Programs     
Total Hits: 87  |  Today: 0Author: Selvin      Rating:  
Read Reviews | Write Review |  Your Rating: 

A few days ago, I was writing a program (Terminal Services addin). The first problem was that I couldn't write this in C# ... Ok. I started writing it in C++/CLI. But there was another problem - mstsc.exe doesn't like to load such a library. Ok. No problem. I started another project (in C++/CLI - the first I change to pure C++) which exports one function. The first library loaded the second one and everything worked. But for dependencies, I needed easy deployment without installing VC80 runtimes...

Get the Toggle State of a Check Box Using UI Automation     
Total Hits: 51  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic shows how to use Microsoft UI Automation to get the toggle state of a control. This example uses the GetCurrentPattern method of the AutomationElement class to obtain a TogglePattern object from a control and return its ToggleState property....

Navigate Among UI Automation Elements with TreeWalker     
Total Hits: 103  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic contains example code that shows how to navigate among Microsoft UI Automation elements by using the TreeWalker class. The following example uses GetParent to walk up the Microsoft UI Automation tree until it finds the root element, or desktop. The element just below that is the parent window of the specified element....

Find a UI Automation Element for a List Item     
Total Hits: 84  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example shows two ways of retrieving a specified item from a list, one using TreeWalker and the other using FindAll. The first technique tends to be faster for Win32 controls, but the second is faster for Windows Presentation Foundation (WPF) controls....

Use the AutomationID Property     
Total Hits: 64  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic contains scenarios and sample code that show how and when the AutomationIdProperty can be used to locate an element within the UI Automation tree. AutomationIdProperty uniquely identifies a UI Automation element from its siblings. For more information on property identifiers related to control identification, see UI Automation Properties Overview....

Find a UI Automation Element Based on a Property Condition     
Total Hits: 109  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the following example, a set of property conditions are specified that identify a certain element (or elements) of interest in the AutomationElement tree. A search for all matching elements is then performed with the FindAll method that incorporates a series of AndCondition boolean operations to limit the number of matching elements....

UI Automation and Screen Scaling     
Total Hits: 38  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Windows Vista enables users to change the dots per inch (dpi) setting so that most user interface (UI) elements on the screen appear larger. Although this feature has long been available in Microsoft Windows, in previous versions the scaling had to be implemented by applications. In Windows Vista, the Desktop Window Manager performs default scaling for all applications that do not handle their own scaling. UI Automation client applications must take this feature into account....

Raise Events from a UI Automation Provider     
Total Hits: 50  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the following example, a UI Automation event is raised in the implementation of a custom button control. The implementation enables a UI Automation client application to simulate a button click....

Create a Client-Side UI Automation Provider     
Total Hits: 63  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example code can be built into a dynamic-link library (DLL) that implements a very simple client-side provider for a console window. The code does not have any useful functionality, but is intended to demonstrate the basic steps in setting up a provider assembly that can be registered by a UI Automation client application....

Implement UI Automation Providers in a Client Application     
Total Hits: 54  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic contains example code that shows how to implement a client-side UI Automation provider within an application. This is an uncommon scenario. Most often, a UI Automation client application uses server-side providers, or client-side providers that reside in a DLL....

Return Properties from a UI Automation Provider     
Total Hits: 47  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic contains sample code that shows how a UI Automation provider can return properties of an element to client applications. For any property it does not explicitly support, the provider must return null (Nothing in Visual Basic). This ensures that UI Automation attempts to obtain the property from another source, such as the host window provider....

Enable Navigation in a UI Automation Fragment Provider     
Total Hits: 52  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example code implements Navigate for a list item within a list. The parent element is the list box element, and the sibling elements are other items in the list collection. The method returns null (Nothing in Visual Basic) for directions that are not valid; in this case, FirstChild and LastChild, because the element has no children....


1  2  3  4  


Disclaimer - Privacy
© 2002-2012 DevASP.net