how to add test to test set using vb script ? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: how to add test to test set using vb script ? (/Thread-how-to-add-test-to-test-set-using-vb-script) |
how to add test to test set using vb script ? - dasappa - 12-02-2010 I was able to add test set but not able to add the test in QC. I would really appreciate if some one could help me on this issue. Below is the code I was trying to use. Please let me know if anyone need more inofrmation. Code: qcServer ="servername" '----------------------------------------- ' Test Lab '------------------------------------------ Code: ' Get or create a test set folder. RE: how to add test to test set using vb script ? - amitspandey - 01-20-2011 hi, Code: set qtpapp=CreateObject("Quicktest.Application") write the code in any text file save the file with .vbs and run the file by double clicking on it. this code with run the mentioned test in the path above and close the qtp after execution. RE: how to add test to test set using vb script ? - sreekanth chilam - 01-21-2011 @HI Amit, The question was about the QC OTA(Open Test Architecture) and not about the AOM(Automation Object Model). @dasappa:I would suggest you to go thru OTA API reference file once, hope you can get the solution with that. RE: how to add test to test set using vb script ? - lbostic - 05-20-2011 Did you get a reply to this? One question where did GetTest() come from? Set NewTest = GetTest("C-BR1-FR10-TC1", "Subject\CWF_Regression") I just want to simply add a test to a test set... cannot find anywhere including in Documentation... LB RE: how to add test to test set using vb script ? - sunnystrikes - 08-15-2012 I'm also facing the same issue, can you please assist with codes for adding tests in the test instance. Thanks, Sunnhy If anyone has solution for this, please share it. Thanks. |