Forum Discussion

Adam2696's avatar
Adam2696
Occasional Contributor
10 months ago

Exporting in Junit

I want to use this command, Log.SaveResultsAs("C:\\Work\\Log\\Log.xml", lsJUnit); But what I have is I have a variable declared: var Folder: Folder = "C:\\Result\\" + "\\"  + projectDate+ "\\" + p...
  • rraghvani's avatar
    10 months ago

    Think about it.

    You have declared a variable (folder), and you've assigned the variable some value. Your value is made up of a constant value ("C:\Result") followed by two concatenated variables (projectDate and projectType). Now you want to concatenate constant value "Log.xml". 

    That should give you a hint