Posted: Mon Apr 07, 2008 4:53 pm Post subject: test withot launching GUI
I mean i want to launch and test the GUI without seeing it. Is it possible? for example if i want to test a button a don't have to see the button graphicaly but i have just to check the instance button without launching the button.
I hope i am clear.
Marc,
It depends largely on the application you want to automate. There are several different approaches, but you might try the following:
1) Hiding the window and hoping that the application is still active:
- Use elements (form.Element) for working with controls.
- Use form.Hide() to hide the window.
- for clicking a button, you can do buttonElement.DoDefaultAction()
- this is implementation-dependent an can produce very weird results
2) Running the test inside a Virtual Server or VMWare guest OS
- This should run without any problems, use it if you dont want to have
a dedicated machine with a desktop to run your stuff on
3) Use a virtual desktop tool to run the application on another desktop
Note: Disconnected terminal- or remote desktop sessions usually don't work
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum