Print Page | Close Window

automation using .Net

Printed From: One Stop Testing
Category: Types Of Software Testing @ OneStopTesting
Forum Name: Microsoft .Net Testing @ OneStopTesting
Forum Discription: Discuss All that is need to be known about Microsoft .Net Testing and its Tools.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=1076
Printed Date: 12Dec2024 at 1:26pm


Topic: automation using .Net
Posted By: Sumitra
Subject: automation using .Net
Date Posted: 28Apr2007 at 1:41am
I am not sure if i am in the right place. What does ".Net Testing" thread cover? Testing .Net AUT or using .Net to test AUT.

Anyway, have anyone used Window32 Application with P/Invoke method in .Net environment to write automation test?

What are the different between write automation in .Net environment and non .Net environment (using VC++)?



Replies:
Posted By: Sweta_2121
Date Posted: 28Apr2007 at 5:24am
Yes, it is virtually impossible to write good test automation to test a Win32 app in C# or

VB.NET without using P/Invoke.

Let me know specifically what you are trying to automate and I can probably let you know

whether you can do it via .net or need to invoke a Win32 api.

Using C# to automate is super easy, and the ability to effortlessly marshal win32 api's

increases its power. 



Print Page | Close Window