Adding the user variable to test the result message - Captivate v4

Captivate v4, Windows XP.

I have a test that begins with the variable user to enter the name of learners etc.

I created a 'pass' certificate that only those who are successful will see. (FYI... Allowing for the learner to print their certificate in the landscape of the Cap 4 is another challenge, not covered on this thread, but if someone has the free answer, please let me know).

I wish that the learner to see on the slide of test results is their outcome variable name user at the start of the project. EG.g < Noel > Bravo, you have succeeded, where < Christmas > is the user variable.

I see that you can "change" the messages of success/failure via the control box on the screen of test results... but how do I insert the user variable, so the message says something like... Bravo < Noel >, you spent...

Noel (in hope)

Hi Noel,

Published articles on advanced actions, using variables. A few months I am blogging about Captivate (for the most part about 5, but some comments apply to the 4 as well). Here is the link to my blog:

lilybiri s posterous

I recommend you start with the two reviews/articles on the variables.

I know you dislike the CP5 and are still working with CP4. The user in CP4 for advanced actions interface is somewhat awkward (one of the reasons why I really appreciate more CP5). But in your case, it should work. Will try to explain the steps (if I could just insert a CP - SWF here, sigh!):

  1. Make sure you have the text entry box to request the name and associate it with a user variable p.e. v_Name
  2. Create the collar and the failure of the text in the slide in score captions; You can insert the username, by inserting the v_Name as explained by the other user. don't forget to put in invisible by using the properties. To better explain, I tagged FailText and PassText legends
  3. Create an advanced action (see screenshot):
    1. Project, Actions, tab advanced; Actions Create a new action; the label of the action, e.g. TestScore
    2. Double-click Add statement, you will see a red "declaration", open the drop-down list by using the SPACEBAR
    3. Choose Condition, pane will fill with a whole bunch of lines which are the structure of a conditionial statement
    4. Click on the first red 'Select a variable' and use the space bar to open the drop-down list
    5. Scroll down to cpQuizInfoPointsScored and select
    6. Open the drop-down list "is equal to" using the SPACEBAR (may be it opens automatically) and choose ' greater than or equal to ".
    7. Open the drop-down list for the third (able to open automatically too) and choose 'value', you'll be able to type in the required minimum score (I put in '12') - your report is created
    8. on the third line, under Begin, select and open the drop-down list with the space bar, select action Standard, then choose show, in the object list, you choose PassText
    9. similar workflow after otherwise, Begin, but now show FailText
    10. You don't have to bother on the statements to add superfluous, they will not disrupt your script
  4. Go to the slide of Score, open its properties and change the action on enter to "Action run advanced ', choose the action you just created TestScore
  5. Try previewing

Try it, Christmas, simple tip action can really extend the possibilities of Captivate - but are much easier to CP5, don't shoot me please!

Tags: Adobe Captivate

