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
Explain how you can find length of array in qtp?
What is the syntax to call one script from another?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How to find the difference between 2 dates in qtp?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Explain actions in qtp ?
Explain advantages and disadvantages kdf?
How will you report the bug and explain the defect tracking sheet you handled?
How to do call a output parameter from one action to another action??/
How many add-ins comes by default with qtp?
how to find that tools work well with ur existing system?
how to explain a claims and insurance project?
Key word driven framework
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance