I have a problem with TDAPI_AddAttachment, tell me how to execute this function from WinRunner, but not from VAPI.
A Test Engineer should be a Programmer.
Read the readme FAQ of this forum there are some post references there to TDAPI samples and how to translate VAPI samples to WinRunner samples (basically just removing the & reference)
Basically you have to connect first
see code below. create a user like log_user and use this username and password in the connect function
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">if (TdServerInitInstance("free",td_server_n ame) == TDAPI_NOERROR)
if(TDAPI_Connect(getvar("td_database_name&quo t, "", "log_user", "" == TDAPI_NOERROR)
TDAPI_AddAttachment("TESTCYCL", str_cr_key, str_log_file_name, 3, str_attachment_description, int_cr_id);
}</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
Thanku for your suggestion, when you want access any function in WR, we have only two ways:
Please tell me in which dll or library this function exist. I have read complete Readme, there is no information regarding TDAPI_AddAttachment.