How can I export or transfer the Test Data like all actions names and Data in Expert View to an excel or word DOC?
Attached a screen shot to give an idea about what I need to transfer or export
You want to save the contents of the expert view into another document?
-- Here to Learn and share ---
Yes I want to Save or Export the contents into Word or Excel
Is it possible?
I believe it can be done using AOM methods. I tried earlier in getting the script environment.
Never Done AOM method, where can I start ?
Look at the example "Move an Action Call to a New Location within the Parent Action" in HP QuickTest Professional Automation Object Model.
You can get the contents of the action using "GetScript" Method and then paste that onto a word document.
I don't get the purpose of doing this. But then the easiest way is to just copy paste manually.
Will do, Thanks
The simplest way to export your runtime generated data to Excel is:
1. Save your data to your action datasheet
2. Use Datasheet.exportSheet method to export/save to a location.
If you know where the QTP test is saved on your network drive (or the location of it in the QC respository) you can open up the Script.mts file for each action which will contain all of the code.
But copy and paste would probably be just as quick.