Process validation for test case is not working

I' am using SQL Developer EAR 3.0.02.83. The is a test case defined which uses "Query returns rows" with Select count(*) from dual;
It should return a row an that way fulfill the test.
but when running the testcase I get the result ERROR due to:
Query returns rows not succesful: null
How can I find the reason? Is this a bug?
Even other types of validation do not work, they always give null and the overall result ERROR.

Thanks for your reply. Unfortunately our procedure returns in some cases null values, so that a unit test is not possible.
I need to ckeck the results of the function, but not to compare them with fixed values, rather something like {VALUE$} LIKE 'x%Y'.
I'am afraid there is no solution.
When can I hope the relaese version to be available?

Similar Messages

  • Flash CC keyboard shortcuts for test/debug movie not working

    My keyboard shortcuts all work exept for the various test / debug options, like debug on device,test on desktop. None of these options work.
    I tried different keys combinations, so it's not the problem.
    I'm tired of going trough the menu + submenu each time because I frequently switch (desktop is faster for quick testing).
    I mean, I do this a hundred times a day. Please check this! thanks.

    Hi, thanks for taking the time to answer.
    Flash CC, Win7 64bit, I use sublime text, nothing else is running...
    Absolutly nothing is happening if I try.
    Correction: ctrl+enter has been successfully assigned (I see the text in the menu) and is recongnize for "test movie ...air debug desktop"
    Others don't appear in the sub-sub-menu for testing or debugging over usb.
    I've assigned them to ctrl+alt+enter/return and ctrl-shift-enter/return. (I've tried other keys as well...)
    So it appear the problem is with test/debug USB...
    EDIT: Just to be clear, I try to set custom shortcuts, to avoid the default behaviour (one shortcut to launch the last choice). this weird behaviour is probably the cause of the problem in the first place.

  • Validation for an item is not  working

    Hi All,
    I have a validation for name field in my application to resist the names repeating while creating new USER
    i tried Function returning error text.
    declare
    l_count number:=0;
    begin
    if :p102_username is not null and :REQUEST ='CREATE' then
    select count(username) into l_count
    from portal_login
    where user_id =:p102_user_id;
    if l_count > 0 then
    return'This Username already exists. Please enter a new name.';
    end if;
    end if;
    end;
    But it is not working..
    It gives error like
    ORA-01403: no data found
    Error unable to fetch row.
    First it was working fine, after validation it started to give error.
    So i removed that but also the condition is same..
    Can any one help me?
    Thanks,
    Alka

    You are getting this error because your SELECT statement is not returning any rows. You need to do something like:
    DECLARE
      l_count number:=0;
      CURSOR check_emp IS
        SELECT COUNT(ename) cnt
          FROM emp
         WHERE ename = :p14_ename;
    BEGIN
      IF :p14_ename IS NOT NULL AND :REQUEST ='CREATE' THEN
        OPEN check_emp;
        FETCH check_emp INTO l_count;
        IF (l_count > 0) THEN
          CLOSE check_emp;
          return l_count||' This employee name already exists. Please enter a new name.';
        END IF;
        CLOSE check_emp;
      END IF;
    END;Mike

  • Writing to file in JUnit test case? Not working?

    I have a singleton class called InstantLogger that internally uses a PrintWriter to write to file. It is very basic, has startLogger(String filename), log(String msg), and stopLogger(). startLogger just creates file, log write to file, and stopLogger closes file.
    When I use this class outside of the JUnit test suite it works fine.
    As soon as I use it in a JUnit test it does not write to file. It creates the file (this happens in the TestSuite), but will not write anything to it (when log is called from TestCase). I put a System.out in the log function and I see that, but still nothing writing to file. And I will say it again, it does work in non TestCase scenarios so I know it works.
    Is there something that could be preventing me from writing to file in JUnit TestCase? Could this be a Singleton Issue?
    Thanks,

    avalanche333 wrote:
    I have a singleton class called InstantLogger Ouch.
    that internally uses a PrintWriter to write to file. It is very basic, has startLogger(String filename), log(String msg), and stopLogger(). startLogger just creates file, log write to file, and stopLogger closes file.
    When I use this class outside of the JUnit test suite it works fine.Oh, brother.
    >
    As soon as I use it in a JUnit test it does not write to file. It creates the file (this happens in the TestSuite), but will not write anything to it (when log is called from TestCase). I put a System.out in the log function and I see that, but still nothing writing to file. And I will say it again, it does work in non TestCase scenarios so I know it works.
    Is there something that could be preventing me from writing to file in JUnit TestCase? Could this be a Singleton Issue?Um, no.
    Your code is wrong. You're assuming something that isn't correct. You're also making the assumption that just because it "works" in another context that it's right in all contexts. The two aren't the same, be it configuration or something else.
    Singleton? That GoF pattern has been voted off the island. Didn't you hear?
    http://code.google.com/p/google-singleton-detector/
    %

  • Unit Test Validation for Output Ref Cursor Not Working

    Here is the problem:
    I have a stored procedure as follows:
    CREATE OR REPLACE
    PROCEDURE usp_GetEmployee(
    p_employeeId IN NUMBER,
    cv_employee OUT Sys_RefCursor )
    AS
    BEGIN
    OPEN cv_employee FOR SELECT * FROM employees WHERE employee_id=p_employeeid;
    END usp_GetEmployee;
    For this, I am implementing a unit test.
    * In the "Select Parameters" step, I am unchecking the "Test Result" check box for the cursor OUT variable.
    * In the "Specify Validations" step, I am choosing "Boolean Function" and putting the following PL/SQL code:
    DECLARE
    emp_rec {cv_employee$}%rowtype;
    BEGIN
    FETCH {cv_employee$} INTO emp_rec;
    IF {cv_employee$}%FOUND THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    RETURN TRUE;
    END;
    But, when I try to execute this Test, I get the following error:
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@4f0617> to REF CURSOR.
    If I run in the debug mode, I get the following content in a dialog box:
    The following procedure was run.
    Execution Call
    BEGIN
    "ARCADMIN"."USP_GETEMPLOYEE"(P_EMPLOYEEID=>:1,
    CV_EMPLOYEE=>:2);
    END;
    Bind variables used
    :1 NUMBER IN 1001
    :2 REF CURSOR OUT (null)
    Execution Results
    ERROR
    CV_EMPLOYEE : Expected: [Any value because apply check was cleared], Received: [EMPLOYEE_ID                             COMMISSION_PCT                          SALARY                                 
    1001                                    0.2                                     8400                                   
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@31dba0> to REF CURSOR.
    Please suggest how to handle this issue.
    Thanks,
    Rahul

    979635 wrote:
    But, when I try to execute this Test, I get the following error:
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@4f0617> to REF CURSOR.
    If I run in the debug mode, I get the following content in a dialog box:
    The following procedure was run.
    Execution Call
    BEGIN
    "ARCADMIN"."USP_GETEMPLOYEE"(P_EMPLOYEEID=>:1,
    CV_EMPLOYEE=>:2);
    END;
    Bind variables used
    :1 NUMBER IN 1001
    :2 REF CURSOR OUT (null)
    Try explicity declaring the ref cursor instead of using a bind variable, something like (untested)
    begin
      foo sys_refcurosr;
    begin
      test_procedure(foo);
    end;Alternately, in SQL*PLUS use the DEFINE command to ste a named bind variable to type REFCURSOR and use the named bind variable in your test
    Edited by: riedelme on Jan 23, 2013 7:10 AM

  • How to set up approval process for test case in SAP solution manager?

    Hi Experts,
    We need to setup a 2 level approval process for test case documents in SAP Solution Manager.
    e.g. If test case document is uploaded for transaction "MM01" then first it will go to Reviewer1. Once Reviewer1 approves it , should go to Reviewer2.
    Adn finally once reviewer2 approves it , it will be complete.
    What are the required configurations and steps for approval process setup? It will be helpful if screenshots and detailed steps are provided.
    Thanks.
    regards,
    Sanjana

    Hi,
    the above requirement we are going develop add on.below code is there. in this code how we can set for line level amount instead of document total amount
    Private Function GetCondition(ByVal sCondition As String) As ApprovalTemplateConditionTypeEnum
            Try
                Select Case sCondition
                    Case "Deviation from Credit Limit"
                        Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromCreditLine)
                    Case "Deviation from Commitment"
                        Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromObligo)
                    Case "Gross Profit %"
                        Return (ApprovalTemplateConditionTypeEnum.atctGrossProfitPercent)
                    Case "Discount %"
                        Return (ApprovalTemplateConditionTypeEnum.atctDiscountPercent)
                    Case "Deviation from Budget"
                        Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromBudget)
                    Case "Total Document"
                        Return (ApprovalTemplateConditionTypeEnum.atctTotalDocument)
                End Select
            Catch ex As Exception
                MsgBox(ex.Message())
            End Try
        End Function
    Please guide me.
    Regds,
    Samapth Kumar.

  • Valuation Basis for Different Payment (BWGRL) not working in 2010

    Hi
    We have a commission wagetype which we entered in IT 2010 in Number/Unit field. 
    Since we don't have premium id available, we used "Valuation Basis for Different Payment (BWGRL)"  to enter the RATE.
    This RATE is not working during our payroll run, however when we are using the wagetype with premium ID it is working fine.
    My question is- What could be the reason that the Valuation Basis for different payment is not working ? 
    I checked the wagetype in V_512W_B table and it has the following configuration-
    Current wage type
    Valuation Basis = BLANK
    Statement/WT = BLANK
    %Rate = 100
    1st derived wage type
    Valuation Basis = BLANK
    Statement/WT = BLANK
    %Rate = BLANK
    2nd derived wage type
    Valuation Basis = BLANK
    Statement/WT = BLANK
    %Rate = BLANK
    Would appreciate if the the fix could be provided.
    Saurabh Garg

    Hello,
    I think in your case for commision wagetype you need to modify rule $930 to process the override rate from Infotype 2010 BWGRL field in case you are using the US standard schema.
    The valuation basis table V_512W_D and rule $930 together will determine the valuation basis.
    The default valuation basis comes from table V_512W_D.In case you want to override the valuation basis rate defined in this table,you need to maintain override rate in It2010 and accordingly have the logic defined in rule $930 for that particular wagetype .
    Following is the sample rule definition for a similar scenario.
    ****(commision wagetype)
      NUM= ANZHL Set
      RTE= BWGRL Set
      RTE?0      Comparison
          MULTI NRA  Multipl.amt/no/rate
          SETIN X=NX Set variable split
          ADDWT *    OT   Output table
        =
          VALBS0     Eval.0.WT in 512W
          MULTI NRA  Multipl.amt/no/rate
          SETIN X=NX Set variable split
          ADDWT *    OT   Output table
    Regards,
    Malathi V.

  • New Release QuickVPN client 1.4.0.5 for windows 7 does not work????

    New release of QuickVPN client version  1.4.0.5  for windows 7 is not working properly.
    We can not connect; instead we receive this message:
    "Remote Gateway is not responding, do you want to wait?"
    Dear Cisco,,,,
    Your release is not complete; please correct issue and advise after it has been tested.
    Rgds, EM

    Hi, first disable this POLSTORE.DLL again in your QuickVPN-Folder. Then start in this folder IPSEC.MSC and than IPSEC.EXE. You should get from IPSEC.EXE  the error above. If not, than any other problem you have. Follow all the hints here in this thread.
    If you get the same error above, than enable this POLSTORE.DLL again and start the IPSEC.EXE. You get the full info what has been gone. And within the IPSEC-Window for Local Computer you may find this FREESWAN-setting.
    B.t.w. before I went this way I did export and import the IPSEC-settings from the XP-machine, as it was hinted some posts earlyer. But the way I have gone, works also with manualy deleting the FREESWAN config. With the IPSEC.EXE it will new generated in any case.
    When you start via QuickVPN you may monitor also what happens within this IPSEC for Local Computer. Press F5 to keep it aktual.
    From time to time the connection gets only succeeded after the second and more times. I have a very slow UMTS Internet-Access.
    Juergen
    Adding: These effects, getting not connected, first and during the VPN-Tunnel exists, has not changed since the top-first Version of Quick-VPN.
    Dear customer, be patient, don't care about these stupid messages, click again or when the connection allready has succeeded through the VPN-tunnel do what you did like to do.
    ...... and again, with which configuration-scenario do the guys at Cisco test and develop .....
    Fortunately, I never was a Cisco partner, only a poor user ;)

  • Auto To working for one material and not working for other material

    Hi,
    Hope everybody is doing fine.
    I have configured the auto TO. Its working fine for one material and not working for the other material. I checked the material master and wm 1,2 views have the same fileds / values. What could be wrong?
    I didn't setup the back ground processing job. Is that is affecting it?
    thanks for any help.
    regrads,
    KHAN

    Thnaks,
    You are right but then what could be wrong? Its working for one material and not working for otehr material? Any clue?
    Appreciate your time charlie

  • False/True Case is not working. Please Help!

    Dear all,
    I attached my block diagram, one attachment refers to true case and the other refers to false case.
    My program runs like this: when i run the vi , after homing the motor (there is home.vi), DAQ is collecting the values in the while loop, and according to the DAQ's value, motor should run the False/True case but it does not
    As a result: true/false case is not working which is located at the outside of the loop(bottom side of the block diagram)
    When i put the the True/false inside the Loop(DAQ's loop) , then it is working. But this brings lots of problem, two of them is: 
    1-) When the DAQ values goes below to "50" then it turns to true case again,
    2-) The false case has stop.vi which cause to motor stop every iteration of the loop.
    So that is why i put True/False case out of the loop but now it is not working at all.
    Please answer, waiting response.
    Thank you,
    Have a nice day,
    Kind Regards.
    Attachments:
    OutloopTrueMode.pdf ‏432 KB
    OutofLoopNotWorking.pdf ‏443 KB

    Salander wrote:
    Dear GerdW,
    Thank you for reply, You can see my answers written with red.
    "As long as the case structure is located outside the loop it will not be called before the loop stops. THINK DATAFLOW!"
    - The case structure need to run same time with the loop, because as you can see from the attachments the case structure is also integrated with DAQ values.. loop is continuous till i press the stop button.  So what i understand that this case structure will not work because loop is continuous?? Cant we upgrade the vi. or do smthg that it can be able to work same time with the loop??
    Kind Regards.
    You have to place the case structure inside the while loop ( Any significance is there on placing the case outside the loop? ).
    Salander wrote:
    Dear GerdW,
    Btw. it would be much more useful to attach real pictures or, even better, the VI...
    Because most of the people dont have my "motor controller's labview drivers"  I attached as a PDF file which is very popular.
    Not Really * .png file ( vi snippet ) is much more popular here in Discussion Forum
    The best solution is the one you find it by yourself

  • Report available for test cases (manual test script files uploaded)?

    We upload our test script files to the "Test Case" tab, assign it a status.  We are hoping to have a report that would report all test case files and their STATUSES.
    In solar_eval, there is a standard SAP report for test case provided.  However, the field "Status" for the test case file is not included in this report.
    Is there any report available that would give us this status?  If not, in which table does this data come from?  Is there anyway to build a simple SQVI query to extract the list of test cases and their statuses?
    Any help is highly appreciated!

    Hi Jo,
    It's not entirely clear on whether you are look for 'Status' values of the Test Case document itself OR for 'Status' values of the Test(s) conducted on such Test Case documents.
    I believe the following two SOLAR_EVAL reports should resolve either ways:
    (a) SOLAR_EVAL -> Project -> Configuration -> Assignments -> Documentation (Programme called is SAPLSPROJECT_SOLAR_DOC_EVAL_IM) , Tick only 'Test Cases' and switch off other tabs
    (b) SOLAR_EVAL -> Project -> Test -> Test Plan Status Analysis
    Best regards,
    Srini

  • Earlier installed flash player for x64 yet still not working

    Hello:
    Over the past 6months flash player installed and it's a working program, then a update comes
    along install that then you know it program  stops working.  I just uninstalled latest version  as it was not working
    I went back to dl.flash player square "beta preview, for windows X64.  Not working.
    Where,what is a user to do? I like learning from H.P. Learning which uses flash player so I really
    need to get Adobe Flash Player working a.s.a.p.
    thanks nedt

    Hi, The Square is a beta version and still in testing. You need to Uninstall it if you want the latest released version.
    Even tho you have a 64bit OS, you need to use the 32bit browser with any Flash Player version other than Square.
    Download and SAVE to your Desktop the Uninstaller:
    http://kb2.adobe.com/cps/141/tn_14157.html
    Download and SAVE to your Desktop the Installer(s)
    http://www.adobe.com/products/flashplayer/fp_distribution3.html   Use the EXE Installer for Win/IE and Win/plugin
    Use the Administrator Account
    Close all browser windows, disable any instant messengers in the system tray
    Disable any realtime anti-virus
    Run the Uninstaller and then reboot
    Run the Installer(s) and reboot.
    Reenable any that was disabled.
    Test here with browser(s)
    http://www.adobe.com/software/flash/about/
    You can print this out to make it easier.
    eidnolb

  • Validation of existing certificate does not work since release 9.3.3

    Hi everyone,
    Since I updated to Adobe Reader 9.3.3 the validation of digital signatures does not work properly anymore. Though I try to validate the certificate that used to be OK before the upgrade to 9.3.3 I now get an error on the same document and signature that used to work before. In the signature details Adobe Reader now states that "The certificate ...is not trusted...". This has to do with the new Adobe Approved Trusted list (AATL) I assume since nothing else changed.
    Does anybody know a workaround or is anybody aware of a bugfix that will be released in the near future?
    Thanks in advance,
    Mike G

    Works for me.
    What OS/JDK etc are you using?

  • [svn:fx-trunk] 7473: Fix for 'ant asdoc' does not work.

    Revision: 7473
    Author:   [email protected]
    Date:     2009-06-01 12:09:26 -0700 (Mon, 01 Jun 2009)
    Log Message:
    Fix for 'ant asdoc' does not work.
    It should now work from both svn and package zip.
    Bugs: SDK-15306
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-15306
    Modified Paths:
        flex/sdk/trunk/asdoc/build.xml
        flex/sdk/trunk/build.xml

  • HT201436 Hello, my name is brad and I recently had a voicemail app that I was using and now i got rid of it. But now my voicemail for the phone will not work. I tried to reset the network settings and nothing happened. I was wondering if you could help me

    Hello, my name is brad and I recently had a voicemail app that I was using and now i got rid of it. But now my voicemail for the phone will not work. I tried to reset the network settings and nothing happened. I was wondering if you could help me out?

    When you set up a voicemail redirection, usually you have to remove that redirection from the account that redirected it.  Like Google Voice, if you activate Google Voice to receive your voicemail, you will have to log into voice.google.com to turn it off.  If you contact your carrier, they can tell you exactly what program has taken over your voicemail functionality just in case you are stuck, but if you know the name of that App, I'm sure you will be able to figure it out.  Hope this helps you out.

Maybe you are looking for

  • Maintenance view error

    Hi All, I am facing a weird  issue: - There is a view /asgws/scr_v001 (a z view in custom namespace). This view is transported from system G1 to G2. G1 system is SAP4.7 and G2 system is SAP ECC6.0. Now maintenance view for this view is maintained and

  • Errors while transporting the Business Content

    hi all, we are facing a few problems while transporting the Business Content from the Development systems to the Quality System. it says Method Execution - Action Cancelled. am pasting a part of the error messages also... kindly have a look at it and

  • Survey Form at item level is not visible

    Hi Experts, I have created two survey forms for lead. I want different survey form based upon item category. But, In my Lead transaction NO survey form is visible at item level. its visible at header level only. I want it at item level. Please help.

  • Whether probably configure a phone Motorola Droid Ultra xt1080  in mode NV_ONLY?

    Whether probably configure a phone Motorola Droid Ultra xt1080  in mode NV_ONLY?

  • OracleJSP: An error occurred. Consult your application/system administrator

    hello friends, i installed a soa patchset 4 (7272722) over soa suite 10.1.3.1.0 in a solaris sparc machine.the installation was sucessful.i followed the docs during the installation like running the scripts etc. after finishing the installation the b