InterviewSolution
| 1. |
How Do We Attach Excel Sheet With Test Director? |
|
Answer» 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)
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)
Example: FilePath = GetAttachmentFromTest("Attachment", "hello.vbs", "C:AA") MsgBox "Your file is here:" & FilePath 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) 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) Example: FilePath = GetAttachmentFromTest("Attachment", "hello.vbs", "C:aa") MsgBox "Your file is here:" & FilePath |
|