How can we redirect QTP results in to a excel sheet after
the execution
Answer Posted / rayudu
You have to create a function for that for example
Pass the below values
strTCNo=23 (Test Case No)
strResult=Pass (Result
public function FnTcStatus (strTCNo,strResult)
DtRwCnt= DataTable.GetSheet("Result").GetRowCount
For l=1 to DtRwCnt
DataTable.SetCurrentRow(l)
If DataTable("A","Result")=strTCNo Then
datatable.Value("TC_Status","Result")=uCase(strResult)&"_"&
Now()
End If
Next
strTcNo=""
strResult=""
end function
Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
Through array we can execute the testcase how ? give me example
What is QTP’s model for test creation?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
What is quick test pro?
what is Property......End Property loop? how to write sript for it in QTP
What is the short cut keys for the following?
How you can write contexts to text file in qtp?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
What are the different types of qtp test assets and their extensions?
What are the different ways to invoke an application using QTP?
Explain Descriptive Programming Types with Examples?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
What are the different types of recording modes in qtp? Which will be used when?
What is action split and the purpose of using this in qtp?
Explain qtp(quick test professional)?