Hi ,
We have 3 sequences that are derived from the base sequence. from the test I’m calling these 3 sequences sequentially.
First I will call the child1 sequence. It will do the operation after called super.body.
After completing child1 sequence, I will call child2. but in that, I don’t want to call super.body(). because the super.body is already called in child1 . similarly, I don’t want to call super.body in child3. how to control this in the test.
Please help me with this.
class base
virtual task body();
endtask
endclass
class child1 extends base;
task body();
super.body();
—
----
endtask
endclass
class child2 extends base;
task body();
super.body();
—
endtask
endclass
class child3 extends base;
task body();
super.body();
—
endtask
endclass