|Event Handler result [message #1745421]
||Mon, 10 October 2016 14:26
| Jim 20100
Registered: June 2016
It is really difficult to write test case without IF condition.
I use Event Handler instead but the problem is the TEST is marked as FAILED
if the Event Handler is launched.
Example: I want to get the sum of quantity for all parts in my TOTO group, check if the sum = 100
- Main test case:
init quantity = 0
Call testcase2, parameter path = path 1
Call testcase2, parameter path = path 2
check quantity = 100
check property group = TOTO
quantity = quantity + selected element quantity
Event handler of the testcase2:
no action at all
Even if the my final check is ok, quantity = 100, test is marked as failed,
because the event handler was launch on some iteration, because some selected elements are of course not in the TOTO group.
Please help me to solve such problem.
I want that my event handler does not impact the final result of the test.
Powered by FUDForum
. Page generated in 0.02757 seconds