Page 1 of 1

Is it possible to get the step number?

Posted: Tue Jul 03, 2012 7:16 am
by rsriram
Hi,

I am looking to display the actual step number that failed during execution, in the report file.
:?: Is there a way to get the Step Number from a Recoding Module and print that in the report?

Thanks,
Sriram.

Re: Is it possible to get the step number?

Posted: Tue Jul 03, 2012 1:29 pm
by Support Team
Hello Sriram,

I am not sure if I quite cache that.
Do you want to get the number of an iteration when you make a data driven test?
In that case you have to add a new column in your data source table where you fill in the count of the rows. Bind this to a defined variable. In each iteration you can call this variable and write it in the Report.

If this is not what you want please tell me.

Regards,
Bernhard
Ranorex Support Team

Re: Is it possible to get the step number?

Posted: Wed Jul 04, 2012 10:46 am
by rsriram
Hi Bernhard,

Thank you for the reply. But this is not I am looking for.
101101.jpg
Please refer the attached image above. My requirement is to get the action line number (1,2,3,...) displayed on the left, and show in the Result log file in each step.


Something like in the below image, where the result displays the corresponding action number (step number)
101110.jpg

Please let me know if I have explained right. :)

Best Regards,
Sriram.

Re: Is it possible to get the step number?

Posted: Wed Jul 04, 2012 1:33 pm
by Support Team
Hello Sriram,

I am afraid that this is not possible at the moment.
As workaround you could write the steps into the comment text box of each action. The comments will also be shown in the Report.

Regards,
Bernhard
Ranorex Support Team