Script file for test automation.

I have a file “HPE3631A configure output.vi” (DC power supply). This file I downloaded from NI web for using control our DC power supply. I would like to use a script file that can automatically process and configure the output voltage, current parameter? I do not have to click mouse for change the voltage and current parameter. We would like use this script file as one of our test automation.
What format file can use as a script? Is any example file I can use as a reference (it does not have to be HPE3631A).

I don't have an example. You are free to create a script file in any format that you want. To give you a little help, say you have a comma separated file. The first field could be instrument address. The second field could be a function. This might be Initialize, Configure Voltage,Configure Trigger, etc. The following fields could be parameters that you pass. Some functions would require more parameters than others. Look at the number of functions in the driver and see if you want to duplicate them and how many parameters they require or whether you want to break some of them down into something smaller. When you've decided that, then you can determine how to read the file and parse out the commands. Do you want to do error checking here or someplace else? What I mean is, what if the file contains the word "Initilize" instead of "Initialize". What if a voltage parameter is out of bounds?
Like I mentioned, you could have a LabVIEW VI generate the script. Imagine a front panel text ring in which you have listed all of the various functions. If function b is selected, have logic that displays the correct number (and type) of other parameters required. When the selection is complete, click an OK button to display the new step in a table. A table is nothing more than a 2D string array so saving it to a file is then simple.

