Create step type for a COM step

Hi,
I'm using the COM adapter to interface with TestComplete.
My current setup is I have a Master sequence file that contains two calling sequence files ( one for each test).
The individual called sequence file have 4 steps as listed:
Get Property: Create new object
Calling a method to open project
Call method to run test, and pass parameter to TestComplete
Get property result
My problem is if I want to pass a different parameter in the Call method to run test Step, I have to create another sequence file to do this.
Is there a way to create a single Step Type to call method, run the test and pass parameter to TestComplete?  and how will it affect the other steps in this sequence file (e.g. Create new object, open project, Get property resut)?
Thanks!
Solved!
Go to Solution.

Jigg,
Thanks for your help.  Please see attached file.
Yes, I have to create another sequence file(with the 4 steps) if I need to pass a different parameter value to TestComplete via COM.
note: the parameters that are used by the 4 steps are all in the Parameter tab.
Regards,
ph
Attachments:
sequence call with parameters.doc ‏160 KB

Similar Messages

  • Add-on step types for TestStand?

    I am almost certainly reinventing some wheels with Teststand by creating some basic test types.
    For example, I just wrote a custom step type for taking an analog measurement from a DAQmx instrument. Surely someone has done this before, and surely someone will want to do it again. There's nothing proprietary about code that simple, and I'd be happy to give it away if there was a place to post it.
    Two questions:
    1. Is there an open-source repository for sharing custom step types?
    2. Are there add-ons for purchase with canned step types beyond those which come with TestStand?
    -Arthur

    Hi Jigg, 
    I looked at Averna.com, and I don't see any add-ins available on their website. It looks like they offer services mostly. 
    It's a good point about TS projects being so varied and customized. However, if custom step types are well architected, as the built-in step types are, then they ought to be reusable by others. 
    You're right also that I can accomplish my DAQmx steps easily using an Action step with the LV adapter. My motivation for the custom step is to improve the interface for setting up such an action. In particular, when using an IO channel in TS, I have to manually type in a text string for the DeviceName value, whereas I'd like to choose from a list of global names (e.g. with the global channel list control in LV). I can get this affect by using an Enum in a wrapper VI, which maps to an array of channel constants; but this is fragile if the available channels are changed (e.g. added, removed or renamed in MAX).
    Additionally, a custom step type is better than a step template for my purposes, because I can propagate changes in the step type to instances of steps throughout the test. This is incredibly valuable to me during development and debugging. It saves me time when I want to update a step that I've used many times throughout a test sequence. Although TS isn't itself a programming language, I find that I expect it to share certain traits with programming languages to facilitate development, such as type abstractions and a strict enforcement of congruency between types and instances. But I digress....
    Thanks for your suggestions.

  • Creating output type for MB01,MB1B & MB1C for IDOC

    Dear Exoerts,
    Here scenarion is client using interface at front end.Which provides backup data from SAP.
    Can anybody guide to Create output type for transactions MB01,MB1B & MB1C.It is going to use for IDOC creation.Client wants Inventory program at front end system.
    Waiting for your reply.

    Hi,
    Please check below link in this regard. Thanking you.
    http://help.sap.com/saphelp_45b/helpdata/en/52/16ac64543311d1891c0000e8322f96/frameset.htm
    Edited by: Padmasri Garapati on Nov 30, 2011 3:14 PM

  • How  create data type for coulmn name having special characters in IR

    hi ,
    any idea how to create how to do create data type for coulmn name having special characters

    Hi Amit,
    Can you ellaborate ?
    Actually if you are reading a file(or anything else) which contains special characters, the data type can be created as done for other interfaces. But it is in the adapters that we actually take care of handling these special characters.
    ShabZ

  • How to create output type for GR,GI?

    Can any one explain,How to create output type for Goods Receipt,Goods Issue.?
    and How to take print out for both?

    Hi, jayant in standard u have output type for picking list, delivery doc complete, theres no output type seperately for PGI or PGR
    I am sure u need the help of tech guy to create the new output type for ur requirement
    regards
    giri

  • Workflow Step type for Container Operation

    Hi,
    A STEP in a given Workflow has to have an Agent? Can't I create a Step to get data from the DB into the container and that's it?
    I have created a container variable called "Grade" and I need to fetch the Grade of a User (WF Inititator) from a DB table and populate the "Grade" variable from the container that will be used in further steps.
    The Workflow gets kicked off but when it reaches the STEP, it stays there waiting for something (Action from a user?).
    Thanks & Regards,
    Ernesto

    Ok, now this is getting weird. Will try to explain what I am doing for one single step:
    1) I have my workflow. On PFTC I Have a workflow Template. Under the Container Tab I created a Parameter called "Grade" with the Import/Export check-boxes set and a "CreatedBy" parameter with the import/export check-boxes set as well.
    2) Then on the Workflow Builder I created a Step called Get Grade. This step calls a Custom Task and processes in the background so there is no agent determination.
        2.1) Here I have two bindings: a) Binding Between Workflow Container and Task and between Task and BO Method       
               Get_grade.  The Method Get_grade has 2 parameters (CreatedBy, that is an attribute of the Object and is an import
               parameteter and Grade that it is an import/export parameter).
        2.2) The Binding between the WF Container and the Task is like this:
                  &PROCCONFIRMATION.CREATEDBY& --> &CREATEDBY&
                  &GRADE& <-- &GRADE&
        2.3) Binding Between Task and Method is:
                 &_WI_OBJECT_ID.CREATEDBY& --> &CREATEDBY&
                 &GRADE& <-- &GRADE&   
        2.4) The Code for my method is:
    begin_method get_grade changing container.
    DATA:
          lv_grade TYPE zmm_app_req_info-grade,
          lv_userid TYPE zmm_app_req_info-requestor
    swc_get_property self 'CreatedBy' lv_userid.
    SELECT SINGLE grade FROM zmm_app_req_info
    INTO lv_grade
    WHERE requestor = lv_userid.
    IF sy-subrc IS INITIAL.
      swc_set_element container 'Grade' lv_grade.
    ENDIF.
    end_method.
    The only thing I need is to get the Grade parameter of the WF Container populated. This parameter will be used later on.
    Thanks & Regards,
    Ernesto.

  • General step type for LV container in TestyStand 3.1

    Looking for a general step type that can handle a LV7 container with 2-8 numerical values to be used with limits

    Can't you just use the Multiple Numeric Limits Test, are am I missing something here.

  • Creating output type for issuing print

    hello friends
                           can anybody tell me the process or steps to create output type to issue print

    HI.
    Goto NACE transaction.
    Select the application for whch you want to create the output type. For ex. select v3 for invoice.
    Click on 'Output Types' button on application toolbar.
    Click on 'New Entries'.
    Click on Processing Routines on the left-side to enter the driver program and SAPscript/Smartform name.
    Regards.
    Jay

  • Dynamically create data type for structure

    Hello Experts.
    how to create dynamic data type for structres. for example.
    data lv_struc_name type strukname.
    lv_struc_name = get_struct_name( )  ****** this method gives the structure name('ct_struc')
    now I want to create one data type, which is having the type of lv_struc_name content.(ct_struct)
    thanks
    Tim

    Hi,
    here is the link to really good presentation about generic programming ABAP351.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b332e090-0201-0010-bdbd-b735e96fe0ae
    It contains examples how to create dynamic structure and tables.
    Cheers

  • Creating Format type for printing ALV output.

    Dear Friends,
        I am using a format type for printing ALV output print which displays 65 rows and 255 columns on DINA4 page. I want to create a format type which will print 65 rows and 310 columns on 'LEGAL' page format .
    So plz suggest the ways along with help links if any.
    Regards,
    Madan.

    Hi Mandan,
    As long as I know the maximum column for printing is 255.
    Might be you can split your output into 2 rows...
    Regards,

  • Create output type for Quotes

    Hi all,
    I want to create new output type for quotes that will create an IDOC file at the quote level.
    It will Include all of the same segments that are currently being populated for IDOCS created for ZBA4 order confirmation output type. Also it will
    Include expiry date from quote header vbak.bnddt (segment E1EDK03, qualifier 006).
    Include S0A Reference from quotation header text remarks (segment E1EDKT1)
    How to that??
    Thanks in advance.
    Raj

    Dear Kittu,
    For your requirement needs output determination settings for the billing.
    I don't think you can have Medium PDF ,you can send the PDF file Via Medium Mail.
    To do the output determination proceed with this path
    IMG>Sales and Distribution->Basic functions>Output control>Output determination>Output Determination Using the Condition Technique-->Maintain Output Determination for Billing Documents.
    -->Maintain Condition Tables
    -->Maintain Output Types
    -->Maintain Access Sequences
    -->Assign Output Types To Partner Functios
    -->Maintain Output Determination Procedure
    -->Assign Output Determination Procedures
    You have to assign output program to your output type.You need develop the program such a way that to send the PDF file Via Mail.
    After these settings you need to maintain the condition record with Medium Mail in VV31 transaction.
    I hope this will help you,
    Regards,
    Murali.

  • Creating table types for procedures at design time: Where is the "Local Table Type" tab?

    Hello,
    I want to write a stored procedure (development perspective, repository object) and need to create a table type for the result table.I am working on HANA Studio 1.80.1 and the documentation tells me that I should open the "Local Table Types" tab. However, I do not see where this tab is.
    I get an SQLScript tab nothing else. Any hints?
    Regards,
    Andreas

    Hi ,
    Have a look on this discussion:
    Table type creation via HS repository / CDS / DDl Source
    Regards,
    Krishna Tangudu

  • NB document type for Int com stk trns

    Hi Experts,
    I created a PO for stk transfer from plant belongs to co code A TO plant belongs to co code B. Now against the PO I created Del(NLCC) and I checked the status on Del doc before PGI. Here the document says its not relevant for Billing. How to go with billing for this scenario?  and also I want the accounting document to be posted for this scenario.should I go with IV or reassign another priprocedure with different billing document like F8(proforma which wont get accounting posted, so no use). Please give me some solution which billing document I should Use and where should I configure that before the creation of Delivery?
    Thanks,
    Kanna palle.

    In this scenario, the delivery document shows the status "not relevant for biling" before billling document gets generate.
    You can still continue with billing the delivery document. If you are still not able to create billing document, there is a SAP note which needs to be apply. You can search for this note by providing your issue
    Thanks
    J

  • TestStand 3.5 is not reporting step results for under three steps

    Is there a minimum number of steps that need to return results from a called sequence in order for them to be reported?
    Here a description of my problem:
        My main test code calls a sequence file that contains a varying number of test steps in the Main section of the sequence file.  There are also some Setup and Cleanup steps that do not return results to the main test code.  When my number of test steps is at least three, everything works fine and all test step's results appear in the report.  When my number of test steps is less than three, no results are shown in the report.  In addition, if I record results of a miscellaneous step in the Cleanup section and have two test steps in the Main section (so a total of three steps returning results to the main test code) then the results appear in the report.
        I verified that this was not particular to my piece of code by creating two new sequence files: one with three steps (Test 1, Test 2, Test 3), and one that calls the first.  When at least three steps are present, the results of each step are recorded, but when I erase Test 3, nothing is reported.
    Any help would be appreciated!

    Hi,
    Please find attached an updated report sequence file.
    The problem was because you had skipped the Sequence Name steps. This adds two extra lines to the report. Therefore in the precondition of 'Remove Empty Sequence Results' step, the expression was still deducting these two lines, which longer exist in the report. Hence the reason why you were lossing the step results in the Sequence.
    I have removed the -2 from the expression.
    Hope this explains everything for you.
    Regards
    Ray
    Regards
    Ray Farmer
    Attachments:
    reportgen_txt.seq ‏159 KB

  • How to do create data type for coulmn name as QS$FGD .

    hi ,
    In my database i have a column as QS$FGD.
    How do i map it in XI , since $ is not accepted when u create a data type.
    One way is to give alias at the databse level for the column . is there any other way to slove it .
    Thanks
    amit

    Hi Amit,
            Were you able to solve your issue? I'm facing the similar issue now. My DB table contains field names with '.' i.e. say xyz.abc. How to solve this??
    I feel SP could be an alternative??
    Thanks,
    Hussain.

