hi
can we execute automatic test with ranorex components without seeing GUI?
output data will be checked during automatic test.
automatic test without gui
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
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.
I hope i am clear.
Marc.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
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
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