How is Parameters.Result used in callback? How is it different from Parameters.Step.Result?

Hello,
I have searched TestStand reference manuals, help, and the forums, and I haven't yet found exactly how Parameters.Result should be used in callbacks (if at all).
I'm trying to figure out how to take a step that normally is not recorded in the result list, and force it to be recorded on the infrequent occasions that it fails. I'm thinking I should be using the Result, but I'm not sure how.  If I set Parameters.Step.RecordResult = True then the step does get set to record results, but that seems to be permanent in the sequence file and AFTER the failure goes unreported.
Thanks in advance for your expert help!
- Gizmogal
Solved!
Go to Solution.

In stepping through the SequenceFilePostResultListEntry I finally discerned the difference between Parameters.Step.Result and Parameters.Result, which is only visible at run time:
Parameters.Result has a TS container which refers to the current step, giving information such as StepGroup, StepName, StepType, among others. Its results-related properties are equivalent to the Parameters.Step.Result properties as far as I can tell.
Parameters.Step.Result has a much more extensive TS container of type TEInf which appears to be test executive information.
It seems kind of backwards from what I would expect, but there it is.
I'm partway through shifting my paradigm - recording all results and then discarding those not of interest. I ended up adding a status string "RecordAlways" to force some steps to be recorded every time, and I toss any that are not equal to that or "Passed", "Failed", "Error", or "Terminated". It's working pretty well so far.
Thanks again for your help!
- Gizmogal

