History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WET-250
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Raghu Venkataramana
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

Provide a mechanism for the test definition panels to parse the 'ruby style' parameters in test definitions

Created: 02/Oct/06 03:32 AM   Updated: 09/Jul/07 02:02 AM
Component/s: Script Assistant
Affects Version/s: 0.9.8_beta1, 0.9.8 Final
Fix Version/s: 1.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Dependency
This issue Depends on:
WET-308 Disintegrate the WET UI Critical Closed
 


 Description  « Hide
For the various test definitions parameters, currently, the UI can only set the values to literal ones. For example, if you try to set the data table path, you can choose a path using the open file dialog. This value is a literal path to the full directory. WET offers some powerful parameter substitution capabilities using which you can parameterize these configuration items. WET UI should be allowed to take advantage of this paramterization.

To allow this, the various wet ui objects (like TestDefinition panel, etc.,) should have two variables for each variable - one the value being set in the TestDefinition file and another the 'parsed value' of this. Whenever the TD Panel tries to operate on this parameter, it should use the parsed value - Say :

parameter is set to eval #{ENV['res']}/depot/my_depot.xml, and the ENV['res'] = C:\mydepots\,
then when the object depot file is saved, it should be saved to
     c:\mydepots\depot\my_depot.xml

Also, dont try to do a reverse mapping when creating scripts - this definitely will open up an avenue for various issues. By Reverse mapping, I mean:
If user types "c:\mydepots\depot\my_depot.xml" in any of the function dialogs or for one of the items in the td panel, then DONT try to convert this automaticaly to eval #{ENV['res']}/depot/my_depot.xml


 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 23/Jan/07 03:52 AM
This issue's significance comes down remarkably if WET-308 is implemented.

Raghu Venkataramana - 23/Mar/07 03:39 AM
Since WET-308 is almost implemented, it means that we can either do away with this issue after review. This can be looked into after 1.0

Raghu Venkataramana - 18/Apr/07 11:15 PM
Actually this is needed even before that for choosing 'transaction to use' in the test definition ui

Raghu Venkataramana - 21/Apr/07 01:45 AM
This method has been implemented and is working fine for test definitions