Generating a test result without a module

I have a basic question about generating a test result without calling a module in TestStand.
For example, I do a pair of read operations from a product and return the results to a pair of numeric local variables. Now I want to do a sequence pass/fail or numeric limit test based on these two values. The results are already available and I can do a function step to test a result, say from a basic math operation. But I can't create a pass/fail result from a function step. I've gotten around the issue by creating a dummy module that has no function other than to allow me use the expression builder to assign a result to one of the step result items, but this sure seems stupid.
What am I missing?
Thanks,
Dave
Solved!
Go to Solution.

Do it in the Pre-expression.
Use the <none> adapter as suggested and place down a Numeric Limit Test step.  Then in the Pre-Expression put something like this:
Step.Result.Numeric = Locals.A - Locals.B
If you look at the Data Source tab you will see the variable which gets evaluated and compared against the limits.
In fact if you wanted to you could avoid the Pre-Expression and just put your calculation in the Data Source Expression:
Locals.A - Locals.B
You can set up the Limits on the Limits tab for that step.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • AVK test results

    I am new to Using AVK for my JSP web Application.
    My Environment:
    jdk1.4
    Struts 1.2
    hibernate3
    OC4J 10g (9.0.4)
    SQL server2000
    LDAP
    Plum tree portal.
    I am new to using AVK.
    I need to generate AVK test results for my Customer requirement.
    Where Can i get information ?
    What are jars i need to download ?
    Raghu

    Ideally, I'd like to find a test plan and/or results from the test plan. I've found reference in the Java platform specification indicating that it
    "satisfies all testing requirements available from Sun relating to the most recently published version of the Specification six (6) months prior to any release of the clean room implementation or upgrade thereto..."
    but I have not found what the testing requirements are that have been satisfied. Any ideas?
    Many Thanks,
    -E

  • In other words jQuery mobile does not generate code with result can not test Apps in dw cs6

    from the time compiled in phonegap dw c6 tools and tested from dw the App in Android sdk, for a jQuery mobile App the, code in split/Live is the same as split/Live/Live Code.... in other words jQuery mobile does not generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well?

    well, jQuery mobile stopped to generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well (neither generated code seems nor design as seem in mobile)....????

  • I want to write a program in LabView then pass the test results to teststand to check if it pass or fail without displaying the test stand program,

    I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.

    What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
    In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging.

  • How to discard skipped test results in XML report generated from TestStand

    Hello,
    I'm generating XML report from TestStand. I have more than 100 test cases & user has the flexibility to select the test cases to execute or to skip.
    Problem statement:
    1. In Configure\report options there is filter expression to filter test results to be logged. However, this filter is disabled for XML report.
    2. Is there a way to compress XML file using either encryption or any other methods?
    I understand that there would be two methods ideally for my problem statement #1 above:
    A. To have a workaround in reportgen_xml.seq to pragmatically log only executed test cases and discard skipped test results.
    B. Modify stylesheet supplied by NI to discard skipped test results.
    For problem statement #2 above:
    I am able to encrypt the data before logging it to XML. But I don't know how to modify the stylesheet to decrypt the same using either public/ private encryption keys. Can anyone bring in more ideas here !!!
    My preference would be to implement using #A above to reduce the XML file size which is ~4 MB will all test results (skipped + executed). If this is not possible my last option would be to implement using #B above
    I would appreciate if someone can help me for my problem statement? I'm using TestStand 2010
    Solved!
    Go to Solution.

    I have another solution and that is to actual discard the result before you get to the report stage.
    You can do this by use of the Override Callback SequenceFilePostResultList and if Skipped then discard the result from ResultList.
    Check out this link.
    Regards
    Ray Farmer

  • Import the test results and doors links back to doors with NI Requirement Gateway

    Hi together,
    I will try to explain my problem:
    We are using TestStand, DOORS and the NI Requirement Gateway.
    We created a test specification in DOORS, TestStand used the DOORS IDs to connect the TestSteps in Teststand with the requirements in DOORS.
    TestStand runs the test and creates XML-results, the NIRG is able to import these XML-results back to DOORS and creates a new(!!!) DOORS module, parallel to the said test spec.
    This module contains some attributes like the single test steps, the results (pass,fail, whatever, ...) but now I am missing a relationship between the DOORS test specification and these results of the XML file or better, the XML-import in the new DOORS Module.
    We want to manage our test results only(!) in DOORS so it should be possible to link(!) automatically the results of the XML to the DOORS TestSpec cause we are able to transfer the DOORS-IDs or other attributes (i.e.. The "un"unique NI ID#") too!
    in ASCII-art:
    DOORS_TestSpec -> NI_TestStand -> NI_Result -> DOORS_Result  <--------- with LINKS to the DOORS_TestSpec!!!!!!!!!
    Next Step is the DOORS Analyze Tool but we need the links to follow them and to show us the results.
    Would be nice to know if somebody else knows the problem or perhaps someone has an other solution. Thanks for your time!
    Greet

    Regarding your statement "We will generate a chunk of XML-Results, so we are not able to link all the requirements by hand", are you concerned about having to update the path to the XML files each time you run the test?  In this case, I would recommend creating a directory to store only the most recent report (the report path can be modified in the TestStand report options), and set the XML report project in Requirements Gateway to point to this directory.  In your TestStand sequence, you could call code which moves the previous report file into a backup location so that only the newest file is in the specified directory.  THis would prevent you from needing to modify the Requirements Gateway project to access the latest report; reanalyzing would reload the project with the new file.  The traceability information will therefore always be up to date, and you can see that the DOORS requirements are being covered by the test results.
    I agree that there is not really a good solution for importing the XML reports into DOORS, but I think you can acheive the result you are looking for using the report files directly.
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • How to fill pre-defined tables in Word 2003 with test results?

    Hi All,
    I have a simple test board , where i measure different DC levels,  with a simple Vi that saves the test results in to a Text file.
    These results in text file, were manually typed in to 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 from text file and added to the specific rows and columns in  my word test report file.
    The big questions is how can i get Labview to,after it has measured the DC levels, write the test results to the specific tables , rows and columns, in the Word document without deleting all?
    The attached picture illustrates one tables , and the yellow cells showing the cells that need to be filled in with test results.
    Labview vers: 2009
    Solved!
    Go to Solution.
    Attachments:
    Template.jpg ‏37 KB

    Hi!
    I'm a Test Engineer for electronics and I create alot of automated tests with LabVIEW. Many of our customers want testsresults in a fancy and easy-to-read report. I did not have the MS Office Report Generation tool. So I did some research in the Excel Board and came a cross a link to a free open Excel toolkit ( Link ). The toolkit looks like this in LabVIEW:
    As you can see, you have many tools to get the job done. I'm talking about reading, writing and formatting Excel. The toolkit uses activeX. If you give me a few minutes I'll create an example for you.
    What I do when I create a report:
    Step 1. Create a template with all your formatting, macros, images and colors. Name the file for example "template.xlsx" (or .xls if you use an older office version).
    Step 2. In your program, copy the file to the desired location and give it a proper name.
    Step 3. Aquire some data and write it to the file you copied and renamed.
    For my latest project I created a fully-automated testprogram for testing a electric product. After each test a report is generated based on the procedure above. After testing all the products I have for example 300 reports. I then created a program that reads all the reports and creates a summary report that contains statistics for all the tested products. In my program I can also print the reports or the summary report and deliver to our customer. All this takes just a few seconds and adds extra quality to the products we sell to our customer.
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to view the emma coverage test result when running local job

    Hi Guys,
    When using emma in DTE, we can obtain the code coverage test result. I submit a farm job, and can get a txt or html file on coverage report. But when I run it locally, the txt / html files is unavailable. I can only see a folder named coverage with coverage.emma & metadata.emma. So my question is how can I get the coverage report from it?
    If I can use some command to generate report files, then what is it and how to run it.
    Thanks

    Hello Twenz
    This forum is mainly (should not be only but it is) used for supporting Oracle Application Testing Suite (OATS) products.
    I guess your question is not related to this solution at all. So maybe this is not really the right forum.
    Good luck
    JB

  • SCOM 2012 - Visual Studio Web Test - Cannot retrieve downloaded test results / share not configured

    Hello-
    I am trying to get my Visual Studio web test to work in SCOM 2012. I have configured the run-as account, and set the correct overrides for the Alert attachment file share discovery. I followed this guide to the T: http://technet.microsoft.com/en-us/library/jj899889.aspx
    When I Select the site that I want to download the test result file for, The results pane shows the following error:
    "The share does not seem to be configured in the Alert Attachment Management Pack"
    When I attempt to download the result file without manually entering creds, it fails. When I do enter creds, in the "task history" it shows as succeeded, but I get no results. All subsequent automatic "Retrieve previously..." fail. In
    the "task history", the "Run As" column is blank (unless I manually enter the credentials, which doesn't do me any good, anyway)
    My "Alert Attachment" MP is inside another MP I created, along with the "System Center Global Service Monitor VS Web Test" MP and two other System Center MPs. This created MP is the one that my Alert Attachment Overrides are attached
    to.
    My Run-As account has the needed permissions to the file share, so I am lost as to why this isn't working. Any help would be greatly appreciated.

    Have you followed the steps here to configure the share location http://technet.microsoft.com/en-us/library/jj899889.aspx ?

  • When oracle invalidates result_cache results without any changes in objects

    Hi all!
    On our production servers we have simple function with result_cache, like this:
    create or replace function f_rc(p_id number) return number result_cache
    is
      ret number;
    begin
      select t.val into ret from rc_table t where t.id=p_id;
      return ret;
    exception
      when no_data_found then
         return null;
    end;
    /And its results frequently invalidates without any changes in table or
    function. I found only 2 cases when oracle invalidates result_cache
    results without any changes in table:
    1. "select for update" from this table with commit;
    2. deletion of unrelated rows from parent table if there is unindexed
    foreign key with "on delete cascade".
    I test it on 11.2.0.1, 11.2.0.3, on solaris x64 and windows. Test
    cases: http://www.xt-r.com/2012/07/when-oracle-invalidates-resultcache.html
    But none of them can be the cause of our situation: we have no
    unindexed fk, and even if i lock all rows with "select for update", it
    still does not stop invalidating.
    In what other cases this happens? Am I right that the oracle does not
    track any changes, but the captures of the locks and "commits"?
    Best regards,
    Sayan Malakshinov
    http://xt-r.com

    Hmm.. Do you about our situation or about test cases with "select for update" and "fk" too?
    I'm not sure that it is a bug, maybe it's an architectural approach to simplify and reduce the cpu load?
    Best regards,
    Sayan Malakshinov
    http://xt-r.com

  • Build model - view test result - i have no ROC tab

    Dear all,
    When I build eg. a classification SVM (Lin.Reg, Naive Bayes)) model and view the test results, in that window I have only these tabs: Performance, Performance Matrix, Lift, Profit. I have no Roc tab. Do you know why? Before I used SQL Developer 3.2.09.30_x64 with this problem. Now I use SQL Developer 3.2.20.09.87_x64 with this problem. When I try to tune the SVM algoritm (so not let it automatic), there are only these tabs: Cost, Benefit, Lift, Profit. But not ROC tab :(((
    When I use the old Oracle Data Miner software from 2011, version 11.1.0.3.0 (build 11705) connecting to the same database server (using the same account), and I build a classification SVM model, I have ROC curve.
    Can anyone help me to solve this misterious problem?
    Than you!!!

    We don't have "preferred target value" during model building in the new data miner. However, you can use the Transform node to transform your target into 2 classes (preferred target value and others). You then use the output from the Transform node as input source for your model build.
    Here is a process to transform your target into 2 classes:
    - Create a Transform node
    - In Transform node, select the target column, click "Add Transformation" icon on the toolbar
    - In the Add Transform dialog, select "Custom" Binning Type, click "Generate Default Bins" button (accept default settings)
    - In the "Custom bin values" listbox, remove the non-preferred target values (select the values and click the "Remove Transformation" icon on the toolbar)
    - Now, you should have one preferred target value in the "Custom bin values" listbox, click OK to finish
    You can now connect the Transform node to a Build node. In the Build node, select the transformed target (it should have the "_BIN" suffix in the name) as the Target for model build.
    Hope this help!
    Denny

  • Report Tab showing Cleanup Test results

    We're running with TS 4.0 (VIs in LV 8.5).  We've customized the Operator Interface so that the Execution View and Report View are contained in the same tab.  Before now, we really didn't use the Cleanup section of the sequence file.  However, as our test evolved, we realized the need to guarantee certain predictable shutdown.  Anyway, when we run our tests (we have the report set to on-the-fly) the tests in Main show up in the execution tab and display pass/fail.  When a subsequence is called, the execution tab lists those (sub)tests and their results, as expected.  The problem is that we have a couple of things we do in Cleanup, and when the test ends, the execution tab displays the results of the things that were done in Cleanup.  We'd like the test results from Main to show up at the end so that the user can see what passed/failed without having to scroll through the report.  Is there a way to do this?

    Hello mrbean,
    I am not seeing the same behavior that you describe.  The execution pointer should always follow the steps in the currently executing sequence.  If your MainSequence cleanup step group does not call any subsequences, then the execution pointer should not leave the MainSequence.  Furthermore, when I do place a subsequence in my cleanup step group, the execution pointer still returns to the MainSequence from which the subsequence was called once it is finished executing.  So I have been unable to reproduce this issue.
    However, if you simply want to disable tracing into the Cleanup step group, you can go to Configure > Station Options and uncheck the "Allow Tracing into Setup/Cleanup" option.  I hope that helps.
    Regards,
    Marty H.
    National Instruments

  • Error generating the Test Frame

    Hello all,
    I have created few Function Modules (SE37) which are working fine on the dev system. After I moved them to the Quality system, when I tried to run them, all of them are giving this error before even going to the test screen:
    "Error generating the test frame"
    When I check the details of the error, by clicking on the "?" on the error window, it says there is a missing structure, that I have used in my FM. But the structure is not missing. It does exist in the system (I checked from SE11)
    Can someone tell me how I can resolve this problem?
    Thanks and Regards,
    Reena

    Hi,
    Just go to ST22 and see the dump created. It will tell you the table or structure name ( Standard ) that is missing/inconsistent in the quality system.  You can consult with your basis team to rectify this. Some tables may be partially active or with run time inconsistencies.
    Regards,
    S. Chandra Mouli.
    Message was edited by:
            Chandramouli Subburathinam

  • Smartform-Error generating the test frame

    i am passing a internal table to a smartform and defined the associated type for that internal table under TYPES tab of the Global Definition.
    While testing  the smartform it gives a runtime error i.e. Error generating the test frame.
    kindly advice where i am going wrong
    Thanks
    Ravi

    Hi Ravindra ,
    Test such smartforms with a program and not through SE37 .  Not supported see error message -
    <b>The test framework for /1BCDWB/SF00000031 has been regenerated but errors have occurred
    Message no. FL821
    Diagnosis
    One reason can be the complex typing of the function module parameters.
    In certain circumstances you cannot access the test cases in the test data directory.
    Procedure
    The test environment of the function builder cannot map (or map correctly) complex types, so that you cannot read or write this data to the test database.</b>
    Cheers

  • Help!! Error generating the test frame..

    i created a smartfrom and i am trying to fetch data into it. the program is bug free and was activated.
    but during execution it popped up this msg..
    Error generating the test frame
    Message no. FL819
    Diagnosis
    The system could not generate a syntactically correct test frame for function module /1BCDWB/SF00000166. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
    The error message is:
    "ZCIVILBOQ" must be a flat structure. You cannot use internal tables, strings, references, or structures as components .
    System Response
    Procedure
    Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.
    Procedure for System Administration
    plzz help..
    Edited by: Sumit Nene on Dec 31, 2008 5:30 AM

    the table zcivilboq has already been defined in DDIC. why to define it in th form?
    yes but i have created an Internal table IT like zcivilboq in form interface.

Maybe you are looking for