Similar Messages

  • HT201302 The laptop I was using to upload photos from my iphone is no longer good and I want to use my desktop instead but it is displaying an error that the iphone has no photos in it. How do I start using my desktop to upload my photos from my iphone5?

    The laptop I was using to upload photos from my iphone is no longer good and I want to use my desktop instead but it is displaying an error that the iphone has no photos in it. How do I start using my desktop to upload my photos from my iphone5, is there any software I need to download?

    Photos on the phone in the DCIM folder are those located in the camera roll. Photos that are synced to the phone from the computer cannot be accessed in this manner. They are synced and the only way to manage them is to connect the phone, go to the photos tab and un-select the folders you want to remove or go into the folder photos are located in and remove the photos you no longer want to sync. Then sync the phone and the photos will be removed.

  • By default, Teststand will not include the test step result in subsequence, is there any way to include these step result in report?

    By default, Teststand will not include the test step result in subsequence, is there any way to include these step results in report?
    Thanks
    Jacky

    Hi,
    If your subsequence is in a separate sequencefile, then check the properties of the sequencefile to make sure that the record has not been disabled.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to get image using Http and how to save in Smulator

    Hi guys,
    Am working in black berry bold. i dont know how to get image using htp connection and one more thing i need to save this image in side simulator directory............. what are the specific API i should...
    Guide me.........

    If you want the input image size you need to pass it in as parameters.
    A discussion thread on this topic is:
    http://forums.adobe.com/thread/29948
    -- Daniel R. <[email protected]> http://danielr.neophi.com/

  • What is the best app for following of the download? I mean how much I downloaded using WIFI and how much 3D download.

    I would like to follow the amount of MB I downloaded and to know how much data was downloaded using WIFI and how much using 3G (internet connection by phone network provider as AT&T and so...).
    Thank you very much for any suggestions.

    Personally I have tried LogMeIn Ignition, Splashtop, and AlwaysOnPC, as well as TeamViewer. Although LogMeIn Ignition is expensive I would also have to say that it is the best one I've tried. Apart from viewing the computer's screen, you can access the files and folders in a standalone file browser interface without seeing the computer's screen, this speeds things up a lot.
    As for security, I'm not too sure, as the website for LogMeIn does not seem to list the details. But as with any other internet based service, like email and social networking sites, an additional account of any sort will increase your vulnerability, even if it's just by that small amount. You can try accessing the computer through a VPN when on a public wifi network for added security. However about the virus, I don't think that is possible... No need to worry about your iPad getting a virus.

  • How can I change my iTunes Account Name to something different from my Billing Information Name?

    I have an iTunes account using a relative's credit card. As a result, my iTunes Account Name is changed to her Name in the Billing Information.
    Can I change my iTunes Account name to something different from the Billing Information Name?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • HOW TO GROUP ITEM BY department (MaNganh)/ Category(MaNhom) in XtraReport from Stored Procedure result ?

    I have stored procedure result, i have succeeded bind it to xtrareport. But how can I group item by department (MaNganh) and category (MaNhom) in XTRA REPORT ? Please help me how to solve it ! (SQL SERVER 2008 R2) (DevExpress 10.2.8)

    I've made ​​it, and successful.By add GroupField: 
    GroupField groupField = new GroupField("MaNhom");
               GroupHeader1.GroupFields.Add(groupField);
               tblCell_Group_MaNhom.DataBindings.Add("Text", DataSource, "MaNhom");
    Thank you for HELP! 
    Master Can

  • How to receive messages using my iPad number than receiving messages from email

    HOw do I receive messages using my iPad number not my email address

    You are probably going to have to sign out of/turn off Messages on the phone and the iPad and then start all over again and enable messages on the phone first so that the number is accessible again to use on the iPad in Settings>Messages>Send and Receive at>You can be reached by iMessages at. You need to be able to select your phone number in there.
    This kb article explains it in detail.
    http://support.apple.com/kb/HT5538

  • How to Print form using SAP Smart Forms which is migrated from SAP Script?

    Hello every one,
         i have a problem in printing form using smart form which is migrate from the SAP Script...so what method i have to use...if any one know the solution for this than plz reply me as soon as possible...

    hi
    when ever u want to migrate the script to smartform u have to chage the driver program also..
    refere this link to convert script to smartform
    convert sapscript to smartform
    c_formname = u r smartform name...
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = c_formname
      IMPORTING
        fm_name            = v_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ...........................CALL SMARTFORM............................
    CALL FUNCTION v_fm_name
      EXPORTING
        control_parameters   = st_control_parameters
        output_options       = st_output_options
      IMPORTING
        document_output_info = st_document_output_info
        job_output_info      = st_job_output_info
        job_output_options   = st_job_output_options
      EXCEPTIONS
        formatting_error     = 1
        internal_error       = 2
        send_error           = 3
        user_canceled        = 4
        OTHERS               = 5.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.

  • How to register a  supplier with VAT number which is different from the  co

    We find it difficult to register a supplier as in the reference above. The supplier is Dutch but the VAT number is Italian. SAP system checks the VAT number and the country of origin and we cannot register the supplier. How can we do it?
    Regards

    Hi,
      U can maintain this data by clicking on CIN DETAILS tab of vendor master----
    >SALES TAX/SERVICE TAX.
    OR
    VENDOR MASTER-->CONTROL DATA>TAX INFORMATION---->TAX NUMBER.

  • How to activate and use Siri in ios 8

    My iphone 5 does not turn on Siri.  How do I find the information on 'how to activate and use Siri'?

    You can activate Siri following this steps on your iPhone 5:
    Settings > General > Siri
    There you can activate Siri and chose the language you want her to interact with you

  • If we use alternvative BOM, How could we do backflush or MRP running?

    Hi Experts
    If we plan to create two parts, and setup it in BOM as alternative parts.How SAP do the backflush or run requirements for it?  Will it consume each parts qty?
    Since in stock , there will be two parts stock qty onhand.
    Thanks
    Alice

    Hi jagadish 
    Thanks a lot ,
    one concern is , we first add B as A part follow -up material . if we don't set the valid date, that means when A part is used up, it will move dependent requirement for B ,right?
    Before that, A will still have dependent requirements,  we will still place po and receipt it. So how A could be used up? How B could be trigger out PO?  according to the puchase lead time, our process is we have to start to buy B part when we decide to obsolote A part.  But since A still have qty onhand, and in BOM its priority as 1, B could not be triiger out requiremnts?
       So if we set valid date for follow up mateiral , that means when A has stock, from that day,  MRP will only consider B requirements ,right, even though we set priority 1 for A in BOM? In bom we set A part as priority 1 and usaging 100%, when we do backflush , it will consume A part , when A is used up , System will trigger production order with B matieral automatically ,right? No need to change the priority for the alternative bom? even though part A proirity as 1
    ( actually, we just buy B part, for backlfush we need use A up first )
    Thanks
    ALice
    Thanks
    Alice
    Edited by: alice zhang on Jun 13, 2008 1:29 PM

  • Negate Boolean for Step.result.passfail

    Ok, I'm looking for why TestStand is doing what I did not expect.
    The first passes "Fail" to "!Step.result.PassFail" and  uses a data source of "Step.result.PassFail" this step always Regardless of the value of "Fail"
    The second passes "Fail" to "Step.result.PassFail" and uses a data source of "!Step.result.PassFail" and operates as I intended. (Fails if Fail is True).
    A brief search yeilded the "Don't do that... negate in code" answers to the old "how to Negate Boolean for Step.result.passfail?" question. But this does not explain the unexpected behavior and I'd really like to understand whats really happening here.
    Attached is a simple example that demos the behavior  using dialog express vis
    Jeff
    Attachments:
    Funny.seq ‏24 KB

    "!Bool" equals "!bool", as long as you make no case sensitive string compare
    Ok, the trick is understanding expressions.
    Play a little game with me please. Here are the steps to follow:
    1. Open your sequence file Funny.seq. Select step one.
    2. In code module tab, select the parameter Error Out value. Current content is "Step.Result.Error". Open the expression editor.
    3. In the expression, type "ABC" (including quotation marks). Press "Evaluate". You will see that the expression must either
    3. a) point to a container or
    3. b) be a container itself.
    4. Close the dialogs (cancel expression edit dialog) and open on for the parameter Fail (current value "Step.Result.PassFail"). Open the expression editor.
    5. Again, type "ABC" in the expression. Evaluate it again.  You will see that the expression must either
    5. a) point to a boolean or
    5. b) be a boolean itself.
    What do we learn from this steps?
    "Step.Result.PassFail" is the lookup string for a boolean variable. So the evaluation results in a pointer to a boolean.
    "!Step.Result.PassFail" is the negation of a boolean variable. Evaluation will therefore fetch the value of the lookup string (type: boolean) and then negate it. So the result will be a boolean value, but it does not point to the variable "Step.Result.PassFail" anymore! Since the result is boolean, the expression passes evaluation.
    That is the reason why "!Step.Result.PassFail" as parameter will NEVER pass the boolean return value of the VI to the TestStand dataset (aka execution).
    Let's proceed:
    6. Move to step two. Switch to tab "Data Source". Open the expression editor for the data source expression.
    7. Again, type "ABC" in the expression. Evaluate it again.  You will see that the expression must either
    7. a) point to a boolean or
    7. b) be a boolean itself.
    So, catch up: We have the same issue here as step 5! We are not referring to any variable anymore once the expression gets evaluated!
    So why does it work as desired nevertheless?
    I gave the explanation in my previous post:
    Norbert_B wrote:
    The reason why your negation in the data source works is the status expression:
    Step.DataSource !="Step.Result.PassFail"? Step.Result.PassFail = Evaluate(Step.DataSource):False, Step.Result.PassFail ?"Passed":"Failed"
    As you can see, your expression does NOT equal "Step.Result.PassFail". Hence your negated value of this variable is evaluated as stated in the case-select part (Step.Result.PassFail = Evaluate(Step.DataSource)). This evaluation results in your negated value. Next, the Result is set to either "Passed" (evaluated to True) or "Failed (evaluated to False).
    You make a STRING compare in the first part of the status expression. YOUR data source DOES NOT MATCH the expected string.
    So in the TRUE case, you evaluate your new data source and write the result back to Step.Result.PassFail. So essentially, this step (in your case) simply negates the content of Step.Result.PassFail! Next expression will query the boolean value of Step.Result.PassFail and write either "Passed" or "Failed" into the Step.Result.Status....
    hope this is now more clear,
    Norbert
    EDIT: The only weird thing is, that in the first step during execution TS does not create a warning (or error) because you assign a return value of the module to a "True" (boolean value).
    One thing you can also do to increase understanding about the "issue": Simply write "True" or "False" (without quotation marks!) into the expression field "Value" for the boolean return value of the VI.....
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • The Step Result element in the DITA tasks

    While creating a task in DITA, the Steps element contains Step > Step Result element. If I insert the Step Result element, the text "Step Result:" is also displayed in my published output. I would like to use the Step Result tag, but I do not want to see the Step Result text being displayed in my output. I have gone through the style guides, edds, dtds, but don't know where the text is coming from. Please help.

    Hi ScottPrentice,
    Thanks very much for the response. I followed your instructions, but no luck so far. Here's what I did:
    1. Opened my task document > View > Reference pages. I could not locate Step Result referenced frame there.
    2. Locate the template for this structured application - The template is Task.template. The template file is blank, so I opened the corresponding edd file: Task.edd
    3. The First Format Rules and Text format Rules for the Step Result element are as follows:
    First Paragraph Rules:
    If Context is Step, use Step.result.begin
    else use substep.result.begin
    Text Format Rules:
    If Context is Step, use paragraph format Step.result.begin
    4. The Step.paragraph.begin paragraph style is being used here. You asked me to change the referenced file to none, but I did not find such syntax where I can make it none.
    The easiest way to determine the right tag to edit is by checking the paragraph definition in the task topic you're editing.
    The paragraph definition is step.result.begin. Could you please help me edit and remove the step result text from it?

  • How can i write to the Step.Result.ReportText of a Sequence callback?

    i need to write to the Step.Result.ReportText and step.Result.Status of a sequence callback using a statement but it jus won't work...how can i do this?....

    I am not sure what you are asking but will give it a shot.
    Only a step has Step.Result.ReportText and Step.Result.Status properties. Therefore you cannot set these properties for a sequence callback. For certain callbacks that are called by a sequence call step, you can set Step.Result.ReportText and Step.Result.Status of the Sequence Call step that called the callback. To do this you can set Runstate.Caller.Step.Result.ReportText and Runstate.Caller.Step.Result.Status within the callback.
    If this does not help you then you must provide information as to which callback you are using and for what step you want to set the Step.Result.ReportText and Step.Result.Status properties

Maybe you are looking for

  • Using Oracle ODBC Gateway connecting to a remote Oracle database

    Oracle 11gR2 RHEL 6.4 Has anyone use the Oracle ODBC Gateway to connect to another Oracle database?  Any issues with that configuration?  Where do I get the ODBC drivers for Linux? (I know, "why not use a dblink?" -- well that would be against compan

  • Maximum number of iTunes accounts associated with one credit card?

    We have a 20 person sales force and will be updating their iPhones and iPads to iOS 5 at a meeting in February.  We want each sales rep to have their own iCloud account for backups and storage.  So, we created 20 new iTunes accounts for each of them

  • Successful transfer of hosting fee to client?

    I am trying to take a site off of my 5 free webbasics sites on my creative cloud account. Using the admin console, I went to site settings--> site management--> upgrade now. I selected 'invoice my customer directly' and filled out all required info.

  • Different date format conversion?

    consider, i have a input like 13/12/2008 (dd/mm/yyyy) or 13-12-2008, I want to change the above format to 12/13/2008 (mm/dd/yyyy) or 12-13-2008. Is it possible? Is there any function available? Please advise.

  • Can't pair iphone 5 to mac mini

    help