The TDAPI help file has a function called td_step
The description for the same is
int td_step ( char *Step, char *Status, char *Description, char *Expected, char *
The script when executed does not recognise this function
Can you please let me know how I can use this function in the script?
How are you trying to use this function? In WinRunner or from a VBScript?
Insanity: doing the same thing over and over again and expecting different results
I am trying to use this function in winrunner
Then I think you need to spend some time wtih the User's Guide and focus on TSL and the functions it gives you as that isn't a function that can be used within test director.
Can you give me an example where this can be used?
Can anybody send me a help file or a script where this function is used?
You should have the help right in front of you and just a couple clicks away. Put your cursor on the td_step within your script and click F1 key. In the right help pane you will see a hyperlink to sample or example.
If( your Condition )== E_OK)
tl_step("Test case Id : " & ddt_val (table, "Test case _ID"),0,
"Sucess : Test case Pass");
tl_step("Test case Id : " & ddt_val (table, "Test case _ID"),1,
" Failure : Test case Fail");
# You can Check condition status in Test Results reports
The poster is asking about td_step and not tl_step.
Winrunner is recognising the tl_step function, but not td_step function.