What happens when tl_step function is executed in TSL for a context sesitive case..wat willhappen if condition fails

Questions by kangerishyam   answers by kangerishyam

Showing Answers 1 - 6 of 6 Answers

sanjeev

  • Oct 19th, 2006
 

when ever a tl_step fails during execution ,WinRunner returns redcolor message what we have given in that function.

tl_step("step",status,"message");

in above syntax status is '0' is foe green color message and 'non-0'  for red colour message.

  Was this answer useful?  Yes

srinivas.o

  • Oct 25th, 2006
 

when test condition fails wat status u mentioned in tl_step with that color message will appear.0:-for 'green color' ,non-zero :-for red color.

  Was this answer useful?  Yes

sudhakar2068

  • Oct 31st, 2006
 

The tl_step shows like this in context sensitive case

tl_step("s1", 0, "calec is pass");

0->It indicates the pass condition.

tl_step("s1", 1, "calec is fail");

1- >It indicates the fail condition.

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346

  Was this answer useful?  Yes

charles

  • Dec 6th, 2006
 

hi,

tl_step fun.  divides the script into sections and insert a status message in the report for the previous section. in tl_step we can set whethe the action is passed r failed .

ex:

tl_step("step name",0/1,"pass/fail");

when test is pass then report will be in green color otherwise

result will be in red color.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions