How to use the return value of TestComplete (using COM) as a variable in the conditional statement (for example loops) TestStand

Hello

I have setup a COM interface for TestStand (TS) to run some scripts in TestComplete (TC).  Normally, when TestComplete has finished executing the script, it returns a 0 or 1 to designate the success/failure during the TestStand step (step test for example String value).  It worked well.

However, now I need TestComplete to regain a vaule (e.g. 32) TS and TS need to assess this value in a while statement. So if the TC value is 32, I would have some statement in TS ike:

While (return value! = 30)

Do something...

Thank you

Jigg,

No, the program does not have a new thread.  It's just a single sequential thread. She called other sequential files, and that's all.

I think I'll have some luck with the StationGlobal.  It seems to work (for example by setting the StationGlobal a single sequence file automatically updates the Stationglobal in another movie file, sort of like passing the reference value)

Thank you!

Tags: NI Software

Similar Questions

  • How to get the device model, for example app works on PlayBoook or BlackBerry 10?

    How to get the device model, for example app works on PlayBoook or BlackBerry 10?

    You can use this class: http://goo.gl/GtMLP for information on devices

    something like this:

    String myDeviceModel = android.os.Build.MODEL;
    String myDeviceBrand = android.os.Build.BRAND;
    String myDeviceDevice = android.os.Build.DEVICE;
    
  • How to study the commands/functions for example <>? &lt;? Sum (fieldName)? &gt;

    I'm new to bi publisher and in some cases, it seems that people are coding for what they want.  How can I find more information about the possible functions that are available.

    For example: Sum.  I used it and it works.  I just what to know whatelse is available and how to code. <? sum (#)? >

    Howard

    Please take a look at this material. It covers almost most of the features of BI Publisher.

    http://docs.Oracle.com/CD/E28280_01/bi.1111/e22254.PDF

    Go through the sub topics to know more functions RTF on

    Extended function in RTF templates support

    Creation of RTF models

    Creating RTF templates using the template for Word generator

  • How to restore the default permissions (for example, the users folder) in windows 7?

    Dear windows users,

    Recently, I messed up the permissions of the files. What happened is that I took my laptop hard drive (win 7 64 bit system) in a USB external hard drive case. Then I get the USB into another windows office 7. I went through the users (perhaps of other files) folder in the hard disk of laptop on the desktop via a USB connection. It is very likely that the Office has changed the permissions of the files.
    I put the hard drive to my laptop, but some applications gives error like access denied messages.
    Is there a safe way to fix them? How to reset the default permissions?
    Thank you.
    BTW, have you worked with permissions of folders? Do you know what happens if permission to c:\users is messed up?

    When permissions in a subfolder in the users folder are confused so the user will not be able to run some programs, to create, modify or delete some files. The folder property affected, followed by assigning appropriate permissions, is usually sufficient to solve the problem.

  • How to hide the 'privacy statement' for all pages

    Hi all

    I have a requirement to hide the "Confidentiality" comes at the bottom right of the
    page for all pages, I know they hide through the controller extension, but I want to avoid
    to extend the controller for each page, is their any other way to hide this privacy statement

    any suggestions would be very welcomed.

    thanx

    Pratap

    Hello

    1. connect to SSHRC.
    2. Select Customize Page link at the top right of the page.
    3. Select the context button choose.
    4. in the field drop-down list select foot of OA.
    5. click on apply.
    6 extend the protection of personal information.
    7. click on customize pencil icon.
    8. set the property Rendered false at the required level.
    9. click on apply.
    10. click on back to the app link.

    I hope this helps.

    See you soon,.
    Prasanna

  • How to validate the field "Reason for change" in the commercial indications using JavaScript?

    How to validate the field "reason for change" in the commercial directions Summary tab using JavaScript?

    Current version of PLM4P: v6.1.1.5.2

    Please help me to validate the fields using JavaScript.

    Thank you

    Nefertari

    Developed using some of the Javascript predefined functions that we offer, it's just JavaScript and jQuery.

    But here is an example.

    (Use Internet Explorer F12 developer tools to find the IDS of the fields to work with.)

    $(document).ready(function() { 
    
        if (UI_Ext_isSpecInEditMode && UI_Ext_HasWorkflowBehavior('1005'))
        {
           //normally, we can use jquery to retrieve elements ($('#ifOfInput).val()), but it seems to fail when the id and the name attributes are the same. so we just use javascript document.getElementById instead.
           var reasonForChange = document.getElementById('ctl01$SpecSummaryctl1$ctlCollapsibleContentContainer$ctl00$txtChangeReason')
    
           if (reasonForChange != null) { 
    
                if (reasonForChange.value == null || reasonForChange.value.length == 0) {
                     UI_Ext_MarkFieldAsRequired('ctl01_SpecSummaryctl1_ctlCollapsibleContentContainer_ctl00_lblSpecSummaryReasonforChange');
                     alert('Reason For Change is required');
                }
           }
        }
    }); 
    

    However, not the user registration or workflow specification. If you were to do this, you must remove record them and workflow buttons and links, and this probably isn't the best practice. On the contrary, you would write validation server that would give you this error message if they try to save/workflow. (So most customers do not use Extensions of the user interface for this type of validation).

    Kind regards

    Ron

  • I use Hotmail on Mac and don't know how to increase the font size for my mails etc. You use the zoom + is only temp for the session. Suggestions please.

    I use Hotmail on a new Mac and don't know how to increase the font size for the display of my email. you use the zoom + is only one temp. Suggestions please.

    According to the format your help,.

    Hotmail format,

    Click Options at the top right,

    Then more options.

    Writing e-mail / click on fonts and signatures.

    Make you choices and save.

    New format for Outlook.com,

    Click on the gear in the top right, symbol

    Click Options,

    The options are almost the same.

    For more entries change your question and move it to the section of Hotmail, Messenger, and skydrive.

    Search by all subjects,

    Section Outllook.com or hotmail.com.

  • How to decompress the files downloaded for use with Windows 7?

    How to decompress the files downloaded for use with Windows 7.  Specifically, zip files are a Magellan GPS unit.

    There are instructions at: http://windows.microsoft.com/en-us/windows7/compress-and-uncompress-files-zip-files

  • How to use 'LIKE' operator/substr/instr with if condition?

    Hello

    How to use 'LIKE' operator/substr/instr with if condition?

    I can use the following function:
    <? xdofx:InStr('ssStatus','Open',1) = '0'? >
    which returns true or false depending on ssStatus as Open *.

    But when I try to use <? If: xdofx:instr('ssStatus','Open',1) = '0'? > calculating <? end if? >

    It gives an error.

    Any suggestion? OR a solution?
    Thank you.

    Published by: user12427117 on March 10, 2011 20:42

    Published by: user12427117 on March 10, 2011 20:46

    You can try to use

    0? >

    Use contains to AS

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to change the default path for documents and settings

    How to change the default path for documents and settings

    I try to change in the registry, but the profile can create but error! had no choice to change the default path % lecteur_systeme % d: /.

    Hello

    I suggest you to download TweakUI, this could help you or get you headed in the right direction
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    Also this KB could help as well:
    http://support.Microsoft.com/kb/236621

    It will be useful.

  • How to change the product key for Office 2007?

    Original title: product key used.

    When I loaded Office 2007 I used a product key with any additional use.  I try to enter a different product key, but impossible to find how to do this.  Can you please direct me to the correct site to do this?  Thank you!

    Hello

    It would be easier to uninstall it and then reinstall it by using the different product key.

  • How to set the time stamp for incoming mail?

    How to set the time stamp for incoming mail?  I have windows vista. I use hotmail/windows live email. My computer has the time is set correctly. My e-mail timestamps incoming messages 7 hours a head of real time. Example: it is now 09:48. A new email is stamped as to settle at 16:48. How can I fix it? Note: the computer is correct.

    Thank you
    Laura
    2.13.2012

    If you mean the customer of email Windows Live Mail, the time stamp on messages is governed by your time zonesystem. Right-click on the clock in the lower right of the screen and select CONFIGURATION... Change your time zone, and then set your clock at the present time.

    If you are talking about the Windows Live Hotmail service, the time zone (s) used are those contained in your account data. Reach
    https://account.live.com/EditProf.aspx
    and change the time zones for the good...

    Windows Live programs and services have their own forums for support at the Windows Live Solution Center. Please address any questions you may have about Windows Live Mail to one of the forums on the right side of this page. For Hotmail, forums and responses are available via this page.

    Noel

  • How to develop the Rss reader for Blackberry java?

    HII,

    This is my first post in this forum, I'm new mobile app, can everyone, how to develop the Rss aggregator for java Blackberry?

    I've attached a zip file which would be useful for you, check it out it's a RSS reader coll, I used some of the techniques for my application, please mark as solution, thank you.

  • How to change the default setting for Australian News & Sport?

    How to change the default setting for Australian News & Sport?

    What setting, probably your browser home page, and how you do that depends on what browser you ar using.

    If using IE opens this page, then click on the "gear" icon to the rt at the top of the page, select Internet Options and look in the general tab

Maybe you are looking for