|
|
|
Re: Discrepancy between headless and through the IDE [message #725537 is a reply to message #725374] |
Thu, 15 September 2011 06:21 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hi,
The name generation option is primarily for making dialog buttons testable on different operating systems. On Windows, the "OK" button is on the left; on some Unix systems and on Mac it is on the right. In the case of standard Eclipse dialogs, this will usually result in the button on the left in a 2-button dialog only being differable from the button on the right by its position in terms of the object mapping. For cross platform testing, this can result in the "Cancel" button being clicked on Linux instead of the "OK" button (or vice-versa, depending on where the mapping was carried out). "Generate names" makes sure that these buttons are identified by something other than their position, so they can be reliably found for cross-platform testing.
When starting your AUT, it's important that the setting for "Generate Names" is the same however you start it. We take care of this for different configurations of the same AUT (the "Generate Names" is a property of the AUT as a whole, not of individual configurations). If you start your AUT using autrun, however, you should ensure that it is using the same property as your configurations. For the default case ("Generate Names" is true), no extra parameters are required in autrun. Once "Generate Names" has been deactivated, however, the -g false flag is required.
Regards,
Alex
|
|
|
|
Powered by
FUDForum. Page generated in 0.03622 seconds