How do you export an output to a excel sheet?
Ex: I get my answer by using Msgbox"..." &R. How do I
displayed the result of the Msgbox (such as R) to an excel
sheet? Please let me know.Thanks

Answers were Sorted based on User's Feedback



How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &..

Answer / amit kumar srivastava

I think after capturing the run time value by using command
like x=window("").something.....getroproperty("text") then
do like -
Datable.export("path where u want to see the data")
set datatable.value(x,1)

try this ,if you face any probelem then let me know.I have
another way for this also.

Is This Answer Correct ?    4 Yes 0 No

How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &..

Answer / madhavi

We can capture the proprty of the message box throug
getroproperty("innertext").Pass this to a variable.After
that use MID function to retrieve 'R'.After that we can
create an external excel object and pass the value to that
sheet.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

whai is meant by automation testing?

6 Answers  


what is bultin funtaion in QTP &tell me five examples?

5 Answers   Kanbay,


what is the use of automation objective model?where is used? plz tell me

2 Answers  


How to load the object repository at run time?

1 Answers  


what is a file system object in QTP

7 Answers  






To which environments does a QTP support?

1 Answers   Crea,


Explain types of descriptive programming?

0 Answers  


how many maximum number of virtual users we can create?

0 Answers  


What test you perform mostly? Regression or retesting in your testing process?

0 Answers  


What is creation time property and how does it work?

1 Answers  


Which functionalities of QTP used in banking project? pls any say answer?

0 Answers  


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

0 Answers   Avenger Software,


Categories