Similar Questions

  • User variables is renamed to fmv1, fmv2, fmv3, etc.

    In collaboration with 1.3 in 2015 of FrameMaker DITA. Had added several user variables, but after to raise FrameMaker and loading XML files, found that variables have been renamed to fmv1, fmv2, fmv3, etc.

    Is it because I work with the DITA structure?

    I realized that I had spaces in my variable names, which was originally FrameMaker to perform a substitution of FMV #.

    For example, instead of:

    • Color lowercase
    • Colors in lowercase
    • Color uppercase
    • Uppercase colors

    I should have used:

    • Color_lowercase
    • Colors_lowercase
    • Color_uppercase
    • Colors_uppercase

    FrameMaker 2015 documentation does not explicitly specify that spaces are not allowed in variable names, and FrameMaker interface allows spaces when you type the name in the addition/modification of Variable module. All the variables of the system have spaces in the name, so I see no issue with user variables that have spaces. However, I note that the examples in documentation use underscores instead of spaces...

  • Delete the results if the user wants to redo the last test

    Hello

    I'm trying to implement a local user to ask them if they want to repeat the last test that failed. So then... Delete the result, and then rerun the sequence.

    Can you see what I'm doing wrong?

    Chris

    Have you seen this example?  It works for you?

    http://www.NI.com/example/27153/en/

  • How to get the value of the global variable to test in the user interface of labview?

    Hello.

    Can someone please share examples and tell me how access the global variable to test using the interface labview user.

    I found some references and obtained from the method.

    I sent the link below

    https://decibel.NI.com/content/docs/doc-5501

  • Do not advance after incorrect answer quiz (quiz uses the user variables to show the wrong answers)

    Hi all

    Long time lurker, first time poster. I hope someone can help me.

    After watching this excellent video about adobe captivate blog "so what were the right answers in any case" I created a quiz with user variables and conditional early action. It displays a red x next to each question answered correctly at the end of the quiz.

    • I created the variable user for each question to a value of 0. On an incorrect answer, the variable would be set to 1.
    • At the end of the quiz is a blade that question and shows a red cross next to each question with a variable set to 1. uses conditional action that is triggered 'upon entry.

    It works, but my problem is when I saw the quiz (in the browser or SWF), on an incorrect answer, the legend of the failure appears but does not really advance the question when I click anywhere or press o. It works well on the correct answers.

    Can I sovle this by adding a next button, but I'd like to understand what I'm doing wrong.

    • Using captivate 6.0.1.240 (copy in box)
    • Windows 7
    • images on the quiz properties and conditional action below

    Any help appreciated.

    Concerning

    Jacob C

    quiz properties.JPG

    conditional action.JPG

    I tested this workflow on 6.1.319 and it works fine. If a little guess in the wild... No 6.0.1.240 around at the moment. Seems strange, because a simple action like your Assign action should normally release the read head. But of course, it's a question slide and they do not always behave as expected. Could you try to replace the action of the beneficiary by a standard tip with 2 statements, like this action:

    • Assign the var_question_1 with 1
    • Continue

    And please, let me know if it works? This could be a difference between the two versions, but not sure at all.

    Lilybiri

  • Number of the results in the report variable

    Hello everyone,

    I need help in TestStand reports. I use TestStand 2014 and 2014 of Labview, both 32 bits.

    The situation is like this: I am running a test with test steps 3. The first stage of the test is a step of "additional results" which records the device under test info (versions of the hardware software etc...). This information appear in the report and the result data in the database (table prop_result). The next 2 steps are the steps 'real' which measures something.

    In the report, there is a call from the variable "Number of results" (see the screen attached capture) and you see a '3 '. There are actually only 2 steps of 'real' test as I don't want to consider the first step of "additional results" as a test step. How can we affect the variable 'Number of results' so that it does not count this first step? I tried to use the properties-> Run Options-> record result of the for Option set to "Disable". It works and the number of results appeared as "2", but the device under test info do not appear in the report and not in the prop_result of the database table.

    In general, how can I get the number of results of account not a step, but continues to display the result in the database and report? Is there an API where I can access and modify its value (number of results value) such as: "Number of results" - 1?

    Hope someone can point me in the right direction. I have attached the release of the report, as well as the file in the sequence.

    Yours,

    chati

    I ment, you can change the XML seq.--> \Components\Models\TestStandModels\reportgen_xml.seq generator (Ref http://www.ni.com/white-paper/3977/en/).

    It's the AddReportHeader, you need to change. Or more specific step 9 (in teststand 2012) which is a statement-->

    Parameters.ReportHeader += "<" +="" fileglobals.reportelementname="" +="" "="" type='UUT' "="" +="" "="" title='" + ResStr("MODEL", "RPT_HEADER_TITLE") + "' "="" +="" "="" link='" + Locals.UUTItemNameForLink + "' "="" +="" "="" uutresult='" + Str(Locals.Status) + "' "="" +="" "="" stepcount='" + Str(Parameters.StepCount) + "' "="" +="" "="">\r\n".

    and then, you can modify the varabel StepCount using some filtering by using for example a subsequnce that counts only the type of measures that your customer wants to be counted.

    There might be ways esier there, but that's what I'd do.

  • How to fill the tables preset in Word 2003 with the results of the tests?

    Hi all

    I have a simple test, where I measure different levels of DC, with a simple Vi which records test results to a text file.

    These results in the text file, were manually typed in a test report, which is a Word document with tables, but I have now created a macro in word 2003 that can take the results to the text file and added to the precise lines and columns in my word test report file.

    Issues, it is how can I get Labview, after he measured the levels of DC, write the results of tests on specific tables, lines and columns, in the Word document without any delete?

    The attached photo shows a tables and the yellow cells showing the cells that must be filled in test results.

    To LabVIEW: 2009


  • How to get the result of the test of CVI DLLs in teststand!

    I write a driver dll to test a source, I want to get the tension of world SERVERS (the instrument of the RS) and I used to call DLLs that written by CVI, teststand

    My question is what is the best way I can get the result of the test and show the user to teststand. the code below is fair? When I used to call this dll document, teststand

    "" I just get the result by setting in TS.this is a good meathod, and what should you do in teststand, I put the "outputVoltageV" point to an object?

    /*===========================================================================*/
    / * Function: read voltage/current output * /.
    / * End: this function returns the output and actual output voltage * /.
    / * current instrument.                                      */
    /*===========================================================================*/
    ViStatus _VI_FUNC rsngsm_datReadOutput (ViSession instrSession,
    ViPReal64 outputVoltageV, ViPReal64 outputCurrentA, ViPBoolean statusPeakCurrent)
    {
    ViStatus rsngsm_status = VI_SUCCESS;
    Bruno buf [BUFFER_SIZE];
    ViInt32 retCnt;
       
    FMT (buf, "%s<>
    If ((rsngsm_status = viWrite (instrSession, buf, NumFmtdBytes (), & retCnt))<>
    Return rsngsm_status;
           
    If ((rsngsm_status = viRead (instrSession, buf, 50, & retCnt))<>
    Return rsngsm_status;
    If (Scan (buf, "%s > %f [p2];")) %f [p2]; %i [b2] ", outputVoltageV, outputCurrentA, statusPeakCurrent). = 3)
    Return rsngsm_status;
           
    Return rsngsm_status;
    }

    sean_tan,

    Yes, you just pass a value of digital TestStand (e.g.; locals.number).

    If you use the adapter of the ICB, it might make more sense that you can use the Flexible DLL adapter for this type of function, that you do not use the standard settings of tTestData and tTestError. While TestStand will correctly recognize the function prototype, you want to make sure you that include the type library of your function Panel (you will need to create one if you have not already done so) in settings target of LabWindows / CVI-> type library.

    I hope this helps.

    -Jack

  • Rotating table with 6 test stations. How to track the results data at each station to a machine of rotating table with 6 test stations?

    I would like to know if someone has worked with table Rotary testsystems and want to share an idea of how he dealt with follow-up of the results of each test result data in all the test station is in the table of rotation, so at the end of the cycle the results of good data by each DUT. There's a kind of technique used in arrays or clusters?

    Any comments would be grateful.

    Hi shada

    There are many ways that you can store your results, such as Matthew commented that you can use an array of Clusters. I would recommend this table of cluster storage in a Global Variable that is functional to make data transfer safer and easier to climb. There are many examples on how to use them on the community.

    There are a few tools in advance that you can also use to store your results as Of present value Tables (CVT).

    TestStand parallel model with the "Result of processing" option enabled stores automatically all the results of your Tests.

    Hope this information is useful.

  • The Variable value based on the results of SQL query

    With the help of OBIEE 11.1

    Is it possible to set the value of a variable presentation of the results of a SQL statement?

    Scenario:

    I have 2 topics.

    SubjectArea1

    Text1

    Date1

    SubjectArea2

    Field1

    Field2

    UpdateDate

    I have an analysis that uses only the SubjectArea2.

    Using a dashboard quickly, the user must be able to select Text1 in the other topic area (SubjectArea1).

    Assuming that selection will be stored in a variable of presentation (SelectedText),

    The filter in the analysis should be something like

    Upper UpdateDate to @{SelectedDate}

    How can I set a variable (SelectedDate) using a SQL statement?

    Something like this:

    SELECT "Date1" TO "SubjectArea1" WHERE "Text1" = @{SelectedText}

    So the command prompt text selection should give a date that is used to filter the second review?

    If so:

    The prompt on SA1.textCol

    hidden analysis who is invited on SA1.texCol has SA1.dateCol in the criteria

    Analysis SA2.dateCol is filetered on basis of the results of another analysis (any value analysis hidden SA1.dateCol)

  • Public names for the results in a test script

    When we set some attributes as a result in a test script or we should assign public names to these attributes of result should leave those who attribute with system generated public names?

    The reason I ask is if for some reason any public attributes that are generated, the system located in the results, changes its name due to the addition or deletion of rules then those should not influence the results - expected mergers in the real value of the test scripts that are already present in the modules.

    I didn't test this scenario... like my system of cases generated public names remained the same even before after adding a rule to the same document.

    Can we know how OPA decides what public names to automatically generate? I know that generally, the suffix is the name of the document as b4@document1_doc

    The 'view' in issue Edit field has nothing to do with the ID attribute and public names. It's just a matter what text you want to appear on the label in the regression Test report. The only way to have a stable static attribute ID is to add a Public name.

    See you soon,.

    Jasmine

  • How to arrange the result of the query and adding column outomatic translate


    Hello

    my need to find number of devices activated per day in the city, my data as below

    1City_2Samsung
    5City_2IPhone
    4City_2IPhone
    2City_2IPhone
    1City_2IPhone
    1Ville1Samsung
    3Ville1Samsung
    17Ville1IPhone
    12Ville1IPhone
    5Ville1IPhone
    3Ville1IPhone
    3Ville1IPhone
    6Ville1IPhone
    7Ville1IPhone
    1Ville1IPhone
    3City_3IPhone

    I need the result to be as below but not only (IPhone and Samsung) device name could be any new device like HTC or compressed, then is it possible to add a new type of device automatically in a column, once a new device type show up in devices activated daily,

    CityTotal enabled accountsIPhoneSamsung
    Ville158544
    City_213121
    City_3330

    my table as below,

    Create table test values (number count1, city varchar2 (10), device)
    VARCHAR2 (10));

    Insert into test values (COUNT1, CITY, DEVICE)
    (17, 'Ville1', 'IPhone');

    Insert into test values (COUNT1, CITY, DEVICE)
    (1, "Ville1", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (7, "Ville1", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (6, 'Ville1', 'Phone');

    Insert into test values (COUNT1, CITY, DEVICE)
    (3, 'Ville1', 'IPhone');

    Insert into test values (COUNT1, CITY, DEVICE)
    (3, 'Ville1', 'IPhone');

    Insert into test (COUNT1, CITY, DEVICE) values (1, 'city' 1, 'Samsung');

    Insert into test values (COUNT1, CITY, DEVICE)
    (3, 'Ville1', 'Samsung');

    Insert into test values (COUNT1, CITY, DEVICE)
    (12, "Ville1", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (5, "Ville1", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (1, "City_2", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (2, 'City_2', 'IPhone');

    Insert into test values (COUNT1, CITY, DEVICE)
    (4, 'Ville_2', 'IPhone');

    Insert into test values (COUNT1, CITY, DEVICE)
    (5, "Ville_2", "IPhone");

    Insert into test values (COUNT1, CITY, DEVICE)
    (1, "City_2", "Samsung");

    Insert into test values (COUNT1, CITY, DEVICE)
    (3, 'City_3', 'IPhone');

    Thank you



    Hello

    Here's a way to use the solution to askTom ( ask Tom & quot; PivotChart & quot; )  in your case:

    CREATE OR REPLACE PROCEDURE dynamic_device_pivot
    (p_cursor ON SYS_REFCURSOR
    )
    AS
    l_query VARCHAR2 (30000): = "CHOOSE the city, SUM (count1) AS total_accounts;
    BEGIN
    FOR (IN) r
    SEPARATE device select
    OF the test
    ORDER BY device
    )
    LOOP
    l_query: = l_query | REPLACE (", SUM (DECODE (device," $X$ ", count1, 0)) as $X$")
    , '$X$'
    dbms_assert.simple_sql_name (r.device)
    );
    END LOOP;

    l_query: = l_query | 'FROM test GROUP BY city ORDER BY city';
    dbms_output.put_line (l_query |) "= l_query in dynamic_device_pivot");   -For debugging only

    P_cursor OPEN FOR l_query;
    END dynamic_device_pivot;
    /
    DISPLAY ERRORS

    RC VARIABLE REFCURSOR
    EXEC dynamic_device_pivot (: rc);

    PRINTING: rc

    The output is not quite what you have posted, due to a typing error, probably:

    CITY TOTAL_ACCOUNTS IPHONE SAMSUNG PHONE

    ---------- -------------- ---------- ---------- ----------

    City1                  58         48          6          4

    City_2                 13         12          0          1

    City_3                  3          3          0          0

  • Captivate 7 user variables ' $$Learnername$ $", the name does not appear in its entirety...

    I use 7 Captivate.  I created a 'Learnername' user variable and added to the text entry area. However, the display name does not appear on the text of the legend. For example. Rebecca Donaldson has been added in the input box of text on the next page only Rebecca Dona' came.    I tried to increase the size of the text caption, rename the variable and redo everything, but nothing seemed to work.    Anyone know what could be the problem and how to fix it? Much appreciated!

    Insert the vsriable into the legend using the NVI icon the
    tab proprties. You can specify the number of characters to display.

  • Tax calculation based on the user in the box input and displaying the result.

    Thanks to WhyIsThisMe for starting me on my first draft script & Jono! I'm almost there with my purchase requisition form (90% manufactured from the tutorial).  Everything works except for the taxable column

    form.JPG

    I can't understand the correct syntax to check the value of the checkbox in the column taxable and then do the math for the tax based on user input in the field % tax

    (total * stateTaxPercent / 100)

    Essentially, I want to make the calculation only the taxable = 1, and then display the cumulative tax in the tax field.

    Should I use mouseup as trigger to perform the calculation of the tax and save the result as a variable and displays the variable in the tax field? Then if another taxable box gets checked, I could add the new calculation of the variable. Not sure whether in an elegant way to get there.

    ?

    I would put the following text in the change event of each taxable check box (in formcalc):

    If ($ == 1) then

    tax = tax + (amount * 0,0825)

    ElseIf ($ == 0) then

    tax = tax - (quantity * 0,0825)

    endif

    (where 'tax' is what you called your total tax box and the 'amount' is what you called your box of price).

  • Set a variable to the result of an instruction select

    I create a list view of the numbers that I have in the system. I'm doing a table with only a list of numbers from 1 to whatever number max is in view. IIf 89 324 is so the last number in the system, so I want a table with 1 thru 89324. Then I can use the NOT EXIST to determine what numbers are miissing in the system. so, if 1 to 200 are not used, but by 89 324 201 is used, then I want the output to 1,2,3... 200.

    The code to make the display works and the code to create the table is good, the loop works when I use a number defined for example 100. I just have problems affecting a variable in the number max.

    Here's what I have (which of course does not)
    CREATE OR REPLACE PROCEDURE test IS
    
    n number := 1;
    maxNum number;
    BEGIN
    
    execute immediate 'create view check_numbers as
      select num from table1
     union
      select num from table2
     union
      select num from table3';
    
    maxNum := EXECUTE IMMEDIATE 'select max(num) from check_numbers'; --I also tried taking out the EXECUTE IMMEDATE here and it still did not work
    
    WHILE n <= maxIpid LOOP
         insert into numList values(n);          
         n := n + 1;
    END LOOP;
    
    --Here I will put in the code to compare the two and display the numbers that are in numList but not in Check_numbers
    
    END;
    /
    Published by: james3302 on August 11, 2010 15:59

    James,

    The solution to your immediate problem to get the result of the immediate execution in a variable is to use

    EXECUTE IMMEDIATE 'select max(num) from check_numbers' into maxNum;
    

    You can also do without running to the immediate assistance

    select max(num) into maxNum from check_numbers;
    

    Of course, you should definitely consider using one of the other solutions already provided.

    Depending on what you ultimately trying to reach, another option to consider is to get the list of discrepancies between the numbers to help
    Method of Tabibitosan of Aketi ({: identifier of the thread = 1005478}).

    with t as (
    select  1 as n from dual union all
    select  2 as n from dual union all
    select  7 as n from dual union all
    select  8 as n from dual union all
    select 11 as n from dual
    )
    select * from (
    select grp, n1, n2, 1+lag(n2,1,0) over(order by n1) as gap_n1, n1-1 as gap_n2
    from (
      select grp, min(n) as n1, max(n) as n2
      from (
        select n, n - row_number() over(order by n) as grp
        from t
        )
      group by grp
      )
    )
    where grp>0
    order by grp
    ;
    
    GRP                    N1                     N2                     GAP_N1                 GAP_N2
    ---------------------- ---------------------- ---------------------- ---------------------- ----------------------
    4                      7                      8                      3                      6
    6                      11                     11                     9                      10                     
    

    Kind regards
    Bob

    Published by: BobLilly on August 11, 2010 15:00

Maybe you are looking for