Forum Discussion

sdruker's avatar
sdruker
Contributor
10 years ago
Solved

Keyword Tests Parameters

Hi,

I have a question.

I'm using TC for web testing .

I created a keyword test and I want to save the logs .

I wnat that each time the test runs , a folder with the current date and time will be created and the log file name will be in the format:

mm/dd/yy_hh:mm_Log



Is it possible to do that?

I know that as a script it may be easier but it's important to do that using a keyword test.



this is what I did:

I added "call object method" step, and used the aqDateTime witht he operation Now

then I Created a variable caleed Folder_Name, and added the a "Set Variable Value" witht he value "lastResult"

and  then I called aqString with concat of variables.Folder_Name and "_Log"



It didn't work...

  I would I would appreciate your help...

Thank!