Advice on constructi​ng a test engine and formatting a spreadshee​t test file to perform command line interface testing on a product through telnet or serial interface

Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

Hello j. smith,
TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
You can run your TestStand sequence files from a command-line prompt using the following syntax:
\bin\SeqEdit.exe" /quit -run
This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
del to execute your sequence file, use the following syntax:
\bin\SeqEdit.exe" /quit -runEntryPoint
Here's an example:
C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
Note that multiple sequences and sequence files can be specified on the command line.
TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
David Mc.
NI Applications Engineer

Similar Messages

  • Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    If I understand correctly, you want to do the following:
    1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
    2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
    3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
    If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
    t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
    Hope it helps,
    John Lum
    Attachments:
    test_engine.zip ‏24 KB

  • Command-line Regression Tester

    Hello:
    I am using the command-line regression testing tool in OPM 10.2 and have a need to parse the resulting XML output file. However, I have noticed that the verbose option does not work when using the XML format of the test reports.  Where might I file a feature request for this tool?  I am currently having to run the tests twice when an error is detected in our Continuous Integration environment: once to detect test failures using the XML output (parsing the text version just seems like it would become much too brittle), and if failures are detected, another run simply to see the output of the failures.  Can anyone point me to someone who may be open to hearing about these types of issues?  Please see below examples of the outputs both with the verbose argument...
    Thanks in advance!
    -Ryan Connolly
    XML:
    <testsuite failures="0" errors="6" tests="12" skipped="0" time="0" name="ReferenceApp_Eligibility.xprj">
    <testcase time="0" name="citizenship - citizen condition A">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - qualified alien condition A">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - alien barred for 5 years Condition B">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - person meets citizenship criteria" />
    <testcase time="0" name="citizenship - meets E and not D" />
    <testcase time="0" name="citizenship - condition C Emergency Services">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="eligibleFamilyMembers - ANFCcategoricalRequirementUnder21" />
    <testcase time="0" name="residence - resTest">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="MedicaidChoiceOfCategory - SSI-AABD Requirement-PASS" />
    <testcase time="0" name="MedicaidChoiceOfCategory - SSI-AABD Requirement-FAIL">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="MedicaidChoiceOfCategory - Person satisfies categorical requirement for ANFC" />
    <testcase time="0" name="HouseholdComp - New Test Case" />
    </testsuite>
    Default:
    RULEBASE: output\ReferenceApp_Eligibility.zip
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\citizenship.tsc
    citizen condition A - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    qualified alien condition A - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    alien barred for 5 years Condition B - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    * Rulebase does not contain attribute 'b26@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b11@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b10@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    person meets citizenship criteria - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 4)
    Match (exact match) - Entity: person[person 1], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    meets E and not D - PASSED (Failed: 0, Matched: 2 exact, 0 threshold, Ignored: 8)
    Match (exact match) - Entity: person[person 1], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    Match (exact match) - Entity: person[person 2], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    condition C Emergency Services - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b12@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b13@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\eligibleFamilyMembers.tsc
    ANFCcategoricalRequirementUnder21 - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 2)
    Match (exact match) - Entity: person[person 1], Attribute: b5@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\residence.tsc
    resTest - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b12@Rules_source_residence_doc' in entity 'person'. Test case data belonging to t
    his attribute has been discarded
    * Rulebase does not contain attribute 'b16@Rules_source_residence_doc' in entity 'person'. Test case data belonging to t
    his attribute has been discarded
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\MedicaidChoiceOfCategory.tsc
    SSI-AABD Requirement-PASS - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 1)
    Match (exact match) - Entity: person[person 1], Attribute: b1@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    SSI-AABD Requirement-FAIL - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b3@Rules_source_medicaidChoiceOfCategory_doc' in entity 'person'. Test case data
    belonging to this attribute has been discarded
    * Rulebase does not contain attribute 'b4@Rules_source_medicaidChoiceOfCategory_doc' in entity 'person'. Test case data
    belonging to this attribute has been discarded
    Person satisfies categorical requirement for ANFC - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 1)
    Match (exact match) - Entity: person[person 1], Attribute: b5@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\HouseholdComp.tsc
    New Test Case - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 0)
    Match (exact match) - Entity: global[global 1], Attribute: b19@Rules_source_caseEligibility_doc, Expected Value: true, A
    ctual Value: true

    Thanks for taking the time to point this out. We'll put it on the list to fix in a future release. (And apologies for the tardy response.)
    Kind regards,
    Davin.

  • Redirects and saves process listing to a file using glance command

    Sorry for asking this in wrong forum.
    Does Anyone have script for cpu monitoring usong glance on hp-ux
    I need a command which redirects and saves process listing to a file using glance command
    Thanks for help

    glance -f /tmp/gout -adviser_only -syntax /opt/perf/examples/adviser/activity -j 10 -iterations 3
    glance -adviser_only -syntax glance_advisor -iterations 1 > /tmp/results
    cat glance_advisor
    PRINT GBL_STATDATE," , ",GBL_STATTIME
    PROCESS LOOP
    NUM_FILES = 0
    PROC_FILE LOOP
    NUM_FILES = NUM_FILES+1
    PRINT "PID: ",PROC_PROC_ID," Process Name: ",PROC_PROC_NAME," # open files: "
    ,NUM_FILES|5|0
    My question is :
    how to get top processes (cpu/memory wise)
    using glance
    for example
    glance -f /tmp/gout -adviser_only -syntax some_syntax_script -j 10 -iterations 3
    Please help me to find top 20 cpu using processes using glance.
    I need to get listing in a file so that I can use these pid to see in application or database.

  • Command-line SSL test in WLS6.1

    With Weblogic 6.0, I used to be able to test if SSL
    was working on the command-line by using this
    command:
    java –Dssl.debug weblogic.Admin -username name -password pw -url
    https://localhost:7002 PING
    This used to work fine.
    But now with WLS 6.1, the weblogic.Admin command
    refuses the protocol https and the port 7002. There's
    probably a bug. It's giving me an error:
    Failed to connect to http://localhost:7001 due to:
    [java.net.ConnectException: No server found at HTTP://localhost:7001]
    These commands work fine though:
    java weblogic.Admin -username name -password pw -url t3://localhost:7001
    PING
    java weblogic.Admin -username name -password pw -url localhost PING
    How else would you test SSL on the command-line?
    Don't tell me "write a utility", cuz none of my clients
    will want to do that. I have to find something
    that is ready to use out-of-the-box.
    Thanks a lot!
    Emmanuel

    This works perfectly!
    java -Dssl.debug=true
    -Dweblogic.security.SSL.ignoreHostnameVerification=true weblogic.Admin
    -username name -password pwd -url t3s://localhost:7002 PING
    BTW, I forgot to turn on the tunneling, so that's why
    accessing with http didn't work. (By default tunneling
    is off, so only t3 works for weblogic.Admin.)
    Thanks a lot, I'll be using this.
    Emmanuel
    Bernhard Hollunder wrote:
    Emmanuel Proulx wrote:
    With Weblogic 6.0, I used to be able to test if SSL
    was working on the command-line by using this
    command:
    java –Dssl.debug weblogic.Admin -username name -password pw -url
    https://localhost:7002 PING
    This used to work fine.
    But now with WLS 6.1, the weblogic.Admin command
    refuses the protocol https and the port 7002. There's
    probably a bug. It's giving me an error:
    Failed to connect to http://localhost:7001 due to:
    [java.net.ConnectException: No server found at HTTP://localhost:7001]
    The solution to your problem is rather simple:
    Just use -Dweblogic.security.SSL.ignoreHostnameVerification=true
    Best regards
    Bernhard
    ArcStyler - award-winning J2EE/EJB development
    -> CyberOne Award 2001
    -> Crossroads A-List Excellence Award 2001
    -> IBM Solution Excellence Award
    -> European Information Society Technologies Prize 2001
    -> Free trial-version at http://www.ArcStyler.com
    ------ < iO > ---------------------------------------------------
    Interactive Objects Software GmbH
    Dr. Bernhard Hollunder
    Basler Str. 65
    79100 Freiburg, Germany
    Tel: [+49]-761-40073-41, Fax: [+49]-761-40073-73
    mailto:[email protected]
    http://www.io-software.com

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

  • Issue with variables and white space in powershell script that calls a command line command

    Guys,
    I have a question regarding this script. Each time I run it, it creates the share, but with a space after it. Also I need help figuring out how to put in the variable for the folder path.
    Below is the code
    $Users=Import-Csv C:\users2.csv
    foreach($User in $Users){
         $User.SNCORP
         $User.HPB
         $User
         cmd /c "net share "$User.SNCORP"=D:\Users\"$User.HPB" /grant:Everyone,FULL"
    The csv file looks like this
    HPB,SNCORP
    ccarter,carterch$
    This is my output in powershell
    PS C:\> .\shareflip.ps1
    carterch$
    ccarter
    HPB                                                         SNCORP
    ccarter                                                     carterch$
    The syntax of this command is:
    NET SHARE
    sharename
              sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                                   [/USERS:number | /UNLIMITED]
                                   [/REMARK:"text"]
                                   [/CACHE:Manual | Documents| Programs | BranchCache | None]
              sharename [/USERS:number | /UNLIMITED]
                        [/REMARK:"text"]
                        [/CACHE:Manual | Documents | Programs | BranchCache | None]
              {sharename | devicename | drive:path} /DELETE
              sharename \\computername /DELETE
    Any help is greatly appreciated. 
    Christopher

    There is no need to use cmd /c. You should be able to use:
    net share "$($User.SNCORP)=D:\Users\$($User.HPB)" "/grant:Everyone,Full"
    Use showargs.exe (from the article) at the beginning of this line to see the command line PowerShell is actually running (very useful for troubleshooting).
    -- Bill Stewart [Bill_Stewart]

  • How to create and use library JAR files with command-line tools?

    Development Tools -> General Questions:
    I am trying to figure out how to put utility classes into JAR files and then compile and run applications against those JAR files using the command-line javac, jar, and java tools. I am using jdk1.7.0_17 on Debian GNU/Linux 6.0.7.
    I have posted a simple example with one utility class, one console application class, and a Makefile:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130520-2134.tar.gz
    Here is a console session:
    2013-05-20 21:39:01 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-20 21:39:12 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/hello/HelloConsole.java
    package com.example.hello;
    import static com.example.util.Hello.hello;
    public class HelloConsole {
        public static void main(String [] args) {
         hello("world!");
    2013-05-20 21:39:21 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -f hello
    find . -name '*.class' -delete
    javac src/com/example/util/Hello.java
    javac -cp src src/com/example/hello/HelloConsole.java
    echo "java -cp src com.example.hello.HelloConsole" > hello
    chmod +x hello
    2013-05-20 21:39:28 dpchrist@desktop ~/sandbox/java/jar
    $ ./hello
    hello, world!I believe I am looking for:
    1. Command-line invocation of "jar" to put the utility class bytecode file (Hello.class) into a JAR?
    2. Command-line invocation of "javac" to compile the application (HelloConsole.java) against the JAR file?
    3. Command-line invocation of "java" to run the application (HelloConsole.class) against the JAR file?
    I already know how t compile the utility class file.
    Any suggestions?
    TIA,
    David

    I finally figured it out:
    1. All name spaces must match -- identifiers, packages, file system, JAR contents, etc..
    2. Tools must be invoked from specific working directories with specific option arguments, all according to the project name space.
    My key discovery was that if the code says
    import com.example.util.Hello;then the JAR must contain
    com/example/util/Hello.classand I must invoke the compiler and interpreter with an -classpath argument that is the full path to the JAR file
    -classpath ext/com/example/util.jarThe code is here:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130525-1301.tar.gz
    Here is a console session that demonstrates building and running the code two ways:
    1. Compiling the utility class into bytecode, compiling the application class against the utility bytecode, and running the application bytecode against the utility bytecode.
    2. Putting the (previously compiled) utility bytecode into a JAR and running the application bytecode against the JAR. (Note that recompiling the application against the JAR was unnecessary.)
    (If you don't know Make, understand that the working directory is reset to the initial working directory prior to each and every command issued by Make):
    2013-05-25 14:02:47 dpchrist@desktop ~/sandbox/java/jar
    $ cat apps/com/example/hello/Console.java
    package com.example.hello;
    import com.example.util.Hello;
    public class Console {
        public static void main(String [] args) {
         Hello.hello("world!");
    2013-05-25 14:02:55 dpchrist@desktop ~/sandbox/java/jar
    $ cat libs/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-25 14:03:03 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -rf bin ext obj
    mkdir obj
    cd libs; javac -d ../obj com/example/util/Hello.java
    mkdir bin
    cd apps; javac -d ../bin -cp ../obj com/example/hello/Console.java
    cd bin; java -cp .:../obj com.example.hello.Console
    hello, world!
    mkdir -p ext/com/example
    cd obj; jar cvf ../ext/com/example/util.jar com/example/util/Hello.class
    added manifest
    adding: com/example/util/Hello.class(in = 566) (out= 357)(deflated 36%)
    cd bin; java -cp .:../ext/com/example/util.jar com.example.hello.Console
    hello, world!
    2013-05-25 14:03:11 dpchrist@desktop ~/sandbox/java/jar
    $ tree -I CVS .
    |-- Makefile
    |-- apps
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.java
    |-- bin
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.class
    |-- ext
    |   `-- com
    |       `-- example
    |           `-- util.jar
    |-- libs
    |   `-- com
    |       `-- example
    |           `-- util
    |               `-- Hello.java
    `-- obj
        `-- com
            `-- example
                `-- util
                    `-- Hello.class
    19 directories, 6 filesHTH,
    David

  • Test Engineering Position at Tecnova - Rockford, IL

    TEST ENGINEERING POSITION AT TECNOVA - ROCKFORD, ILLINOIS USA
    LABVIEW EMPLOYMENT OPPORTUNITY: TEST ENGINEER
    DESCRIPTION:
    Tecnova is a highly qualified National Instruments Certified Alliance Partner with a growing Automated Test Solutions department.
    We are looking for a self-motivated LabVIEW programmer / Developer who can contribute to the development of automated test, data acquisition, and control systems using National Instruments LabVIEW.
    This position is located at our Rockford, IL field office, however we will consider placement at our headquarters in Waukegan, IL.  Relocation expenses are negotiable.
    Direct customer contact and moderate travel expected.
    Candidates must have the ability to:
    Contribute to multiple projects.
    Innovate and help advance test methodologies using National Instruments LabVIEW.
    Design, develop, implement, and document state-of-the-art test, measurement, data acquisition, and control systems.
    Interact professionally with clients and build strong client relationships.
    Candidates must have broad experience in:
    Contributing to system design and specifications.
    Executing test plans.
    Programming and documenting LabVIEW applications.
    Preparing end user documentation and help file content.
    REQUIREMENTS
    Applicants must meet the following criteria:
    2+ years of LabVIEW experience.
    Knowledge and comfort level with scientific and technical terminology.
    Automated test, measurement, data acquisition, and/or control experience.
    Must be able to meet objectives as directed.
    Ability to effectively work independently in a fast paced environment.
    Ability to adapt to changing requirements, rapidly absorb new concepts, and apply them effectively.
    Ability to contribute and work in a team environment.
    Excellent communication and presentation skills.
    HELPFUL SKILLS
    Preference will be given to applicants with the following skills:
    Certified LabVIEW Associate Developer or Certified LabVIEW Developer credentials … or the ability to attain CLAD certification within six (3) months and CLD certification within six (6) months of employment.
    Experience with LabVIEW add-on toolkits and modules.
    Real-Time
    FPGA
    Database Connectivity
    Report Generation
    Touch Panel Deployment
    Experience with other National Instruments software platforms.
    TestStand
    VeriStand
    LabWindows/CVI
    SignalExpress
    DIAdem
    Experience with National Instruments hardware platforms.
    Data Acquisition
    Motion
    Vision
    Modular Instruments
    CompactRIO
    Compact FieldPoint
    Signal Conditioning
    RF
    Experience with communication protocols
    Serial (RS232/422/485)
    GPIB (IEEE488)
    TCP/IP
    Modbus / Profibus
    I2C / SPI
    CAN / DeviceNET
    Experience with a wide variety of sensors, transducers, transmitters, and signal conditioning.
    Temperature / Humidity
    Accelerometers / Microphones Power
    Pressure / Strain / Force
    Flow / Level
    Balances / Scales
    Other skills
    Database generation and use
    Datalogging (CSV, TDMS, etc...)
    Active involvement in National Instruments and LabVIEW Communities, User Groups, LAVA forums, etc…
    ADDITIONAL REQUIREMENTS
    No 3rd-party resumes accepted.  Principals, only – no agencies or contractors.
    Candidates must be a U.S. citizen or permanent U.S. resident authorized to work in this country for any employer.
    Due to the immediacy of this position we are unable to offer visa sponsorship at this time.
    ABOUT TECNOVA
    Tecnova is a leading electronic product development, automated test engineering, and contract manufacturing firm that provides custom electronic hardware, mechanical, and software solutions to small companies and Fortune 100 corporations. We offer exciting and professional challenges, variety, and ample opportunity to roll up your sleeves and make a difference. We offer an excellent salary package commensurate with the skills and qualifications of the applicant, 401(k), medical, dental, and eye care benefits.
    Qualified innovative, creative, and results-oriented individuals that desire a wide variety of projects in a challenging, fast-paced environment are encouraged to apply.
    If your background and qualifications match this position, please send your resume via one of the following methods for immediate consideration:
    E-Mail:
    [email protected] (Microsoft Word or PDF format)
    Mail:
    Tecnova
    ATTN: Test Engineering
    2383 N Delany Rd
    Waukegan, IL 60087-1836 USA
    Please note: Due to the volume of the responses we receive, Tecnova will only contact those candidates who meet the requirements described above.
    Attachments:
    Tecnova LabVIEW Employment Opportunity.pdf ‏193 KB

    Hi 
    I am CLAD Certified with 1.7 Yr of Experience and capable of completing CLD
    Skilled in Micrcontrollers , NI VISA , I2C , SPI , UART , ADC & Designing Custom DAQ...
    but I am from India... 
    is their any option that I can get this job. Since I am not a US Citizen or got work permit . 
    Regards
    Varaprasath M
    CLAD
    email id - [email protected]
    Thanks & Regards
    Varaprasath M
    Certified LabVIEW Developer
    Certified TestStand Developer

  • 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

  • Test  scenario and test plan

    Hi  All,
    Can somebody explain what is a test scenario and test plan with an eg ( For eg FB 60). and what are the essential things one needs to incorporate for test scenario and a test plan
    Appreciate your help.
    Thanks
    SM

    Hi,
    I am giving you the information on test plan and test scenario below. Please note that this is with reference to Solution Manager.
    You create a test plan for a project in the SAP Solution Manager if you want to reuse the project structure created in the Business Blueprint for a process-oriented test. You can select all the test cases and transactions which you have assigned to the project structure, for the test plan. These test cases are performed by testers; they can call assigned transactions and run test cases in them.
    Test Scenarios are nothing but the end to end business processes which are to be tested.
    Hope this helps.
    Rgds
    Manish

  • Testing swc and mxml code

    Hi,
    I have some software classes to run commands on any mxml file.
    These classes are wrapped in a SWC file. This SWC file is referenced by any sample mxml application (by adding as SWC file).
    My problem is that I want to test these software classes against my sample mxml file. That is, I should test methods run by software classes on the mxml file.
    How can I accomplish this?
    Thanks,
    Pradeep

    Well,
    I am writing an agent to test Flex apps, similar to QTP,FunFX and FlexMonkey.
    So obviously this agent (library compiled to a SWC) can be linked and used to test any mxml project.
    I've developed some part of the agent and have a sample mxml file with all the components thrown in.
    The mxml file doesnt lead to any other file...it has just components to be tested.
    So I want to test my agent against this mxml file, for test driven development(TDD).
    I want to create a separate project to test my agent(library) and the sample mxml file.
    How can I achieve this?
    Thanks,
    Pradeep.
    PS: The library is a bit too big and complicated to be provided as a code snippet.

  • How to run ADF command-line test-client on standalone weblogic host

    I have followed the steps to create a test client for the ADF application. In used the following link:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcquerying007.htm
    The above link does not talk about how to setup the environment where the standalone weblogic is installed to be able to run the test client.
    I can run it in the jdeveloper environment.
    I can also run from the command line on the development host, by cut-paste the command from the jdeveloper output log tab.
    I am trying to run this client on the machine where we have a weblogic installed (standalone) for testing. We can run our ADF application from the browser with no issues. We want to automate and run some testing related to the ADF model (non-viewcontroller part) from the command line on this test stage.
    Which/Where are the ADF libraries?
    How can I add our application jar deployed on the weblogic (ear file) to the CLASSPATH?
    What other libraries ADF/Weblogic do I need for the command line test client?
    What am I missing?
    Thanks for any help.
    Edited by: mmunawar on Jul 2, 2011 1:03 PM
    Edited by: mmunawar on Jul 2, 2011 1:04 PM

    create weblogic application server connection from jdeveloper and then Deploy that application through jdeveloper in the weblogic application server and then run it from jdeveloper and see if its working.

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Xsql command line and stored PL/SQL procedures

    I have an xsql servlet that calls a stored procedure in an Oracle 8.1.7 DB to generate XML. The servlet then uses a custom action handler to write the XML output to a file on the webserver.
    This system works just fine through a web page interface. I am interesting in using the xsql command line interface to run the servlet as a nightly cron to keep the xml file up to date.
    It seems that the xsql command line interface cannot execute stored procedures.
    The xsql file is:
    <?xml version="1.0"?>
    <page connection="studev" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa subj="AR" bind-params="subj">
    studev.CTLGDSET.P_ADD_DEPT_DRIVER(?);
    </xsql:include-owa>
    <xsql:write-to-file file="{@subj}.xml" dir="{@dir}" base-tag="/page/SUBJECT/"/>
    </page>and the output written to the file is
    <?xml version = '1.0'?>
    <page xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa subj="AR" bind-params="subj">
    studev.CTLGDSET.P_ADD_DEPT_DRIVER(?);
    </xsql:include-owa>
    <xsql:write-to-file file="{@subj}.xml" dir="{@dir}" base-tag="/page/SUBJECT/"/>
    </page>Any comments or suggestions would be much appreciated.
    -Eric Dalquist

    Ok. I looked into the problem. The issue is that the Action Handler for <xsql:include-owa> conditionally passes on information about cookies and such to the OWA package context if you happen to be using XSQL through the Servlet interface.
    If you are not using XSQL through the servlet interface, things still work, but the class that implements the include-owa action handler still has a load-time dependency on the "servlet.jar" (even if you don't end up using it).
    So, the workaround is to add a copy of the Servlet SDK jar file "servlet.jar" to your CLASSPATH of the XSQL Command Line utility, and it works fine.
    XSQL 9.0.2 Beta (due out this week I believe on OTN) has been tested with FOP 0.18.1, but XSQL 1.0.4.3 Production and XSQL 9.0.1 production should both work with 0.18.1 as well.

Maybe you are looking for