Similar Messages

  • Webservice client : different wsdl file for test/production environment

    In an ADF application, I need call a web service in model project
    In my company, we have 2 environments : test and production.
    This webservice is deploye in test server and production server.
    So there are 2 different wsdl file for test/production.
    I want to make my ADF Application portable cross the 2 environments.
    An environment variable can indicate in which environment the ADF application run.
    According to this variable, application choose which wsdl/endpoint to call.
    If I use "web service Data control" wizard, how can I achieve this?
    If I use "webservice proxy" wizard, how can I achieve this?
    Thanks!!!!!!

    Hi,
    I have a model project with ws proxy client and on this proxy I added an adf ws connection called CustomerExperience
    then I can do this.
    // a test to try to overrule the adf ws connection from EM
    Context ctx = null;
    try {
    ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("CustomerExperience");
    CustomerExperience customerExperience = wsc.getJaxWSPort(CustomerExperience.class);
    } catch (NamingException e) {
    LOGGER.severe("got web service loading fault: "+ e.getMessage());
    throw new JboException( messages.getString("NOM-999"),
    "NOM-999",
    null );
    I exported this to an adf jar and added this to a webapp.
    On runtime the ws connection is not dectected by the webapp so need to copy this ws conn to the connections of the webapp. This works
    but can I change it from wlst instead of EM , is this possible?
    I don't see the WS connection in wlst (oracle common) adf_listURLConnection('CE_Portal')
    thanks

  • Extracting from flat file for testing inplace of ECC(r/3)

    Hi Expert,
    Please help me out and give me your suggestion.
    We are creating a custom table in ECC it is under progress.
    I would like to create infoObject, transformation, DTP and Cube and create queries with loading info by flate file. Later on connection whole provider to table.
    Give me suggestion is ther any problem for this Or any good opinion.
    Thanks in Advance

    Loading from a flat file for testing has worked well for me.  We recently wanted to test an ODS object, but I didn't want to create a custom extracter until we knew if the ODS object would work for us. So under my infoSource I created a quick infopackage that pulled some test data from a flat file.  We've loaded test data into cubes before.  Only problem that I ever had was when I used Excel to create the flat file.  Excel wants to truncate leading zeros.  0calmonth for example needs to be loaded as 072007 not 72007.

  • How can get a database like ****.SQL file for test in sqlplus in oracle8i

    How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks

    I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
    Are you trying to run a SQL file? From SQL*plus you can do either of these:
    SQL> start my_file
    or
    SQL> @my_file
    N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
    SQL> @myfile.run
    Here is the page Vijay referred to:
    Re: Physical storage Checks & adding disk on server. I hope you find it useful.
    You will more helpful links (including links to the Oracle on-line manuals at this page:
    Re: How to attach a java bean in forms6i
    good luck, APC

  • Script file for import XML

    Hi,
    I want import the XML (ask user to select xml file) and run the xslt then open the new document after that to place the convert style and tagged text file in InDesign. I need all function in using one script (java script). I am using InDesign CS2. I have no more knowledge about java script. Can anyone give me one script to run all tool in one script file in inside the InDesign Document.
    My files are...
    1. XML file
    2. XSLT File
    3. Ind Template
    Thanks for help.
    Byomokesh

    Hi
    Maybe looking in the Adobe's documentation ?
    http://www.adobe.com/devnet/bridge/pdfs/javascript_tools_guide_cs3.pdf
    It deals deeply with xml & javascript.
    Ok it's CS3 but reference manual for CS2 contains xml method and properties so working with these two documents should be helpful.
    Sorry not for helping better but I never used xml and js.
    Loic

  • Need script file for imp

    Hi Guys,
    I need to load data using import option. data is in .dmp format. for this i have to write a unix shell script.
    i am using this url http://orafaq.com/scripts/unix/exportdb.txt as base which is having only export script.
    actual syntax is.
    imp username/pwd@sid file=file.dmp logfile=file.log
    for this process i have to write script file.
    If any one is having this type of script could you pl send.
    TIA,
    Muvvala

    Thank you for the reply.
    i wrote the script like this....
    #!/usr/bin/ksh
    # import_db.sh - Korn Shell script to import (an) Oracle schema(s).
    # Hardcoded values: copy_dir, pipefile, dba
    # import_db.sh -
    # Usage: sh test_2.sh pathway abc123 OWBDEV organmap_icon_71606
    #dba=PSG
    #copy_dir=/dbcopy/
    # Loop through the command line parameters
    # -u - User name
    # -p - Currently the password.
    # -d - The Oracle SID of the database to export. This matches the TNS entry.
    # -f - The export file to import.
    # If either/all of these don't exist, prompt for them.
    # Now, check the parameters...
    echo "*******************************************************"
    echo "* Importing $1 at `date`"
    echo "*******************************************************"
    cat test_xyz.sh
    echo imp $1/$2@$3 file=$4.dmp log=$4.log full=y statistics=none buffer=1000000 ignore=y
    sqlplus -s $1/$2@$3
    set serveroutput on
    set heading off
    exec imp $1/$2@$3 file=$4.dmp log=$4.log full=y statistics=none buffer=1000000 ignore=y;
    !EOF
    echo "*******************************************************"
    echo "* Import Completed at `date`"
    echo "*******************************************************"
    exit 0
    but I am getting the following errors
    test_2.sh: sqlplus: not found
    test_2.sh: imp: not found
    the bottomline is i am not able to execute oracle command.
    can any one encounter this,pl help me.
    TIA,
    Muvvala

  • SampleValidateData.js OR ValidateData.js script files for Hyperion forms

    Hi All.
    We're running Hyperion EPM 11.1.1.2 and I want to create some custom javascript functions for a Planning data form. I want to work within SampleValidateData.js or ValidateData.js but I can't find either of these files.
    We're running Tomcat and 11.1.1.2 EPM Planning.
    Thanks!

    It's possible the Planning webapp is deployed remotely. Check the tomcat server.xml file for a context tag that references HyperionPlaning. There you can find out where the HyperionPlanning directory that has custom under it is located.
    It's also possible that planning is running directly from an unpacked war. In which case you will need to change the unpackWARs setting to true in server.xml in order to readily work with the validation javascript.
    Regards,
    Robb Salzmann

  • Importing Script file for speech analysis - error message

    I'd love to get some assistance to get past an error message in Premiere Pro CC, "Matching scene number not found".  However, I've named the scene number and the clip to match, simply as "1".  What am I missing?  NOTE:  the scene is 33 pages long as this is a long speech that I've transcribed and would like to match up to the video clip . . . just in case that is an issue that someone has experienced in the past.  But I'm hoping length of clip isn't a problem (as this is a typical work flow scenario for me).

    Hi,
    Even I am getting the same error while importing the .zip file for the second time through B2B console-->Administration-->Import/export tab.
    But again it works for the third time..
    Error Message:
    Import of file OriginalProject.zip failed. MDS-00521: error while reading document /soa/b2b/tpa_MnjhBHh-70301432125893445241.xml from metadata repository MDS-00520: failure to read document /soa/b2b/tpa_MnjhBHh-70301432125893445241.xml because it is not in the metadata repository MDS-00911: Document with name "/soa/b2b/tpa_MnjhBHh-70301432125893445241.xml" and version 34 does not exist in the repository. ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1 ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1 ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1
    Please help...

  • [Services and Systems]Custom script .bat for testing Avaibility for Service

    Hi,
    I am trying to create a Service in grid control.
    For the step - Create Generic Service: Service Test, I use custom script test type.
    I've already done this kind of service with a custom script stored on Unix system (script sh -> OK). However, this time, I can only use a script stored on Windows server.
    I tested with a *.bat* file but I got this error :
    Error encountered while executing test.:Beacon-Test
    Here my configuration :
    Grid Control 10.2.0.5
    Windows Server 2005
    My script .bat :
    echo 1
    What type of file do I have to use under Windows so that the test of service works?
    Thanks
    Related links :
    http://www.oracle.com/technology/obe/obe10gEMR2/Quick_Start/system_services/system_services.htm
    http://download.oracle.com/docs/cd/B16240_01/doc/user.102/b28678/services.htm#CHDCAIJC
    Oliver

    Hi,
    here the results of my searchs :
    1 - All .BAT files must begin with : @ECHO OFF
    2 - All scripts have to send only numbers
    Oliver

  • Allowing client to upload/download standardised excel file for testing [Beginner]

    Hi,
    New to development so please bear with me if this stuff is super easy (really hope it is).
    I'm developing a simple web app that will run some stat tests on data, however, I want any user to be able to upload the info they want to test in a pre-formatted excel sheet rather than have them input it. The website would then show the tables, run the
    tests in the cloud, and return results plus highlighting individual rows that are over certain thresholds. I then want the user to be able to download the result and the highlighted rows back to a new excel sheet.
    I'm looking for a simple way to do this that will allow me to
    mess around a bit with the formatting of the uploaded table to make it look a bit nicer and more in line with the flat design of the site
    make sure the file you download looks good when you open it in excel again
    I've heard office 365 has a lot of useful API calls and as there's now a free version online perhaps it's possible to integrate that into a site? I'm also assuming there are some conversion methods to migrate an excel file into MySQL, but are there then
    potential issues migrating back, especially formatting etc?
    Thanks in advance, and sorry again if this is just too basic.

    Hi Freppas,
    For this requirement, I suggest that you could consider Open XML SDK for office. For this way, you could easy do something for the uploaded excel file.
    There are some links that can help you:
    # Welcome to the Open XML SDK 2.5 for Office
    https://msdn.microsoft.com/en-us/library/office/bb448854.aspx
    # Open XML Format SDK 2.0: Getting Started Best Practices
    http://blogs.msdn.com/b/erikaehrli/archive/2009/05/14/open-xml-format-sdk-2-0-getting-started-best-practices.aspx
    Regards
    Starain
    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.

  • Using a data output file as an input file for test development

    I have an output file from a system that I would like to use to simulate the device being attached to the computer.  Using the read module I can input the entire file into the charting module, but it reads the entire file.  Is there a way setup the input to read one line approx. once per second and chart it (i.e.. A 3600 line file would take approx. 1 hour to read and chart)?
    Thanks in advance.

    Set up the Read module to only read once per second or minute.... 
    If you're reading a DDF file, it will always read back a full block of data, so you want to have stored the data at one sample/block. One way to do that is to read it back and write is out as ASCII, so that DASYLab loses the block size context.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Test Script/case for checking Securities in SAP BW-7.3

    Hi All,
    Please  test script/case for testing securities/authorizations in BW-7.3 after upgrade.
    Basically we have upgraded from BW-3.5 to BW-7.3 and as securities concepts got changes we need to test for the same.
    Thanks.
    Regards,
    Manju

    hi,
    one more thing i will like to add here is in BW 7.3 you get a new security admin feature that allows you to make mass changes to authorizations instead of one-by-one. This can be done by cut-and-paste in a worklist, hierarchy nodes, and you can also add users to multiple analysis authorizations.
    The u2018newu2019 authorizations has both the data value and hierarchy restrictions. You can still build using the u201CRSECADMINu201D transaction
    Also make sure that all objects are in the TLIBG library and they will be 'shielded' during the upgrade.
    regards
    laksh

  • How creat script file on oracle

    Hi all friends,
    I have a problem, I find the following script
    column today new_val dt
    @dstables.sql
    select to_char (sysdate, 'yyyymmdd') today form dual;
    host exp userid = stc/stcmon@monbill file =backup_&dt..dm
    log=backup_&dt..log parfile=tables.txt
    host C:\Program Files\WinRaR\Rar.exe a -ag_yyyymm -y -inul
    backup.rar backup_&dt..dmp backup_&dt..log
    exit
    Have you got any materials or user guide about this script file? I would like to understand more clearly than this one, For example, I want to know the meaning of key words in this script, and besides this, Is there any kinds of script files?.
    I am interested in this filed. I want to create some my own script files for my products, please help me
    Thank you very much
    Thanks and best regards
    Huy
    [email protected]

    This is a SQL*Plus script.
    Read SQL*Plus User's Guide and Reference.

  • Saving PDF files as Post Script files using Adobe Professional

    I have a 2 Page  PDf document that mainly has Text on each page. Both the Pages have a 2D Data Matrix Barcode also.
    I opened the PDF file in Adobe Professional and saved the file as Post Script file.
    Post Script file gets saved successfully. When I open the Post script file - It has almost 40,000 line for a 2 page post scipt file.
    It has lot of Hex data that looks so huge in the file. ( I thought only Images get converted to Hex format).
    Is there a setting or something I am missing that I have this huge Post script file for a 2 page text file PDF

    Your barcode may be a high resolution graphic. A lot of junk (hex) is what you would see in such a case with PS. How it looks to you may depend on what application you are using to view the PS file. If you open it in a code or text editor you might get a better idea of what is there. I don't look at PS files much and agree with graffiti's question of why do you want to?

  • Siebel Test Automation - Anonymous user

    Hi,
    We have integrated siebel 8.1.1.7 callcenter_enu AOM with LDAP for authentication of user authentication and are trying to use the same AOM for Test Automation.
    change param EnableAutomation=True for comp XX
    change param AllowAnonUsers=True for comp XX
    When we hit the url
    http://hostname/callcenter_enu/start.swe?SWECmd=AutoOn
    We could see that the user logged into the system is the anonymous user instead of the actual user being used.
    When we do the same with DB authentication AOM, the actual user logs into the system which is as expected.
    Could you please let me know how can we set the actual user to logon in LDAP Authenticated AOM.
    Regards,
    Ajay

    Hi
    Indeed it is, you need to enable Siebel Test Automation in the Siebel server.
    Alex

Maybe you are looking for

  • JBO-33035: Row currency has changed since the user interface was rendered

    First - Yes I have read a number of the postings regarding this error - HOWEVER - there seems to be a 'rather' serious side effect that I need to get fixed. Am dropping on a a UIX datapage a datacontrol VO component as a Search Form. I have added Del

  • TS1646 Problem with updating payment information with iTunes

    I have tried multiple times to put my DEBIT card information into iTunes and it is still not taking it. I have also tried to add my mom's and it is telling me the same thing. That the "credit card does not match bank records." Does iTunes not take de

  • 3d bevel and type breaks?

    Hi everyone, I am using illustrator CS3 and have a basic piece of type with extrude and bevel applied. The type has a blue stroked key line and has a fill of white, I just want the extrude to show from the white with no shading. My settings are x axi

  • HT4061 My iPhone 4 will not restore.

    My iPhone 4 will not restore.  It displays a picture of a USB cable with an arrow indicating I need to connect to iTunes.  iTunes sends me codes 1603 or 1604.  I follow the instructions and get the same result. Is there anything else I should do?

  • Does Adobe Illustrator CS5 work in Mavericks?

    I realize one has to update Java to 7 and Adobe has tested Photoshop in Mavericks. But what about Illustrator, or InDesign CS5.  Do they work (reliably) or not? Thanks!