What is log file?How to write log file code?

Answers were Sorted based on User's Feedback



What is log file?How to write log file code? ..

Answer / mahesh.k

lOG FILE IS NOTHING BUT RESULTS FILE.
AFTER EXICUTING THE APPLICATION THE RESULTS WILL BE EXPORTED TO EXCEL SHEET.
DATATABLE.EXPORTSHEET("FILE PATH","SOURCE")

Is This Answer Correct ?    9 Yes 2 No

What is log file?How to write log file code? ..

Answer / samudra k

Log file is having the information like when the test executed and what is the result of the test and how much time it took for the execution etc.
by using scripting we can save log file in notepad(flat file)and excel sheet

This file shows the information about the script from its execution to end
Like mobile phone log, missed calls, dialed calls, received calls etc

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....

3 Answers   Wipro,


What is the difference between per-action and shared?

0 Answers  


What are Child Objects?

1 Answers  


1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?

1 Answers   L&T,


in Qtp,how to display user name and pwd (script)in data table(global sheet).

2 Answers  






Differenece betwen Project and product ? when company need project or product?

4 Answers   Accenture,


How many types of Parameters are available in QTP?

1 Answers  


Explain the keyword createobject with an example.

1 Answers  


What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


what is the difference between call to copy action and call to an existing action

5 Answers  


How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


Categories