Maybe you are looking for

  • Getting Error in inserting the data in ADF

    I am getting the below Error while inserting the data into Essbase in ADF: <Error> <Net> <BEA-000902> <Duplicate expression found in the system property http.nonProxyHosts: localhost|localhost.localdomain|127.0.0.1|::1|sgajulap-in|sgajulap-in.> Could

  • Why are these SQL Exceptions coming?

    I have developed a web based application in which I am experiencing two exceptions coming after a periodic time. 1)Exception : java.sql.SQLException: ORA-01000: maximum open cursors exceeded 2)Exception : java.sql.SQLException: The url cannot be null

  • Problem with ALV list display

    Hello experts, When i call the funcation module for REUSE_ALV_LIST_DISPLAY to display for than 5 field columns , then it gives dump saying field symbol not assigned, but the same thing using REUSE_ALV_GRID_DISPLAY works fine for any number of columns

  • IMessage - Idle timer setting?

    Is it possible to change the default "idle time" in iMessage before it changes status to "Away"? Running OS X 10.8.2 on a MBP. I checked all the preference settings in the iMessage UI, but nothing seems to exist for controlling when the system automa

  • Can't enable iCloud Keychain after restore?

    I know my security code and the Apple ID password, as well as the phone #. However, I haven't received the message yet. I don't think my carrier supports SMS. This was the only device with keychain enabled, and after restoring I can't use it to confi