Hi
I am facing some problem in TC while using framwork.
I am using testcomplete 8.0 using implemented with framework. I am having driver script calls the function which is given below. like login few action will be there. after driver script ran the project log and test log result contains Driver script main function name . programatically wrote generic function export the result to testresult folder consist of folder names with "ExcelName+TimeStamp".
In this way i got testlog result but I couldn't get project log result ( list of test script ran, status count by pass fail & warnings ) because all ran project log result consists of Driver script main function name only.
1. Any one guide me how to programe in such a way to get above project log result by using TC builtin function. Is there is any function to alter the unit name while run-time.
Whenever test got failed I couldn't get test log result with specfied format. once test execution got interupt onstopTest event will trigger In that event I call this export function. I called like that testresult folder names with undefined +timestamp.
2. How can a pass current execution excel or excel-sheet name to event handler? suggest me some better option.
login.xls
ScreenName |
Function Name |
Window Name |
Object Name |
DataSet1 |
Log into application and Navigating to Home Page. |
|
|
|
|
User Signon ID |
txt_SetText |
|
|
dpl |
password |
txt_SetText |
|
|
1234 |
OK |
btn_Click |
|
|
|
|
#Now verifying for the correct login |
|
|
|
ExcelName |
ExportResultHTML |
|
|
|