hi Sankalp,
If I create a blank scripted component and save it in the bussiness component TAB of QC.Just write the line of code as
msgbox QcUtil.Currenttest.name
then save it again.Try to run it then some junk value is getting captured by this method.
Purpose of Doing the same:
This is part of the work around while facing issues with the existing framework.
Initially I was thinking it is the problem in the exsting function library which is helping to create the result.
e.f.if we execute bussiness component from QTP,the result should be appeared as <BussinessComponent_Componentname_Datetme>
If it is from Test Plan then the result displayed as <Bussiness process_Bussinessprocess name_Datetime>
If from Testlab,it will ceate a testset folder in the log result and then
<Bussiness process_Bussinessprocess name_Datetime>
For this reason I have used this line of code in the function library.Previously it was working fine(from last 1 year).But i reinstalled QTP,QC again but this line of code is giving some junk value due to which the result is populating but the naming convenion of the file is taking that junk value.
This space is not enough to past the entire function library.
Please help me out for resolving the issue.
-Regards,
Leema Mishra
If I create a blank scripted component and save it in the bussiness component TAB of QC.Just write the line of code as
msgbox QcUtil.Currenttest.name
then save it again.Try to run it then some junk value is getting captured by this method.
Purpose of Doing the same:
This is part of the work around while facing issues with the existing framework.
Initially I was thinking it is the problem in the exsting function library which is helping to create the result.
e.f.if we execute bussiness component from QTP,the result should be appeared as <BussinessComponent_Componentname_Datetme>
If it is from Test Plan then the result displayed as <Bussiness process_Bussinessprocess name_Datetime>
If from Testlab,it will ceate a testset folder in the log result and then
<Bussiness process_Bussinessprocess name_Datetime>
For this reason I have used this line of code in the function library.Previously it was working fine(from last 1 year).But i reinstalled QTP,QC again but this line of code is giving some junk value due to which the result is populating but the naming convenion of the file is taking that junk value.
This space is not enough to past the entire function library.
Please help me out for resolving the issue.
-Regards,
Leema Mishra