| Summary: | Add an option in UI to select a DISPLAY | ||
|---|---|---|---|
| Product: | [Technology] SWTBot | Reporter: | Mickael Istria <mistria> |
| Component: | SWTBot | Assignee: | Project Inbox <swtbot-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | mariot.chauvin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Mickael Istria
(In reply to comment #0) > SWTBot requires the window which host test to have focus during execution. A > common way to deal with this issue under Linux is to start another X session > (which creates a new DISPLAY), and to run this test on this DISPLAY. Then you > can keep on working on your main DISPLAY whereas the test are executing > silently on another. > > The display is an environment variable, that we cannot set from Eclipse (as far > as I am aware of). > > SWTBot launch window should provide the ability to run tests on another > DISPLAY. The DISPLAY could be an optional parameter to give to the build. In "Environment" tab of the run configuration you could set a variable "DISPLAY" and value ":1" :) Well, I missed this tab... Thanks Mariot! |