TestExec-run selected mode

Moran D.
carmiel,

Feb 15, 2019
5 Posts

0  |  0  

Re: TestExec-run selected mode

Hi
How can i know which tasks the user select to run?
Is there any way to know before the program start to run
The tasks/ test were chosen by the user?

Thanks

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Feb 15, 2019
358 Posts

1  |  0  

Re: TestExec-run selected mode

The test executive tree control contains collections of node objects. The nodes checked state determine whether the node will run. The nodes can be checked at any time (unless you disable them). You can loop on the tree nodes to retrieve what is checked by calling:

TestExec.m_frmMain.GetNextNodeRun(node)

to find out the next node. To get the first node, use the Nothing as node, The first node return is also your stopping point when you loop on nodes.

From the node you can get to the Program/Task or Test Object by using the

ob=TestExec.GetNodeObject(node)

to determone what type of object is it: use the

TestExec.GetNodeType(node)

Once you termine if it is a task you can get the task id, etc.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]