automatic test without gui

Ask general questions here.
melloul
Posts: 2
Joined: Mon Apr 07, 2008 10:40 am

automatic test without gui

Post by melloul » Mon Apr 07, 2008 10:46 am

hi

can we execute automatic test with ranorex components without seeing GUI?
output data will be checked during automatic test.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Mon Apr 07, 2008 1:19 pm

What do you mean by "without seeing GUI" ?
The GUI of the application you want to test?

Michael
Ranorex Support Team

melloul
Posts: 2
Joined: Mon Apr 07, 2008 10:40 am

test withot launching GUI

Post by melloul » Mon Apr 07, 2008 3:53 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Tue Apr 08, 2008 11:09 am

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

Michael
Ranorex Support Team