[rules-users] Guvnor : Globals and variables in test scenario
Stela Dabija
StelaD at EDIFECS.COM
Fri Nov 5 15:12:56 EDT 2010
Using : Guvnor 5.2 (in development)
Tomcat 6.0.28
Java 1.6.0_20
Looks like there is an issue when creating a TestScenario which:
1. Has some fact field set to a variable
2. And, Has some global variable
Steps:
1. In the package configuration define a global variable : "global
Object glVar"
2. Create new Declarative model (see attached image S1_model):
a. FactType : name ="FType1"
b. FactType : name = "FType2"
i.
Field : name="ch"/type="FType1"
c. FactyType : name = "FType3"
i.
Field : name="ch"/type="FType2"
3. Create new TestScenario (see attached images
S2_TestScenario_before and S3_TestScenario_after):
a. Insert a new fact : type="FType2", varName = "f2"
b. Insert a new fact : type = "FType3", varName="f3"
i.
Add a field : name="ch", value = "=f2" (bound to variable f2)
c. Add new Global (glVar).
Observed: after adding the global variable nothing in the TestScenario
screen is displayed.
It is not possible to make any changes to the TestScenario content (for
ex delete the global var).
After saving the TestScenario it is no longer possible to open it.
Do you know if there is any workaround? Is there an open issue for this?
Thank you,
Stela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101105/c0fee469/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S1_Model.jpg
Type: image/jpeg
Size: 32627 bytes
Desc: S1_Model.jpg
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101105/c0fee469/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S2_TestScenario_before.jpg
Type: image/jpeg
Size: 34918 bytes
Desc: S2_TestScenario_before.jpg
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101105/c0fee469/attachment-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S3_TestScenario_after.jpg
Type: image/jpeg
Size: 20050 bytes
Desc: S3_TestScenario_after.jpg
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20101105/c0fee469/attachment-0002.jpg
More information about the rules-users
mailing list