I want to show previous test result on uut screen?

Hi.
I'm using Test Stand 2013. I want to show previous uut result on new uut screen. How can i do it? Which variable can i use for it?

You could store the previous results using the PostUUT callback (or near that if you are changing the process model directly) and store the result status in a FileGlobal indexed by testsocket index. For example something like:
FileGlobals.LastTestSocketStatus[RunState.TestSockets.MyIndex]
To make sure the array is big enough you could dynamically size it somewhere using SetNumElements() once you know how many testsockets there are.
Hope this helps,
-Doug

Similar Messages

  • 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

  • OA Query Region shows previous search results when moving between pages

    Hello All,
    I have a custom OA Page which has a query region based on a LOV for searching device names. The problem I am facing is once device name is searched and I go to another page through the quick links and come back to same Search Device page, it shows the previous searched results. I am not retaining AM for any page navigation.
    Things I have already tried :
    1 . I have tried refreshing VO by using clearcache and reset methods on VO.
    2. Get the Go button from the query region in ProcessFormRequest and on Go button click I use forwardImmediatelyToCurrentPage. And in Process Request method I am querying the results manually when Go button is clicked. Otherwise I am manually making the where clause condition 1=2 and ensuring that the VO does not return any rows.
    But still I am not able to get rid of the issue.
    The code used is pasted below for your reference. It is urgent. Can you please provide any pointers.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    try
    VpaAdminAMImpl am = (VpaAdminAMImpl)pageContext.getApplicationModule(webBean);
    TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
    deviceAll.clearCache();
    deviceAll.reset();
    deviceAll.setWhereClause("1=2");
    deviceAll.setWhereClauseParams(null);
    String query = deviceAll.getQuery();
    System.out.println("getSearchResult query :="+query);
    deviceAll.executeQuery();
    OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
    String goAction = queryBean.getGoButtonName();
    if(pageContext.getParameter(goAction) != null)
    getSearchResult(am, pageContext, webBean);
    catch(Exception ex)
    throwException("SearchDeviceCO.processRequest",ex);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String action = pageContext.getParameter(EVENT_PARAM);
    OAQueryBean queryBean = (OAQueryBean)webBean.findChildRecursive("region1");
    String Go = queryBean.getGoButtonName();
    System.out.println(pageContext.getParameter(Go));
    if(pageContext.getParameter(Go) != null)
    pageContext.forwardImmediatelyToCurrentPage(null,false,"N");
    public void getSearchResult(VpaAdminAMImpl am, OAPageContext pageContext, OAWebBean webBean)
    try
    String device = pageContext.getParameter("deviceSearch");
    StringBuffer sb = new StringBuffer();
    if(device != null && device != "")
    sb.append(" DEVICE_NAME = '");
    sb.append(device);
    sb.append("'");
    String sql = sb.toString();
    TkvpaDeviceSearchVOImpl deviceAll = am.getTkvpaDeviceSearchVO1();
    deviceAll.setWhereClause(sql);
    deviceAll.setWhereClauseParams(null);
    String query = deviceAll.getQuery();
    System.out.println("getSearchResult query :="+query);
    deviceAll.executeQuery();
    }catch(Exception e)
    e.printStackTrace();
    Thanks in Advance,
    Abhishek Mishra

    Hi Anand,
    The getSearchResult method also does the same thing. I have also tried to remove the dependency on getSearchResult and wrote the same code in ProcessRequest() but still it does not solve the problem.
    In fact, I have ensured that the VO does not contain any records and have checked these by using SOPs and debug in JDEV. The interesting point is the VO does not have any records but still the previous search data and search criteria is shown when we navigate to the page. Printed the query just before performing execute query and that query does not return any records. Also tried printing something if there are any records in the VO by using vo.hasNext().
    Data gets stored somewhere and it is shown when the page is navigated from other page. FYI, this page is accessed from quick links and there are other pages also in the quick links and when we navigate between these pages we get to see the previous search results. Tried methods clearCache(), reset() on VOs but still unsuccessful.
    Not even that I thought that the VO may be corrupted in some sense so I created a new VO instance in the AM and then used newly created VO instance in the query region. But still no luck.
    Any pointers will be appreciated.
    Thanks in Advance,
    Abhishek

  • Want to show an information message in PA30 screen

    Hi ABAP gurus,
       For Infotype9000,subtype RHUB(newly configured) ,I want to show an information message in PA30 initial screen for operations 'Create','Copy' and 'Delete'. For that , I have used a BADI (hrpad00infty) , written code in PBO method of the BADI.
    The problem is this, we cannot show the message in PA30 screen,else it is showing a pop-up dialog box (information msg. is missing in the dialog box) in the next screen.
    Our Requirement:
      1. For the above mentioned operations , we want to show the information message in the PA30 initial screen.
    Please post your valuable comments.

    Hi
    What you're trying to do is not really obvious for someone that's familiar with  the usual USER-EXITs and BADIs in HR but there's a possible workaround using the BADI HR_F4_GET_SUBTYPE and its GET_SUBTYPE_TEXT method for your 9000 IT
    METHOD if_ex_hr_f4_get_subtype~get_subtype_text.
    *SUBTY  Importing Type  SUBTY
    *PERSNR Importing Type  PERNR_D
    *TCLAS  Importing Type  TCLAS
    *BEGDA  Importing Type  DATUM
    *ENDDA  Importing Type  DATUM
    *LANGU  Importing Type  SPRSL
    *MOLGA  Importing Type  MOLGA
    *FLT_VAL  Importing Type  INFTYPA
    *STEXT  Exporting Type  SBTTX
      FIELD-SYMBOLS <rp50g> TYPE rp50g.
      ASSIGN: ('(SAPMP50A)RP50G') TO <rp50g>.
      IF sy-subrc EQ 0.
        IF <rp50g>-infty EQ '9000' AND
           <rp50g>-subty EQ 'RHUB'    AND
         ( sy-ucomm      EQ 'INS'  OR
           sy-ucomm      EQ 'COP'  OR
           sy-ucomm      EQ 'DEL' ).
          MESSAGE i398(00) WITH 'Your message'.
        ENDIF.
      ENDIF.
    ENDMETHOD.

  • LENOVO Thinkpad x201 showing hardware test Result code: WHD01V002-WK5CCH

    hello. i scanned mysystem using LSC and iut gave me the following result Storage devicesDisplay nameSAMSUNG HM160HI - 149.05 GBsManufacturerSamsungModelSAMSUNG HM160HISerialS18PJDNS104726FirmwareHH100-12Size149.05 GBsCache8.00 MBsTemperature42 CPhysical sector size512Logical sector size512Logical sectors312581808Supported standardsATA8-ACS, ATA7-ATAPI, ATA6-ATAPI, ATA5-ATAPI, ATA4-ATAPISpec versionATA-ATAPI-7 T13 1532D version 0Partition schemaMBRIndex 1Partition typePrimaryFile systemIFS, HPFS, NTFS, exFATLabelSystem ReservedMount pointG:\Serial264D6489Size100.00 MBsUsed28.33 MBsFree71.66 MBsIndex 2Partition typePrimaryFile systemIFS, HPFS, NTFS, exFATMount pointC:\SerialCC638811Size38.96 GBsUsed34.45 GBsFree4.51 GBsIndex 3Partition typePrimaryFile systemIFS, HPFS, NTFS, exFATLabelNew VolumeMount pointD:\Serial7E3BE8F9Size109.98 GBsUsed15.77 GBsFree94.21 GBsDiagnosticsSMART Status TestPassedTargeted Read TestFailedRandom Seek TestPassedFunnel Seek TestPassedSMART Short Self TestWarningSMART Drive Self TestWarning  can anyone please guide me what should i do?

    First, its a good idea to remove your serial number from the post. The diagnostics points to a possibly failing hard drive. (the part that stores the data on the pc). Ensure you keep good backups of your data just in case it completely fails. Next, you should get in touch with lenovo and make a warranty claim so they can look at it or advise you accordingly or maybe contact an authorized service center.

  • Want to show 'y' by pressing x on screen.

    Plz give me ideas either to use canvas and g.drawstring or textfield.
    Infact my device donot support repeated key events and if there is some device supporting this please tell me.
    In j2se if we want key events than we do this
    TextField t=new TextField();
    t.addKeyListener.
    I want same thing here and i want that when i press Y than in textfield in place of 'y' i get say 'a'.
    If you do not have some solution please give me some ideas.

    Methods
    keyPressed()
    keyRepeated()
    keyReleased()
    in javax.microedition.lcdui.Canvas class
    My Nokia 6310i support all of that

  • 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 ?

  • 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 Can I change the Directory and Name of Coded UI Test Result html file

    I'm Using Visual Studio 2013
    Now I can find the Coded UI test result html file insde the following path
    TestProjectFolder\TestResults\2015_01_22_05_59\In\anotherfolder\MyMachineName\UiTestActionLog.html
    VS2013 enables editing the name structure of this folder only (2015_01_22_05_59). and it should contains a static name+DateTime (Using the Project TestSettings).
    I need to (Programatically)
    Collect all test result html files on one folder with the project name (Change the path of the test result file)
    Put the testcase name on the result file name (for example : TC13505_ValidateScreenComponents_2015_01_22_05_59)
    If possible,Programatically attach the html result file to the test case attachements
    More Details:
    I need to set a custom valus for (ResultsDirectory -
    TestLogsDir -TestResultsDirectory
    - TestName) on the runtime.
    please if any onw know how to do the previous tasks
    by code, please share your knowledge.
    Regards, Ahmed Elgazar Skype:A7medelgazar

    Hi AhmedElgazar,
    Thank you for posting in MSND forum.
    As you said  that you want to collect all test result html files on one folder with the project name by programmatically way to change the path of test result file in coded UI test.
    As far as I know that when we run a coded UI test every time, it is default that there will create a new folder to save the new UITestActionLog.html.
    So we could not change the path of test result file and collect all test result html files on one folder in VS IDE.
    At present, there have no way to collect all test result html files on one folder and change the test result file path.
    In addition, I know that we can change the TestResults folder using mstest.exe in command line.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/58d3d2a6-1a45-41ba-9afa-12d087c7c661/how-to-change-the-test-results-path-of-codedui?forum=vstest
    If you still want to this feature, I suggest you can submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If
    you submit this suggestion, I hope you could post that link here, I will help you vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to show only the result line of a Query result ?

    Hi Experts,
    I want to show only the result line of the Query. Is this possible in query Designer ?
    In BeX Workbook, I can hide the rows but they grow or shrink dynamically and hence it is unpredictable how many rows to suppress.
    If you have any solutions/workarounds, please reply !
    Rekha

    VBA coding can be used to display just the Result rows.
    Somthing like this - modify as needed.
    This scans the range of query results looking to find the last row, then checks those rows to see if the word Result is found or not, deleting (or you could just hide) the detail rows.  There is also a LEAF option in BEx Boolean options that returns a 1 or 0 depending on whether a row is a detail or result that could also be used to hide rows rather than looking for the presence of "Result" in a particular column
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    For rownum = 17 To 64000 Step 1
    ' col 2 is the Total Result, col 3 is the User Group result
    If Cells(rownum, 2) = "" And Cells(rownum, 3) = "" Then
    lastrow = rownum - 1
    Exit For
    End If
    Next
    For rownum = lastrow To 17 Step -1
    If Cells(rownum, 2) = "Result" Or Cells(rownum, 3) = "Result" Then
    Rows(rownum).Hidden = False
    Else
    ' Rows(rownum).Hidden = True
    Rows(rownum).EntireRow.Delete
    End If
    Next
    End Sub

  • To show previous 12 months from current month.

    I have one column Time.Month (Char column) with values in the format 2011 / 09. In my report i want to show previous 12 months from the current month. I dont have any date prompts in my report. Pls help.

    Use the below query in init block to create a repository variable as PREVIOUS_12_MONTH
    SELECT PRV.PER_NAME_MONTH FROM VALUEOF(OLAPTBO).W_DAY_D PRV , VALUEOF(OLAPTBO).W_DAY_D CUR WHERE convert(char(12),PRV.DAY_DT)=convert(char(12),CUR.YEAR_AGO_DT) AND convert(char(12),CUR.DAY_DT)=convert(char(12),getdate()-valueof(time_offset))
    Variable PREVIOUS_MONTH: Use the below query in init block
    SELECT PRV.PER_NAME_MONTH FROM VALUEOF(OLAPTBO).W_DAY_D PRV , VALUEOF(OLAPTBO).W_DAY_D CUR WHERE convert(char(12),PRV.DAY_DT)=convert(char(12),CUR.MONTH_AGO_DT) AND convert(char(12),CUR.DAY_DT)=convert(char(12),getdate()-valueof(time_offset))
    Create a filter in Answers as below and use where ever you wish:
    Month is between PREVIOUS_12_MONTH and PREVIOUS_MONTH
    Use it in the report with current month Or previous month as per your requirements.
    Pls mark if helps

  • How do I not show previous names on forwards

    I do not want to show previous receivers of a forwarded email just the to person

    I may be missing something, but I have never seen a setting that allows you to exclude the names from the forwarded email.
    After I select "Forward" I just tap on one of the email addresses in the body of the email - and then select all of the email addresses - and delete them myself. It's not automatic, but its not difficult to do either.

  • PeopleSoft Test Framework - Test Result 'None'

    A few of our tests in PTF are showing a test result of 'None.' Can someone explain to me what that means? I couldn't find an explanation in any of the documentation of the test results and how to troubleshoot it to get a success.
    For example, for test to demonstrate viewing job data here are the steps
    Browser
    Start
    Browser
    FrameSet
    Pwd
    Set_Value
    Name=pwd
    Button
    Click
    Name=Submit
    Link
    Click
    id=pthnavbca_PORTAL_ROOT_OBJECT
    Link
    Click
    id=fldra_HC_WORKFORCE_ADMINISTRATION
    Link
    Click
    id=fldra_HC_WORKFORCE_INFO
    Link
    Click
    innerText=Job Data
    Browser
    FrameSet
    TargetContent
    Page
    Prompt
    ADMINISTER_WORKFORCE_(GBL).JOB_DATA.GBL
    Text
    Set_Value
    Name=EMPLMT_SRCH_COR_EMPLID
    Page
    PromptOk
    Page
    Go_To
    Job Information
    Page
    Go_To
    Job Labor
    Page
    Go_To
    Payroll
    Page
    Go_To
    Salary Plan
    Page
    Go_To
    Compensation
    Browser
    FrameSet
    Link
    Click
    id=pthdr2logout
    Here is the log
    Test Start:
    Frame set to "
    Frame set to ''
    Button.Click [Name=Submit]
       Frame set to 'TargetContent'
       Frame set to ''
    Link.Click [id=pthdr2logout]
    Test End
    Thanks for your help

    Have you configured your environment for https? We need to have SSL configured for PTF to work

  • Setting OF LD_LIBRARY_PATH AND WEB CACHE PROBLEM [SHOWING PREVIOUS PAGE ]

    Dear Members,
    I would request for help regarding setting of LD_LIBRARY_PATH in Oracle 11G Application server and web cache problem when any single text file edit and save the result should not be changed . it shows previous page result.
    *1. Where to set LD_LIBRARY_PATH in Oracle11g Application Server (10.3.0) ? [  like in 9ias we set in opmn.xml . ] Where is opmn.xml file in oracle11g or which files contained LD_LIBRARY_PATH?*
    *2. When we created program generated report it shows correct result after some changes in file and generate again it shows first means previous page result as it is not take changes in that file. Even we tried out side made one .text file and open edit and save. It's given same result. So What is the problem regarding it?*
    It is the matter of  Browser Cache or WEB Cache. Where is the settings of it?
    *3. How to connect database (oracle11g Release 2) through OCI driver?*
    Regards
    Vipul Patel

    If you're compiling it yourself, you should set the library path then. If not, you can try something like this:
    env DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/path/to/add-on-libraries orca ...
    but I'm not sure it will work.

  • How to show the Current Date in the Screen as default

    Hi all,
    This is may be simple to u all, but i need the solution for this,
    I want to show the Current date in the Screen, i am using the structure. but the calendar control showing when i run the program. But i want to show the current date as default.
    Thanks
    Shankar

    Is this a screen or a report?
    If its a report, try assigning DEFAULT sy-datum (to the parameter/select-option name)
    If its a screen field, try writing this in the PBO:
    IF fieldname IS INITIAL.
    fieldname = sy-datum.
    ENDIF.
    Hope this helps.
    Sudha

Maybe you are looking for