Answers

Question and Answer:

  Home  Test Director

⟩ How do we attach Excel sheet with test director?

This function is for getting datatable(excel sheet) in test director. Try to use it and as vbs file and call this function to get ur datatable. GetAttachment(FileName, OutPath) FileName The name of the attachment that needs to be copied OutPath The folder location where the file needs to be stored Return value The full path where the file has been copied on the local file system Example: FilePath = GetAttachment("test.pdf", "C:") MsgBox "Your file is here:" & FilePath The GetAttachmentFromTest finds the attachment associated to the given test name and stores it in a local folder. GetAttachmentFromTest(TestName, FileName, OutPath) TestName The name of the test where the attachment is located FileName The name of the attachment that need to be copied OutPath The folder location where the file needs to be stored Return value The full path where the file has been copied on the local file system

 128 views

More Questions for you: