tag:blogger.com,1999:blog-5047841583820836253.post4199742573994109901..comments2024-02-22T11:37:38.305+01:00Comments on Stefan Thelenius about Software Testing: My test framework...Stefan Theleniushttp://www.blogger.com/profile/14073416685551547144noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5047841583820836253.post-44917118830609331042008-10-10T09:57:00.000+02:002008-10-10T09:57:00.000+02:00Hi,I recommend posting your issue on SQA Forums or...Hi,<BR/><BR/>I recommend posting your issue on SQA Forums or AdvancedQTP instead since I have not worked with QC for a couple of years and I am not up to date regarding QTP/QC integration.Stefan Theleniushttps://www.blogger.com/profile/14073416685551547144noreply@blogger.comtag:blogger.com,1999:blog-5047841583820836253.post-89308731704644945602008-10-10T09:47:00.000+02:002008-10-10T09:47:00.000+02:00Hi Stefan, I have a question on connection QC to Q...Hi Stefan, I have a question on connection QC to QTP.<BR/>Currently we have all the QTP stuffs loaded in QC and running the scripts directly from QC.<BR/><BR/>Lemme expalin the complete process<BR/>1) We created seperate folders for Object Repository, Function Libraries, Reusable actions, Master Scripts and Recovery Scenarios.<BR/>2) Input datas in a excel format are added on each script<BR/><BR/>3) while invoking the script, we first fetch the input data file from the QC and store it on our local (hardcoded C:\Automation) and then we are importing it into QTP.<BR/><BR/>4) But i beleive it is not a advisable one to do.<BR/><BR/>Now here is my Question:<BR/><BR/>1) how to import data file directly from QC to QTP???<BR/>2) i really donno how to capture the QC path with the help of that testname though we are capturing the input file and saving it with the help of that testname<BR/><BR/><BR/>Please Find attached our code:<BR/><BR/>Public Function GetAttachment(TestName)<BR/> Dim strTestName<BR/> strTestName=TestName<BR/><BR/> Set tdc=QCUtil.TDConnection<BR/> Set TstFact=tdc.TestFactory<BR/> Set TestList= TstFact.NewList("select TS_TEST_ID from TEST where TS_NAME='"&strTestName&"'")<BR/> Set strTestName=TestList.Item(1)<BR/> Set AttFact=strTestName.Attachments<BR/> Set AttachList=AttFact.NewList("")<BR/> for each AttList in AttachList<BR/> Longfilename=AttList.Name<BR/> Set TestAttachStorage=AttList.AttachmentStorage<BR/> TestAttachStorage.ClientPath="C:\Automation"<BR/> AttList.Load True,"C:\Automation"<BR/> Next<BR/> GetAttachment=Longfilename<BR/>End Function<BR/><BR/>Please gimme a solution for this....Syedhttps://www.blogger.com/profile/07095108730738191569noreply@blogger.comtag:blogger.com,1999:blog-5047841583820836253.post-4697462276654996812008-03-22T15:08:00.000+01:002008-03-22T15:08:00.000+01:00Well, stay tuned and you will probably get more cl...Well, stay tuned and you will probably get more clues soon. Meanwhile check out my recommended links and you will find some good stuff.Stefan Theleniushttps://www.blogger.com/profile/14073416685551547144noreply@blogger.comtag:blogger.com,1999:blog-5047841583820836253.post-30951208416986830172008-03-20T14:18:00.000+01:002008-03-20T14:18:00.000+01:00Kindly clear me how to build Test Automation Frame...Kindly clear me how to build Test Automation Framework<BR/><BR/>Thanks <BR/>anilbodyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5047841583820836253.post-24049092911778561972008-01-24T09:03:00.000+01:002008-01-24T09:03:00.000+01:00ok?ok?Anonymousnoreply@blogger.com