|
|
|
|
|
| | Total Hits: 34 | Today: 0 | Author: daluu | 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... |
| | Total Hits: 42 | Today: 0 | Author: Gigy | Rating:  |
| |  This is a simple way of creating a Microsoft PowerPoint document through the C# language.... |
| | Total Hits: 44 | Today: 0 | Author: Prathapachandran.v | 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.... |
| | Total Hits: 222 | Today: 0 | Author: Dr. James McCaffrey | 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... |
| | Total Hits: 352 | Today: 0 | Author: codeproject | 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.... |
| | Total Hits: 87 | Today: 0 | Author: Amr M. K. | 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.... |
| | Total Hits: 75 | Today: 0 | Author: Todd Anglin | 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.... |
| | Total Hits: 25 | Today: 0 | Author: Jayaprakash V | 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.... |
| | Total Hits: 87 | Today: 0 | Author: Selvin | 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... |
| | Total Hits: 51 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 103 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 84 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 64 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 109 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 38 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 50 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 63 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 54 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 47 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 52 | Today: 0 | Author: Microsoft Corporation | 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.... |
|
|
|
|
|
|
|
|
|
|
|
|
|