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

Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???

1 Answers  


QTP script is not working on other's machine..

0 Answers  


I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?

3 Answers   TCS, Wipro,


what are the different types of framesworks in QTP?what is the keyword driven framework?

2 Answers   Mindlance,


What are the types of data tables in qtp?

0 Answers  






can the activities of test case design be automated?

0 Answers  


Explain the views in the QTP GUI?

0 Answers  


In qtp,how to interact tool & application build?

1 Answers  


Use of Multiple Actions in QTP?

3 Answers  


what is error and fault in terms of software quality?

0 Answers   TCS,


what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me

6 Answers  


Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!

3 Answers  


Categories