Ranorex

automatic test without gui

 
Post new topic   Reply to topic    Ranorex Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
melloul



Joined: 07 Apr 2008
Posts: 2

PostPosted: Mon Apr 07, 2008 11:46 am    Post subject: automatic test without gui
hi

can we execute automatic test with ranorex components without seeing GUI?
output data will be checked during automatic test.
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 256

PostPosted: Mon Apr 07, 2008 2:19 pm    Post subject:
What do you mean by "without seeing GUI" ?
The GUI of the application you want to test?

Michael
Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
melloul



Joined: 07 Apr 2008
Posts: 2

PostPosted: 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.
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 256

PostPosted: Tue Apr 08, 2008 12:09 pm    Post subject:
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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> General Questions All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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