Books on test automation

I want to buy books on the automation of tests, involved in architecture, programming ideas, test Air, data acquisition, processing, display and save.and so on. Do you know what are some good books?

Thank you very much.

Oh sheesh, yes I forgot who.  Here's a good reading material suggested by champions LabVIEW.

https://decibel.NI.com/content/groups/LabVIEW-champions-reading-Resource-Center?view=discussions

Tags: NI Software

Similar Questions

  • Is there a real BENEFIT in SQL * Developer Automated Unit Testing?

    I'm trying to understand the unit test in SQL * Developer. Asked me to evaluate it as a method of test automation on an integration solution that we develop.

    (1) my 'A' schema has this table:

    SQL > DESC EMP

    Name                                      Null?    Type

    ----------------------------------------- -------- --------------------

    EMPID NOT NULL NUMBER

    EMPNAME VARCHAR2 (30)

    SALARY NUMBER (7.2)

    COMM_PCT NUMBER (2.2)

    Table (2). has these values:

    SQL > SELECT * from emps;

    EMPID EMPNAME SALARY COMM_PCT

    ---------- ---------- ---------- ----------

    1 ROHAN 10000.05

    2 JOHN 20000

    3 PETER.06

    4 SMITH

    (3.) I create this procedure in drive A:

    create or replace

    PROCEDURE award_bonus (NUMBER, sales_amt NUMBER p_empid)

    AS

    REAL Commission;

    comm_missing EXCEPTION;

    BEGIN

    SELECT comm_pct IN the commission OF EMP

    WHERE empid = p_empid;

    IF the commission IS NULL THEN

    RAISE comm_missing;

    ON THE OTHER

    PGE UPDATED

    SET salary = salary + sales_amt * commission

    WHERE empid = p_empid;

    END IF;

    END award_bonus;

    (4) now, I want to create a unit test in SQL Developer to test this procedure.

    (5) I created a user "unit_test_repos" according to the instructions in the tutorial.

    (6) ' SELECT OPERATION': I specifies the procedure of award_bonus.

    (7) ' SPECIFY the name of test': give a name and select "create with a single model.

    (8.) 'SPECIFY the STARTUP': Add a ' copy Table or the line "the startup process.

    -I give "EMP" as the source table.

    -And then I get this for the 'generated query.

    SELECT ROWID AS SRC$ ROWID, s.* FROM EMP s

    -Target table has "TMP$ AWARD_BONUS.

    (Q1) WHAT IS THE PURPOSE OF CREATING ANOTHER TABLE?

    (Q2) WHEN THE TEST IS DONE, ARE ROWS OF PGE copied into this table?

    (Q3) Why is this? Why can't the test simply read 'EMP '?

    (9) "PARAMETERS SPECIFY": I give "Input".

    -1 for P_EMPID

    -10000 for SALES_AMT

    -In "Expected result", I say "success."

    (Q4) So I should know in my mind the results of the proc, foregoing given entries?

    (10) ' SPECIFY VALIDATION': I add validation "poll rows of queries.

    -I paste the following query: SELECT count (*) FROM EMP WHERE empid = 1 AND salary = 10500

    -that is, I know that for an amount of 10000 sales, employee 1 will get a Commission of 10000*.05 = 500. For example, 10000 (its sal) + 500 = 10500.

    (Q5) The thought that the above is correct?

    (11) "TEARDOOWN SPECIFY": give nothing.

    (12) my unit test is created.

    (13.) I run now by clicking on the button of the beetle, to the left of the green arrow. Unit test is run.

    (14) now in my table a.emps, 1 salary has increased to 10 500, and the diag test case, I get the "execution results: SUCCEED.

    (15) now, I run the unit test again.

    (16.) salary 'EMP' table emp 1 is passed to 11000 (which is correct) and the so-called execution results "SUCCESS".

    (Q6)  My question is: the query I gave for validation, SELECT count (*) FROM EMP WHERE empid = 1 AND = 10500 salary, now gives 0. so, this means that no row is returned for this condition and so the test must FAIL. But how is SQL * Developer said that the test was SUCCESSFUL. How does this system of validation?

    (17.) I went through the tutorial, but I do not understand these concepts >

    (Q7) What is the purpose of disassembly? I undersand the option 'drop table' "disassembly", where you drop the temporary table, but I do not understand the others, 'Table or line restore' and 'code pl/sql user '?

    (Q8) WHAT IS the advantage of making the test like this? Can I use an Excel spreadsheet and make dozens of unit tests faster than this method?  It is easy to understand too. This method is complicated.

    Your answers and your advice would be greatly appreciated.

    The temporary table to hold the original values for EMP. After the test runs, you must configure the disassembly to reset the return values of the temporary for the next time table that the test works again, he has values of expected start.

  • Automation of unit tests for the development of the ATG

    Hello
    I'm trying to set up unit tests automated to ATG. Is there anyone who has had success with this? I searched the whole forum and there is no indication in this sense. Is there anyone doing TDD for ATG?

    I've tried the ATG dust, but it is not useful and has many gaps. Anyone succeeded with other frameworks such as Mockito, needle, EasyMock etc. ? Any help is appreciated.

    It will be interesting to know what the ATG developers use for unit tests.

    Thank you.

    You can try Mockito.

    Setup
    1 initialize the component to be tested (Formhandler/repository/droplet etc.) and possible data (form entries etc.).
    2 mock, the calls of the method required when using method in mockito.

    Test
    1. write all possible test methods.
    2 when use, check the methods in Mockito for testing your methods.
    3. you can also use assertions to test the results (Ex: form errors)

  • try to automate an application test - need help.

    Hello

    I am newbie to BlackBerry Java development.

    I developed a custom application for blackberry with BlackBerry JDE. To test the same thing, I want to automate the test of it. Could someone help how can I achieve this.

    Please tell me where I could run my application as a deamon process in balckberry and access another application API. Is this possible?

    Also please tell me all the related links. I'm less bothered if my automation must be put with the other language as MDS, time of execution.

    Sorry if I posted in the wrong group, please let me know the correct contact.

    Thank you

    Micheline.

    I'm the right person to answer this question because I did all this, but I hope that I will give you some tips and other people can fill.

    Most of this information came from DevCon 2009, specifically Dev32. and COM18.  I don't know what's the State in which the provision to slides of people who do not (if you do not, you can download them yourself), but perhaps you can ask your RIM-binding agent and see what they can do to bring these, you might even be able to buy the proceedings of the Conference here :

    https://www.blackberrydeveloperconference.NET/

    In terms of tests automated. I think that these options are available:

    (a) unit tests.

    Look here for the opensource project now called RIMUnit.  In my view, that there is also a package of BBUnit autour.  You can use these tools for will test your classes

    (b) test simulator

    It is possible to entry to the script Simulator and the Simulator and then run the Script.  Not sure that you have an interact with the Script, but I guess it's useful as a regression Test.  You run fledgecontroller.exe.  I found a documentation here:

    http://docs.BlackBerry.com/en/developers/deliverables/6338/Test_BBSmrtphnSmltr_events_using_script_6...

    On OS 5.0 simulators, you can get the Simulator to capture the entrance.  You can use this in older simulators to read, if you will probably want to modify the script.

    (c) test of EventInjector

    A bit like (b) except that generate you events by using a program on the BlackBerry itself.  You need to watch the screen and the new OS 5.0 function locateDifference and be used to see the differences between screenshots.

    (d) on the test device

    For example, using services like DeviceAnywhere.

    (e) two other tools mentioned in DEV32

    BSquare TestQuest

    IBM Rational Functional test

    Hope this helps

  • What is the best way to my test app on Android devices?

    I am a great Apple user and can test my application physically on old devices iPhone 3, 4, 5 and 6, as well as several iPads.

    However, I don't know where to start with Android. There is a paid service that allows me to test on all the most popular devices? HTC Galaxy, Note, etc.?

    Hi Chris,

    You ask about a way to run your automated tests on a high-end devices the Android, or someone else to take a test plan, and then manually run through it?

    If you want that your tests automated to run on multiple devices, I suggest you have a look at AWS unit closed. Here is a list of their devices: list of devices. The best use of the system is to develop tests automated in a setting like the gourd.

    Even if you don't have automated tests, they can always run your application through a battery of tests of "compatibility" to assess the stability and the compatibility on a wide range of devices. You can view the screenshots to see how well made design.

    As an end-user of DPS, however, most of your tests can be subjective tests, the content is constantly changing. It is more difficult and I would recommend developing a simple battery of automated tests that will allow you to see a few areas in the application, such as the tops of the pages browse that you want audited, and perhaps every page in the article so that you're not just getting back random screenshots. System such as CPU and memory usage metrics will help you determine if you have created an article that is too demanding of system resources.

    You will need to use a preview of the application builder application to test the new content.

    Let me know if you have any other questions.

    -Dave

  • WebDriver does more work in Firefox 13.0.1

    I write regression tests automation using the FirefoxDriver Webdriver. The other day, firefox, automatically updated itself, and as soon as he did, I could run is more automation.

    I tried to restart my computer, reinstall firefox - no help. Had to install an older version of firefox and disable the updates. Then it worked. So I guess that I can no longer update firefox until solve you the problem.

    Thank you!

    Note: If you use the IDE instead of stand alone, there are more links here: http://seleniumhq.org/download/

    How old is this version that you use? It seems that webdriver.xpi has been updated on June 19, 2012.

    See: http://code.google.com/p/selenium/downloads/detail?name=selenium-server-standalone-2.24.1.jar & can = 2 & q =

    In the archive, the XPI file is here: org, openqa, selenium, firefox

  • Cannot copy text from iBooks?

    Hi guys,.

    So, I'm currently learning Swift using the Swift Programming Language 2.2 of iBooks. However, it won't let me copy the text I want to run the code from the book to test inside. I could write this code myself but there are a few sections that I'd rather not.

    Anyone know why this is happening? In the past I was able to copy the text of the book, but now it is not letting me (it is grayed out).

    theboxmike wrote:

    However, it won't let me copy the text I want to run the code from the book to test inside.

    You cannot execute code in iBooks.

  • LabVIEW compared to labwindows

    Hi all

    I have been using LabWindows for 3 years and just recently started learning the LabVIEW.

    LabVIEW seems to be the most popular and simple to program. This forum is full of experienced engineers in the test, automation and programming. How comments you these two products of NOR? What are their advantages and disadvantages?

    NOR did train hard work to spread the idea of LabVIEW everywhere and to encourage the use of the LV in schools and universities, and indeed, you see several educational institutions with the use of LabVIEW everywhere in the world. IE although CVI "just another C compiler" you will see it often announced there. Nevertheless, C remains a viable option and a good C programmer will approach CVI very easily, having not become familiar with the functions and labraries owners.

    LabWIndows/CVI and LabVIEW are different tools that you can use to achieve your goals, each of them has advantages and disadvantages; being a user of CVI for a long time with little experience LV CVI according to me is the best, LabVIEW users will feel the same for graphical programming that is to say, in my opinion, the two instruments are good and powerful and today are similar in power and flexibility.

    ICB began early on with a native compiler which makes it good for industrial applications where the ability to modify the code has been neglected in favor of repeatability of tests; LabVIEW has always be considered to be an "easy" programming language, everyone can use. As every programmer can confirm, that all both need time to be used in the best conditions, and how steep is in my opinion, the learning curve depends on your previous experience rather than in the own characteistics of the development environment.

    This comparison has already been addressed in the forum: Here you will find a long discussion that you might find interesting reading.

  • What is the GPIB for mitigation of amplitude Spectrum Analyzer?

    Hello
    I write a test automation, and I need to do the following by programming GPIB:
    Press on AMPLITUDE balance, mitigation, 0, dB.
    The device is Agilent E4407B spectum analyser.
    I searched on the internet and made searches and cannot find the GPIB string that mitigation of the amplitude of programming orders.
    (I found all other controls that I need for this Automation).
    Actually, the test plan I put in work in the programming, said that it is no longer available via the keyboard input.
    Could it be? All keyboard commands have corresponding GPIB commands outside of it? Why?
    Maybe it's because the same effect can be achieved by a different order of GPIB? What is it then?
    Thank you!
    Tova


  • VB6 activex control does not not in labview 8.5

    I am currently trying to get out of VB6 and Laview for some applications to test automated for secondary (rechargeable) batteries.

    We use Texas Instruments fuel gauges to my business and communication with them requires an EV2300 USB box.  I have the drivers installed for the box, and it works without problem in VB6.  I need to get Labview to talk to the box in the same way.

    I use 8.5 at the moment, and I thought that I had the good idea to use the BQ80xRW.dll file that is already installed on my machines to VB6 application.  The only problem is that I don't have the source code of the DLL, only the dll and ocx in my win32 directory files.  Here's what I did:

    (1) import the activeX control to palette (bq80xRW.dll)

    (2) place the bq80xRW on my VI activex control

    (3) place call nodes for the functions I want to test (GetFreeBoards--> OpenDevice--> ReadSMBWord)

    (4) to include nodes with appropriate controls (integers, strings, etc.)

    (5) run the VI

    I've included the VI I developed with this post.  Nword must, in my view, be on 16 while Cmd should be set to 1 c (to read the serial number of the part)

    When I run the program, while the USB module is connected, the GetFreeBoards node returns the following string:

    \\?\usb#vid_0451&pid_0035#5&1c93b2c6&0&2#{8eb0fa22-a67c-4a27-9913-df9ab307d886},

    If I run the program without the attached USB module, the string is empty.  Without spaces or characters at all.

    If the activeX control is something.  It's just not what I want it.  And since I don't have the source code of the dll, I don't know why.

    This big long string starting with \\?\usb is the name of the Board of Directors.  Get rid of the trailing comma and passing under the name of your Board of Directors in opendevice().

  • Keithly 2400 SPCI commands

    I am a new user try to my way.  I hope to have some help.  I use Labwindow library to write a test automation that uses the 24100 Keithly at the voltage source and measure the current - I communicate and sending the SPCI commands for initialized and set up OK but when it come to accquire the current measure, I'm stuck.

    Here is my code for the part

    Read_Data Char [501];
    Double actual_current;
    input char [36] = ' SURE: VOLT: LEV. "
    char temp [16] = "";
     
    sprintf ("%f", temperature and voltage);
    strcat (entry, temp);
     
    write_IO ("' * RST", kl_2410_meter ");
    Delay (1);
    write_IO ("SURE: FUNC VOLT", kl_2410_meter); Select the voltage source
    write_IO ("SURE: VOLT: MODE FIXED", kl_2410_meter); voltage mode fixed
     
    write_IO ("' SURE: V: 20 rang", kl_2410_meter "); range to 20V
    write_IO ("' SENSE: CURRRED 100th-3", kl_2410_meter "); current 100mA of compliance
    write_IO (input, kl_2410_meter); adjust the tension of the desired voltage source
     
    write_IO ("SENSE: FUNC \"CURR\"", kl_2410_meter "); Select the metering mode
    write_IO ("' SENSE: CURR: 10th-3 rang", kl_2410_meter "); the value current range of 10mA
    write_IO ("OUTPUT ON", kl_2410_meter); turn on the output
     
    write_IO ('TRAC: KEY', kl_2410_meter); empty the buffer
    write_IO ('TRAC: FEED SENSE', kl_2410_meter); empty the buffer
    write_IO ('TRAC: KEY', kl_2410_meter); empty the buffer
    write_IO ("TRACISO 10", kl_2410_meter);
    write_IO ("NEXT TRAC: FEED:CONT", kl_2410_meter);
    write_IO ('INIT', kl_2410_meter); //

    write_IO ("CALC3:FORM MEANS", kl_2410_meter);
    write_IO ("' CALC3ATA?", kl_2410_meter ");

    }

    and the write_IO routine is simply a wrapper for an ibwrt as follows

    void write_IO (void * buffer, int equip_id)
    {
    long term;
    length = strlen (buffer);
    ibwrt (equip_id, buffer, length (long));
    If (ibsta & ERR)
    {
    gpiberror (equip_id, PANEL, PANEL_STATUS, "ibwrt error");
    }
    }

    and I also have the wrapper for playback

    char * read_IO (int equip_id, char * s)
    {

    Bird (equip_id, s, 500);
    [ibcntl] = '\0 '; s

    If (ibsta & ERR)
    {
    gpiberror (equip_id, PANEL, PANEL_STATUS, 'Bird error');
    }
    return (s);
    }

    My question is when I write this statement write_IO ("' CALC3ATA?", kl_2410_meter ");  where are data store can I get out of the current reading?

    First of all, why are you creating your own code instead of using the driver - http://www.keithley.com/base_download?dassetid=7145

    Second, the data is stored on the device when you issue the query. You must do a reading for transfer of the instrument to the computer. You really should use instead of GPIB VISA functions which are not portable if you change to a USB or Ethernet connection.

  • LabVIEW playback using TestComplete Drag option controls

    Hi, we are working on TestComplete and LabVIEW to test our product embeded, here it is writes TC script to read X application data and then pass the values to the controls of LabVIEW. I tried to use option drag in TestComplete for LabVIEW control to display data who read X application but could only able to read the menu outside window LabVIEW (I mean maximize, minimize and close) and its not reading or indicators controls. Below the code example, when I read control in comunicator application using drag in TC. Sys.Process ("communicator"). Window ("#32770", "entries", 1 Test). Window("static", "", 1) code example below when I read control in LabVIEW application using option slide into Sys.Process ("LabVIEW") TC (its not of controls or reading of indicators in LabVIEW window). Window ("LVDChild", "TEST AUTOMATION.vi", 3) appreciate your help to solve this problem. Best regards, K Virgil

    Thank you Dennis, now work as expected, the solution: we should use ActiveX Rich Text format control, and then connect property of indicator text node in Labview, TestComplete use objectspy to control the Rich Text format in labview, you will get the code example as below.

    Define ch0 = Sys.Process ("LabVIEW"). Window ("LVDChild", "ANALOG INPUTS - EVEN the CHAINS", 3). Window ("NIContainerClippingWindow", "", 4). WinFormsObject ("ControlAxSourcingSite")

    then to pass values to labview control use below code

    ch0 appeal. Keys ("from TC to LabVIEW values")

    Kind regards

    Virgil K

  • FPGA reference questions between the station development and execution? 63195 error code

    I will do my best to describe the problem, I was see.  Note, I tried a few other messages that kind of touch on my problems, but they never seem to have a definitive solution.

    Background-

    I have 3 screws:

    VI 1) opens / runs the bitfile FPGA reference and stores the reference to a global file so that I can call the reference of other screws I need to do this as opposed to the opening of a new reference because I use the FPGA for digital communications and it adds about 100 ms to to open a new reference whenever I need to read/write in the target FPGA to host (100 ms are long in the) digital world!).  Some people use Shift Registers.  I finally called my whole army FPGA screws of TestStand to run a test automated, so it was easier to break up of my functions for open/close/read/write.

    VI 2) called the global reference of the file for FPGA, then going to a read/write node to change the settings of the target, then passes the reference out of the node back to the global reference of the file read/writable

    VI 3) calls close reference FPGA and the function is passed the global reference of the file.

    Question-

    I understand not why this method works fine when I run either of TestStand with station options defined for the development (not running) mode or when I open VI which calls these 3 screws individually in sequential order but IS NOT working when I try to run these screws individually (Run VI 1 - open-> write Ref to the global reference of the file-> Run VI 2 - read global file reference-> playback control function / writing-> error-63195) or when I have run in the same sequence TestStand but together with station for execution options.  Maybe I need to change the TestStand sequence to load all the modules at startup?

    Why the reference becomes lost when global failover between development and execution and why labview cannot drop keep the reference stored?  Is there a work around?

    Finally found a solution.  I do not understand why it is necessary during the reading of the FPGA and not what writing (in fact I do not understand why it worked at all) but I ended up changing the properties of the step in my TestStand sequence for the step calling my DTL_READ.vi to be properties-> Run Options-> Unload Option-> "Unload after executing the step.  That seemed to do the trick to get my test TestStand sequence to work in runtime.

    I still don't understand why this was not required when you run the same sequence in the design environment and why it is not when I call my DTL_WRITE.vi.

    The DTL_READ.vi and the DTL_WRITE.vi pass the parameter labveiw global.vi 'Reference FPGA VI"of a node in read/write.  I don't know if the root of the problem is in my host TestStand and LabView FPGA VI...

    Thanks for all suggestions from you guys!  I'm happy I work but I am still confused by the solution.

  • Call Z10 anonymous of blackBerry

    For nearly 2 months after I updated my Z10 (now I have the 10.3.1.1565 version), when I get calls, the phone number, or the name of my correspondent is displayed. So I don't know who it is before answering. I don't remember when I missed calls, because I don't know who is the person who tried to reach me. It is very annoying. Can anyone help? Thank you.

    It's news to me. Have you asked your service customer service provider. The network says your device number. If the number is in your address book, and then the device displays the name in your address book. My suspicion is that the network is not the number.

    On your side, you could do a wipe test and security. Manually enter a couple of contacts in your address book and test. If it works, then it is not the network. Do a restore, and if the problem reappears, then it would seem corrupt settings or corrupted data.

  • I can invoke another app in a thread of an application?

    If I invoke another app in a thread of an application, I will be able to access its resources (controls etc.?) If I invoke without a thread not the target application get a different process id?

    Because BBSJdev guessed right in thinking that you want to control any application, the answer is simple: you can't.

    The security system is foolproof effectively in this regard. You have no options outside the Automation API that they chose not to put at the disposal of anyone except close partners (for example, businesses, to make applications of specialized technical support).

    If you want something that can 'control' your own applications to another application that you write, so some of the ideas I gave are still options. Note however that it would be quite 'cooperative' form of 'control'... the victim would indeed be pretending to be controlled through the interface you describe, but it would in fact control itself.

    Don't bother looking for any purpose not delicate run around that... you will not find one, unfortunately. (Many of us have asked something like this for purposes of test automated, perhaps to be used only in development Mode, but that seems unlikely to happen in the foreseeable future).

Maybe you are looking for