Write the results script of results log pane to XLS or CSV file with VBA.

Hi,
How can I write the results script of results log pane to XLS or CSV file with VBA code or something? I tried so hard but i can't.
Thanks

MoGas,
This is actually not a trivial process. You need to use the results object and code it to write to your file (it is described in the help files).
e-Tester automatically saves the results log as a text file so you may just want to stick with that for simplicity.

Similar Messages

  • I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I would also recommend to write the description into the meta data. This would allow to place a text frame above the image and it is possible to add meta information and file name automatically together with the image, when you place it or even in a prepared template.
    Meta data information can be written easily in Bridge in the Meta File Workspace.

  • Unable to Load CSV file with comma inside the column(Sql Server 2008)

    Hi,
    I am not able load an CSV file with Comma inside a column. 
    Here is sample File:(First row contain the column names)
    _id,qp,c
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    When i specify the Text Qualifier as "(Double quotes) it work in SQL Server 2012, where as fail in the SQL Server 2008, complaining with error:
    TITLE: Microsoft Visual Studio
    The preview sample contains embedded text qualifiers ("). The flat file parser does not support embedding text qualifiers in data. Parsing columns that contain data with text qualifiers will fail at run time.
    BUTTONS:
    OK
    I need to do this in sql server 2008 R2 with Service pack 2, my build version is 10.50.1600.1.
    Can someone let me know it is possible in do the same way it is handle in SQL Server 2012?
    Or
    It got resolved in any successive Cumulative update after 10.50.1600.1?
    Regards Harsh

    Hello,
    If you have CSV with double quotes inside double quotes and with SSIS 2008, I suggest:
    in your data flow you use a script transformation component as Source, then define the ouput columns id signed int, Gp unicode string and C unicode string. e.g. Ouput 0 output colmuns
    Id - four-byte signed
    gp - unicode string
    cc - unicode string
    Do not use a flat file connection, but use a user variable in which you store the name of the flat file (this could be inside a for each file loop).
    The user variable is supplied as a a readonly variable argument to the script component in your dataflow.
    In the script component inMain.CreateNewOutputRows use a System.IO.Streamreader with the user variable name to read the file and use the outputbuffer addrow method to add each line to the output of the script component.
    Between the ReadLine instraction and the addrow instruction you have to add your code to extract the 3 column values.
    public override void CreateNewOutputRows()
    Add rows by calling the AddRow method on the member variable named "<Output Name>Buffer".
    For example, call MyOutputBuffer.AddRow() if your output was named "MyOutput".
    string line;
    System.IO.StreamReader file = new System.IO.StreamReader( Variables.CsvFilename);
    while ((line = file.ReadLine()) != null)
    System.Windows.Forms.MessageBox.Show(line);
    if (line.StartsWith("_id,qp,c") != true) //skip header line
    Output0Buffer.AddRow();
    string[] mydata = Yourlineconversionher(line);
    Output0Buffer.Id = Convert.ToInt32(mydata[0]);
    Output0Buffer.gp = mydata[1];
    Output0Buffer.cc = mydata[2];
    file.Close();
    Jan D'Hondt - SQL server BI development

  • I have 2 ipad 2s.  On the newer one I can log in and update to IOS 5 with no problem.  On the older one I get the message "Your Apple ID has been disabled."  Why does it work on one ipad and not on the other?

    I have 2 ipad 2s.  On the newer one I could log in and update to IOS 5 withno problem.  On the older one I get the message "Your Apple ID has been disabled." No other explanation.  Why can I log in on one ipad and I'm disabled on the other?

    Well, I spoke too soon.  Yes, I'm using the same account on both iPads, but I just changed my password for the umpteenth time and now I get the disabled message on both iPads.  Just yesterday I was able to upgrade one to IOS 5 but got the error message on the other.  I'm getting more confused by the minute.

  • We are using the "ExportAllText" script, But we want to format it for csv export

    We are using the ExportAllText script, http://forums.adobe.com/thread/733900, but we want to format the text so we can import it csv format
    What we need it to change the begin of the story with (") quotes, change the end of the first paragraph with another caracter ("|"), so the first paragraph, is the first field in the comma separated value, then at end of the story another (") quote and a end of paragraph. So with this we will have two fields per row.
    In the Script this is the part where it reads the stories from the indesign document, but we do not know how to do it?
    We are using CS2
      for(myCounter = 0; myCounter < myDocument.stories.length; myCounter++){
        myStory = myDocument.stories.item(myCounter);
        //Export the story as tagged text.
        myStory.exportFile(ExportFormat.taggedText, myTempFile);
        //Import (place) the file at the end of the temporary story.
        myNewStory.insertionPoints.item(-1).place(myTempFile);
        //If the imported text did not end with a return, enter a return
        //to keep the stories from running together.
        if(myCounter != myDocument.stories.length -1){
          if(myNewStory.characters.item(-1).contents != "\r"){
            myNewStory.insertionPoints.item(-1).contents = "\r";
        if(myAddSeparator == true){
          myNewStory.insertionPoints.item(-1).contents = "—————————————-\r";
    Can any one help us
    Thank´s in Advanced

    http://support.apple.com/kb/HT1495

  • How to capture the data within the given range of maximum and minimum values ? from csv files

    My requirement,
    1. Here, the user will provide the range like maximum and minimum values, based on this range, the VI should capture the data within the given range. ( from CSV file as attached )
    2. Then VI should calcluate the average value for captured data and export it to excel.
    This is my requirement can anyone help me on this.
    Many thanks in advance
    rc_cks
    Attachments:
    sample_short.csv ‏2439 KB

    Hi,
    Thanks for remnding me. I forgt to attach the VI, 
    Here I am attaching the VI, what I tried. 
    From attached CSV file, I have to find an average value for columns B,C,D,E,F,G,H,I and AJ, AK. ( data range will be defined  by user ), focused only on these columns
    Here, the scope is to calculate an average value for given data range by user as MAX and MIN data.  
    FYI:  I tried manually for two instance i.e column H & I.  As per H column one steady state values from  7500 to 10500 and similarly in I column 7875 to 10050. So, I gave these as a limit to capture and calculate the average value. But unfortunaltely, requirement has been modified as per below requirements.
    More Info on requirement: 
    --> The user will define the range of data by giving some MAXIMUM and MINIMUM values(for above mentioned columns induvidually), then VI should capture          that data range and it has to caculate the average value for that range of data. This is the task I have to complete. 
    --> I am stuck in creating a logic for data capturing for given range of MAX and MIN value from user, 
         Can anyone help me on this. 
    If my explanation is not clear, Please let me know.  
    Many thanks, help mw
    rc
    Attachments:
    VI_rc.vi ‏25 KB
    sample.zip ‏4166 KB

  • Generating .csv file with the datas from the database

    Hi Java experts,
    Ihave a current assignment to generate a .CSV file using java getting values from database. The output CSV file may have more than one row and each row should have a end of line delimiter. Any help in giving a template for generating a CSV file accessing from database is greatly appreciated.

    Ihave a current assignment to generate a .CSV file
    using java getting values from database.well, I hope you learn something doing it yourself...
    The output
    CSV file may have more than one row and each row
    should have a end of line delimiter. Any help in
    giving a template for generating a CSV file accessing
    from database is greatly appreciated.How about looking for a JDBC and a file/print stream tutorial?

  • ORA-01012: not logged on error while Moving data file with BrTools

    Hi,
        I'm trying to move a data file to another windows drive with BrTools.
    It fails before it actually starts to move the file. The error it shows is:
    ORA-01012: not logged on.
    Thanks,
    Anil.

    Hi,
    BRSPACE  has a command option -u to specify the Database user and password. How ever BRSPACE connects to the database as SYSDBA, you do not have to specify the user and password if the operating system user belongs to the dba group.SO check if the user is falling in DBA group with proper authorizations.
    PLease reward points for useful answers.
    Regards,
    Phani

  • How do i transfer itunes from one hard drive to another.i don,t have a file button in the new itunes and cannot find a way to consolidate my files with the latest version of itunes

    i do not have a file box in the latest version of itunes,and so cannot consolidate my files to be able to move itunes from one extarnal hard drive to another.i have tried tutorials but all say to use the file button which i do not have and when i go to library it does not open the consolidate file box.can anyone please advise or point me to a tutorial for the latest version of itunes guide to be able to do this as i'm going mad here.is there a step by step guide i can follow?

    i do not have a file box in the latest version of itunes,and so cannot consolidate my files to be able to move itunes from one extarnal hard drive to another.i have tried tutorials but all say to use the file button which i do not have and when i go to library it does not open the consolidate file box.can anyone please advise or point me to a tutorial for the latest version of itunes guide to be able to do this as i'm going mad here.is there a step by step guide i can follow?

  • Is there a way (script option, exporter option) to export a .psd/.psb file with nested layersets to another layered .psd file with a flat layer structure for greater compatibility? (i.e. CS6/CC/CC '14 to CS4 or older?)

    Just looking for a solution short of having to go in and manually delve through hundreds of layers and reorganize the .psd.  There's a lot of vector elements, layer effects and blending modes as well.  It'd be nice to see Adobe include an exporter for older Photoshop versions that can take a newer file and regenerate it making whatever necessary changes to maintain compatibility across older Photoshop versions and even for cross-compatibility.  I know that's not necessarily in their best interests for additional sales, but it is in the end-user's best interests when they collaborate with others across various file and application formats.

    The first problem here is Layer Styles, if I understand what you are trying to do correctly. You can have arbitrarily nested Layer Sets/Groups (each with its own Layer Style) that contain Layers with their own Layer Styles. This means that for a nested layer, you would have to take it's Layer Style and merge it with the containing Group(s) layer styles in the correct order. Then you have to do the same thing with Layer/Vector Masks and whatever else is involved. It's a non-trivial piece of work. It's not intractable, however.
    There is also the problem that some parts of the Layer Styles are binary blobs that make merging at the JS level impossible.
    If someone has implemented this, I would love to see the implementation.
    What you actually need may be a lot less complicated than the general case. If so, you may be able to find someone to help you out.
    I wish you luck.

  • When I turn on my iMac, instead of the normal opening screen I get an image of a gray file with a question mark in it flashing. What is is? mark

    When I start my iMac, instead of the regular start up screen I get an image of a gray file folder with a question mark in it. The image is flashing. What is this? mark

    Unishape, you'll need to get out you're install discs that came with your Mac. See this article for help
    https://support.apple.com/kb/TS1440

  • HT200233 Compressor 4.1 - I'm having trouble creating an MPEG 2 file w/dolby sound. Regardless of the duration settings I select, compressor spits out a 50 minute file with my 10 minute project and 40 minutes of black tacked on the end. Any suggestions?

    My original file is an Apple Pro Res 422 .mov with a 10:55 duration at 23.976fps. I don't have any issues converting this file to any other format - just to the MPEG 2. I'm not trying to alter the frame rate: I just want to compress to the two separate files: a Blu-Ray stream MPEG-2 with a bitrate of 30mbs and a Dolby Digital .ac3
    No matter what I try I always seem to get a roughly 50 minute file (although this duration varies by 4-6 minutes which is confusing) which contains my original video without any problems, and then is filled with a black screen for the remaining time.
    I've never had this issue with previous versions of Compressor - if anyone has any suggestions I'll gladly give them a try!
    Thanks

    My original file is an Apple Pro Res 422 .mov with a 10:55 duration at 23.976fps. I don't have any issues converting this file to any other format - just to the MPEG 2. I'm not trying to alter the frame rate: I just want to compress to the two separate files: a Blu-Ray stream MPEG-2 with a bitrate of 30mbs and a Dolby Digital .ac3
    No matter what I try I always seem to get a roughly 50 minute file (although this duration varies by 4-6 minutes which is confusing) which contains my original video without any problems, and then is filled with a black screen for the remaining time.
    I've never had this issue with previous versions of Compressor - if anyone has any suggestions I'll gladly give them a try!
    Thanks

  • Generating CSV file with column names and data from the MySQL with JAVA

    Hi all,
    Give small example on ...
    How can I add column names and data to a CSV from from MySQL.
    like
    example
    sequence_no, time_date, col_name, col_name
    123, 27-apr-2004, data, data
    234, 27-apr-2004, data, data
    Pls give small exeample on this.
    Thanks & Regards
    Rama Krishna

    Hello Rama Krishna,
    Check this code:
    Example below exports data from MySQL Select query to CSV file.
    testtable structure
    CREATE TABLE testtable
    (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    text varchar(45) NOT NULL,
    price integer not null);
    Application takes path of output file as an argument.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    public class automateExport {
        public static void main(String[] args) {
            DBase db = new DBase();
            Connection conn = db.connect(
                    "jdbc:mysql://localhost:3306/test","root","caspian");
            if (args.length != 1) {
                System.out.println(
                        "Usage: java automateExport [outputfile path] ");
                return;
            db.exportData(conn,args[0]);
    class DBase {
        public DBase() {
        public Connection connect(String db_connect_str,
                String db_userid, String db_password) {
            Connection conn;
            try {
                Class.forName("com.mysql.jdbc.Driver").newInstance();
                conn = DriverManager.getConnection(db_connect_str,
                        db_userid, db_password);
            } catch(Exception e) {
                e.printStackTrace();
                conn = null;
            return conn;
        public void exportData(Connection conn,String filename) {
            Statement stmt;
            String query;
            try {
                stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_UPDATABLE);
                //For comma separated file
                query = "SELECT id,text,price into OUTFILE  '"+filename+
                        "' FIELDS TERMINATED BY ',' FROM testtable t";
                stmt.executeQuery(query);
            } catch(Exception e) {
                e.printStackTrace();
                stmt = null;
    Greetings,
    Praveen Gudapati

  • Getting windows error during running the sql scripts from form 6i

    I made a little form application. The purpose of this application is to generate explain plan for a particular SQL. Some sql scripts run internally in order to populate the result on form’s screen after pressing the form’s button but I am getting windows error during running the sql scripts from form 6i.
    I am using forms 6i with patch 17 with Oracle 10G database on windows 2000 professional on same computer.
    This application runs fine with 8i.
    Please inform me where the problem is and how to overcome it.
    Zafri.

    I am using Text_IO in my form's when button press trigger , inorder to create the
    text file, then in the same when button press triger
    I am calling RMAN via host command in order to run the script which was created by text_IO.
    Below you find some of the code. I will appreciate if you solve the problem.
    when button press trigger:
    Declare
    in_file3 Text_IO.File_Type;
    linebuf3 VARCHAR2(1800);
    output11 varchar2(1000);
    BEGIN
         output11:='C:\EXPLAIN_PLUS\misc\rm_file.bat ';
    Host(output11,no_screen);
    :sql.execution_plan:= 'Working........................';
    synchronize;
    in_file3 := Text_IO.Fopen('c:\explain_plus\misc\create_table.txt', 'w');
    Text_IO.Put_Line(in_file3, linebuf3);
    Text_IO.put_line(in_file3,' ');
    Text_IO.put_line(in_file3,' run { sql "create table PLAN_TABLE (statement_id,...object_name varchar2(30),object_instance numeric,object_type varchar2(30),optimizer varchar2(255),search_columns number,id .....partition_start varchar2(255),partition_stop  varchar2(255),partition_id numeric,other long,distribution varchar2(30)) "; } ');
    Text_IO.put_line(in_file3,' ');
    Text_IO.put_line(in_file3,' ');
    Text_IO.FCLOSE(in_file3)
              Declare
    un VARCHAR2(80);
    pw VARCHAR2(80);
    cn VARCHAR2(80);
    output VARCHAR2(1000);
    output2 VARCHAR2(1000);
    dummy varchar2(40);
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    BEGIN
         Get_Connect_Info(un,pw,cn);
         /* for Plan_table Begg. Second INNER BLOCK */
         declare
              dummy2 varchar2(40);
         begin
         select table_name into dummy2 from all_tables where table_name='PLAN_TABLE';
         if dummy2 = 'PLAN_TABLE' then
         output2:='rman target/ nocatalog @C:\EXPLAIN_PLUS\MISC\TRUNC2.txt ' ;
    Host(output2,no_screen);
         end if;
         exception
         when no_data_found     then
    output2:='rman target/ nocatalog @C:\EXPLAIN_PLUS\misc\create_table.txt ';
    Host(output2,no_screen);
         end; --

  • Submit quiz results to one single .csv file

    How can I submit quiz results (over 200 people will be taking
    my captivate quiz) to a single .csv file?
    Right now, the quizes are submitted to my email address and
    attached to the email as a POSTDATA.ATT file. I have to manually go
    into my Outlook and save attachment as "FnameLname.csv”. So
    each quiz taker will have an individual .csv file! So I will have
    over 100 emails and over 100 .csv files!!!!!
    How can I make the quiz results submit to a single
    Quiz_Results.csv file on my web server instead?

    The way I would do this is to submit the scores into a
    database. In between Captivate and the database you'll need
    middleware (.asp, asp.net, ColdFusion, etc.). This middleware
    receives your data from Captivate and processes it - submitting it
    into the database. You can then write another middleware page that
    produces a report (web page table, or exports .csv file) with the
    data stored the database.
    Another possibility is to use Captivate's built-in SCORM
    functionality and submit user scores into an LMS, then run reports
    and export .csv files from your LMS.
    Sorry - I don't think this functionality is built into
    Captivate to join multiple records into one .csv file.

Maybe you are looking for

  • Flex Mobile - ViewNavigator with bottom locked menu / toolbar

    I want to create a toolbar menu on the bottom on my mobile application. Basicly I would like to align this component to be visible on every view of my application. I have several options but none of them seems like a good one: 1) TabbedViewNavigator

  • How can I backup NAS drive to Time Capsule using Time Machine?

    My itunes library is on a USB HD that's connected to my time capsule, essentially turning the drive into a NAS drive. Is there anyway I can include this drive in time machine backups? So basically, time machine would be backing up the hard drive conn

  • Free Items in Purchase Orders

    Hi, We have a scenario where in certain line items in a Purchase Order, first a net value was entered and then they were made free items by checking the free item indicator. The purchase order was then saved. However the value that was reduced when t

  • Manual downgrade to iOS 6.1.2 possible? (iPhone3GS, new bootroom)

    Hello there! A few days I upgraded to iOS 6.1.3. I hadn't any wifi, bluetooth or cellular connection, but I thought it would be good to wait for the software to adjust to the framework. Now its almost a week since I've done the upgrade and still no c

  • Equity method - First cons

    There is a requirement that as per local GAAP , units following equity method ( non consolidated units ) , should identify ( not post ) the goodwill / negative Goodwill which arise out of First consolidation. as notes to Financial statements. However