Data-Driven test : Compilation should be avoided while running tests in batch when .csv file inputs changed to use them in script

Hi,
I am running Data-Driven  test on different machines with different  input values in .CSV file in batch mode.we are facing following problem:
 Test not considering modified values in  .CSV file until we recompile the test.
Is there any way to avoid this dependency of compilation after updating .CSV file???
Regards,
Nagasree.

Assuming the CSV is part of the Visual Studio solution. Open the properties panel for the CSV file from solution explorer. Set "Copy to output directory" to "Copy if newer" or to "Copy always". Some documents recommend
"Copy if newer" but I prefer "Copy always" as occasionally a file was not copied as I expected. The difference between the two copy methods is a little disk space and a little time, but disks are normally big and the time to copy is normally
small. Any savings are, in my opinion, far outweighed by being sure that the file will be copied correctly.
See also
http://stackoverflow.com/questions/23469100/how-to-run-a-test-many-times-with-data-read-from-csv-file-data-driving/25742114#25742114
Regards
Adrian

Similar Messages

  • I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
    Please enter a value and try to re-run Quick Pay.

  • Get Managed bean name while running tests.

    hi,
    while running web application,i can able get managed name.
    but how to get managed bean name while running unit tests.
    thanks
    siva

    public String getManagedBeanName() {
        String managedBeanName = null;
        HttpServletRequest request =
            (HttpServletRequest) FacesContext
                .getCurrentInstance()
                    .getExternalContext()
                        .getRequest();
        // lookup bean in request scope
        Enumeration requestAttributeNames = request.getAttributeNames();
        while (requestAttributeNames.hasMoreElements()) {
            String requestAttribute = (String) requestAttributeNames.nextElement();
            Object object = request.getAttribute(requestAttribute);
            if (object instanceof MyBean) {
                managedBeanName = requestAttribute;
                break;
        if (managedBeanName == null) {
            // lookup bean in session scope
            Enumeration sessionAttributeNames = request.getSession().getAttributeNames();
            while (sessionAttributeNames.hasMoreElements()) {
                String sessionAttribute = (String) sessionAttributeNames.nextElement();
                Object object = request.getSession().getAttribute(sessionAttribute);
                if (object instanceof MyBean) {
                    managedBeanName = sessionAttribute;
                    break;
        return managedBeanName;
    }Sorry, don't know other ways.

  • CacheException error while running test applications in R12

    Hi
    I try to run Tutorial application for OA Framework R12 and get 500 Internal Server Error:
    oracle.apps.fnd.cache.CacheException
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:833)
         at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
         at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
         ... 50 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.get
    null
    The base exception is:
    Exception creating new Poolable object.
         at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
         at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    OA Framework version is 12.0.6. I have downloaded fresh JDeveloper for this OAF version as described in Note 416708.1 (How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x) and set JDEV_USER_HOME for its home.
    DBC file is freshly generated. I also try to delete slashes in APPS_JDBC_URL in dbc file as advised in [897034 |Cache Exception while running test_fwktutorial.jsp in  R12 thread but still get this error.
    GUEST user password is ORACLE (Select Fnd_Web_Sec.Validate_Login('GUEST', 'ORACLE') From Dual returns 'Y' and system 'Guest User Password' profile value is 'GUEST/ORACLE'). Any idea???

    Hi!,
    I'm also encountering same error while running a page in Jdev with OAF version 10.1.3.3.0. I've recently upgraded my workstation from 3.00 GHz Intel Pentium 4 (Hyper-Threaded) 4 to Dual 2.80 GHz Intel Core2 Duo. I did not encounter this error before in my old workstation.
    Btw, I'm connecting to EBS R12.
    Though I tried running a page in Jdev with OAF version 9.0.3 connecting to EBS 11.5.10 and it was successful.
    Please advise.
    Thanks in advance.
    dolps

  • Error while running test configuration

    Hi,
    I created a test script using SAPGUI and test configuration.In test configuration,i created 2 variants other than default one.Downloaded the variants and executed it. It was giving error "Error inn ecatt command SAPGUI","Cannot Find Screen Element  in Replay Mode". When i run test script alone,its working fine.
    Please tell me how to correct the problem.
    Thanks,
    Aparna.

    Hello Aparna,
    As per the error description give by you , it means that when you execute the script recorded the eCATT control is unable to find the screen element in the screen recorded , possible reasons may be that the control may be in some other screen and trying to find the screen element of the other screen in the present screen.
    Solution to this may be check the connection id and the session id of the SAPGUI where the script is failing.
    Ideally all the connection id and session id of all the SAPGUI's recorded has to be same so that execution takes place in a single session.
    Hope it answers your question.
    Thanks and Best regards,
    Ajay

  • Method not found while running tests using MTM.

    Test method SupportSoft.RequestAssist.TestScenarios.TestSecnario.ValidatingAttachingFileRequestByUser threw exception: System.MissingMethodException: Method not found: 'Void SupportSoft.CommonUtilities.GUIInteraction.ImplicitWaitForElement(OpenQA.Selenium.IWebDriver,
    System.String, System.String)'.
    I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method. The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
    But when we trigger run from MTM, this issue is seen.
    Please help me out here.
    Thanks and Regards,
    Payal Prajapati.

    Hi Payal,
    >>The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
    According to your description, you mean that when you run the automated test method from Test Explorer in the VS IDE, it works fine, am I right?
    If yes, as you said the error message:
    >>I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method.
    I suggest you could try to check if you associated with the automated test method in the MTM by opening your test case and then select the ASSCIATED AUTOMATION tab check if associated the automated test method.
    (1) If the it is blank in the ASSCIATED AUTOMATION tab , I assume that you did not associated with the automated test method into the MTM, so I suggest you could try to associated with the automated test method in the MTM and then check this issue again.
    About how to automated test method into a test case for the MTM,
    please refer to the following steps:
    1: You can create a test case from MTM and then you can input the test case ID and then press the Enter like the following screen shot.
    2: After the test case edit window is opened, you can select the ASSOCIATED AUTOMATION option to open this Choose Test Window, and then associated the
    automate test method.
    For more information:
    https://msdn.microsoft.com/en-us/library/dd380741.aspx?f=255&MSPPError=-2147217396
    (2)  If you could see the automated test method in ASSCIATED AUTOMATION tab from MTM like my screen shot, please try to copy this automated test case to Test Agent machine and then check if you can run it successfully.
    Best Regards,
    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.

  • Error while running Java program which call a file upload servlet

    Hi all,
    I have a java program which calls a servlet and sends the file to be uploaded by the servlet. I used Jbuilder to create java program and servlet program. I compiled both the programs and compilation suceeded and my class files are avaialbe in
    WEB-INF/classes/content directory. But now I am trying to run the Java program(this contains main method) from the command prompt, which should inturn call my servlet.(I have web.xml file inside WEB-INF dir). But I receive the following error
    C:\tomcat5.5.15\apache-tomcat-5.5.16\webapps\content\WEB-INF\classes\content>java MultiContentSender
    Exception in thread "main" java.lang.NoClassDefFoundError: MultiContentSender (w
    rong name: content/MultiContentSender)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    My dir strcture is as below
    TOMCAT_HOME/webapps/content/WEB-INF/classes/content/*.class
    I am not able to figure out the error, can anyone throw some light on this issue.

    You are trying to invoke the class from the command prompt. My guess is that MultiContentSender contains a package, which means that you'll need to add your WEB-INF\classes directory to the classpath before it will work. Classes stored in this directory are expected to be invoked through tomcat, which builds it's own classpath.

  • Error while running forge - Could not open DTD file

    Hi,
    I have a simple application created in Endeca,facing below error when I run baseline_update.sh
    FATAL   09/04/13 22:26:42.491 UTC (1378333602491)       FORGE   {baseline}: Error in file 'file:///../../endeca/apps/Sample/data/processing/Sample.analytics_config.xml' (line 2, char 58): An exception occurred! Type:RuntimeException, Message:Could not open DTD file 'file:///../../endeca/apps/Sample/data/processing/analytics_config.dtd'.
    Initially Forge was running error free, only changes we made were :
    1. Ingesting multiple XML files.
    2. Changed match mode of dimensions to Autogen
    Forge is unable to open any of the DTD files, for testing removed DTD reference line from Sample.analytics_config.xml.
    Forge fails again " FORGE   {baseline}: Error in file 'file:///../../endeca/apps/Sample/data/processing/Sample.cral_profile.xml...................................."
    Regards,
    Shruthi

    I've seen this type of error before when Forge is configured to read multiple files with spec *.xml.  Is that how you've configured your record adapter?  This configuration then collides with Forge XML config files merged into the same data/processing directory.
    From memory there's a couple of solutions for this - one might be to give the files a common name prefix if that's feasible, e.g. _data*.xml.  You could use a sub-directory to separate the files, but you'd need to modify your copy scripts.

  • Lms reporting success status=pass/fail, where it should give unknown while running on saba 5.3

    I am trying to run my content on SABA 5.3 , After exiting the content the lms displays success status as Pass or Fail where it should show Unknown. My content does not contain any quiz, so on which basis lms is calculating the success status.

    Yes I know you said your content had no quiz, but please try to remember that we answer hundreds of these enquiries and it's not uncommon for people to tell us one thing when their settings say another.  So I have the habit of asking to see the actual screenshot.
    Each LMS interprets the SCORM standard a little differently.  In SCORM 2004 a course module can have both a status for Complete or Incomplete, as well as a separate status for Pass or Fail. (Under SCORM 1.2 the overall status was tracked by a single element - cmi.core.lesson_status - allowing for only a single status value that would boil down to Complete vs Incomplete or Pass vs Fail values.
    Under SCORM 2004 there are two separate elements tracking completion and success.
    The SCORM 2004 element cmi.completion_status is designed to indicate whether the learner has completed the SCO and can take the following status values:
    completed,
    incomplete,
    not attempted,
    unknown
    Your Pass/Fail status in SCORM 2004 falls under the element called cmi.success_status. This one indicates whether the learner has mastered the objective and can take the following values:
    passed,
    failed,
    unknown
    So while it is possible for a value of "unknown" to be set for either cmi.completion_status or cmi.success_status, I don't think this would be very commonly done for a Captivate module that actually has interaction data being sent to the LMS.  If the user is interacting with the content at all it would seem more likely that you'd be getting a 'completed' or 'incomplete' status value in the completion element and a 'pass' or 'fail' value in the success_status element.
    The bit I don't understand is why are you particularly keen to see a value of 'unknown' showing up here?
    Check this page for information about getting SABA to work with Captivate: http://www.infosemantics.com.au/adobe-captivate-learning-managment-system-lms-guide/saba
    Perhaps one of the threads it links to will provide more help for you.

  • Random NPE while running /Testing Dataservice finctions

    hi,
    Randomly I am getting the follwing exception while testing the Dataservice from TestView.
    Any idea ?
    java.lang.NullPointerException: Internal Error: variable '$$f48235_0' not bound
    at weblogic.xml.query.runtime.core.RTVariable.open(RTVariable.java:37)
    at weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:161)
    at weblogic.xml.query.runtime.sort.GroupNoSortIterator.compGroupingValues(GroupByNoSortIterator.java:658)
    at weblogic.xml.query.runtime.sort.GroupNoSortIterator.initialize(GroupByNoSortIterator.java:532)
    at weblogic.xml.query.runtime.sort.GroupByNoSortIterator.fetchNext(GroupByNoSortIterator.java:350)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
    at weblogic.xml.query.runtime.join.NestedLoopJoinIterator.fetchNext(NestedLoopJoinIterator.java:154)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
    at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:135)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
    at weblogic.xml.query.runtime.join.NestedLoopJoinIterator.fetchNext(NestedLoopJoinIterator.java:136)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
    at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:135)
    at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
    at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
    at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.matEverything(PartMatElemConstructor.java:123)
    at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:197)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
    at weblogic.xml.query.runtime.node.SquishEmptyElement.fetchNext(SquishEmptyElement.java:83)
    at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
    at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
    at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.matEverything(PartMatElemConstructor.java:123)
    at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:197)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
    at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
    at weblogic.xml.query.runtime.sequences.Subsequence.fetchNext(Subsequence.java:101)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
    at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
    at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
    at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:238)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)

    Please zip up and attach your DSP project.
    It looks like the column names in the data service metadata do not match. This can happen if you have manually modified the metadata in a dataservice. If you have changed columns in your database tables, it is safest to re-import, rather than manually modify the metadata.
    If this is happening for some other reason, I'll figure it out from your project.
    If you open a case with customer support, you'll have a better chance at getting this resolved as I'm going on vacation shortly.
    - Mike

  • Error while running Test-SpContentDatabase. How to resolve?

    PS C:\> Test-SPContentDatabase -Name WSS_Content_2222 -Webapplication http://10.10.24.241:2222
    Category        : SiteOrphan
    Error           : True
    UpgradeBlocking : False
    Message        : Database [WSS_Content_2222] contains a site (Id = [3eafefc7-e4db-49c1-8ed5-44ab0a9b4596], Url = [/])
                      whose id is already associated with a different database (Id = [4ec4f279-791c-4e04-9f78-a57b2564ed67]
                      , name = [WSS_Content_2222]) in the site map. Consider deleting one of these sites which have conflicting Ids.
    Remedy          : The orphaned sites could cause upgrade failures. Try detach and reattach the database which contains the orphaned sites. Restart upgrade if necessary

    I know this was a while ago - but don't s'pose you recall the fix?
    Ben Weeks
    SharePoint Consultant @ Webtechy Ltd
    T: +441223922070 F: +448701315220
    Web: http://www.webtechy.co.uk Blog:
    http://blog.webtechy.co.uk

  • Error while running test suite

    Hi,
    I have installed TCL-8.5 on unix platform and configured Berkely DB with test suite.
    I then followed steps given in guide to run the test suite. On running the command
    "% source ../test/test.tcl", following error occurs.
    % source ../test/test.tcl
    couldn't load file ".libs/libdb_tcl-4.6.so": .libs/libdb_tcl-4.6.so: ELF file OS ABI invalid
    Could you please help me on this?
    Thanks
    Aman

    I have compiled tcl8.5 and run some simple tests using Berkeley DB, and it appears that Berkeley DB is fine with tcl8.5 (as well as tcl8.4).
    Searching for the error "ELF file OS ABI invalid" it seems to arise when people mix binaries from different platforms, for example attempting to use a Linux binary on a FreeBSD platform. Did you compile Tcl8.5 on the same platform you used for compiling Berkeley DB?
    Regards,
    Carol

  • SYST: Date 00.00.0000 not expected - error while running DTP.

    I had a red alert in a process chain , the message showed TRASFORMATION IS INACTIVE , When I tried after activating  DTP manually again gives the same error, atlast I ran the ACTIVE ALL routine again it shows the same message . It also shows SYST: Date 00.00.0000 not expected error.
    Can anyone please help me in this issue?

    This error message is typically associated with trying to populate a field that references 0DATE incorrectly. Check that all of your update routines are syntactically correct and that the data in your source is populated correctly too.
    You should be able to see at which line of the generated transformation program that is failing by looking at any short dumps in ST22 or checking the job log in SM37. Place a breakpoint before this point and run through the load in debug mode to analyse if it is a specific data record or it is the update logic that is causing the error.
    Regards,
    Nick

  • IE 6 crashes while running test form on Windows 2003

    Hello Everyone,
    I have installed oracle application server 10.1.2.0.2 (forms and reports component) successfully on windows server 2003 SP2 EE.
    But whenever i tried to access test form on Server via IE 6 or Mozilla, my IE window gets disappear (crashed).
    I have tried all possible solution for the same.
    But itz not work form me, i can access EM console i can see reports jobs but not Test form.
    Kindly let me know the possible solution for the same,
    Note : i think some java processes are blocking while accessing form, m not able access JInitiator console 2...
    kindly help..

    Hi,
    Try disabling all ur add ons from ur IE browser,
    and even try these steps
    Tools – Internet Options – Advanced – Browsing — uncheck ‘Enable third-party browser extensions’
    The below link will also help you a bit,
    http://sathyabh.at/2009/06/27/fixing-internet-explorer-crash-on-launching-oracle-forms-application-with-jinitiator/
    http://www.oratransplant.nl/2007/01/04/oracle-forms-and-sun-jvm-16/
    Regards,
    fabian
    Edited by: Fabian on Nov 29, 2010 1:35 AM

  • Filtering data based on Z field in BUT000 while running CRMM_BUP_SEND.

    We have a Z field in BUT000. So while executing CRMM_BUPA_SEND i want to filter the data in BDOCs
    ( BUPA_MAIN and BUPA_REL ) based on this Z Field in BUT000.Can you guys provide your inputs?

    HI Jerin,
    Since you want to change the data during the Middleware data exchange, You can enhance the Middleware flow using custom FM in table CRMC_BUT_CALL_FU (can be accessed through Tcode CRMC_BUT_CALL_FU).
    You can use a relevant FM, for example:
    BPOUT     BUPA     1000000     BUPA_OUTBOUND_MAIN
    Now copy the FM & create a custom FM (you jsut need the interface parameters and not the actual source code). Inside this FM , you will get all the required data and you can even change it .
    So, you can do your custom code here.
    To put this FM in the flow, you will have to create an entry in the table
    For example:
    BPOUT     BUPA     999999     ZZ_BUPA_OUTBOUND_MAIN
    So, your custom FM will be executed before the standard one and all your custom code will get executed.
    Hope this helps. Revert if you want more detailed explanation.
    Reward points if this helps
    Regards,
    Alin

Maybe you are looking for

  • No sound at all - "THotkey message: Audio device is not supported"

    Device Manager lists: Legacy Audio Driver and says the device is working properly. Yet I have no sound,  and I have troubleshooted from almost every angle - even tried to download a new driver (RealTek) and still nothing. My laptop is a Toshiba Satel

  • Recording audio from my old tapes!

    A request from all Mac users: Dear friends I need to record my old tapes to my computer and I am not familiar with sound/audio applications and the process itself. Could someone be kind and guide me as to which application should I use and perhaps ho

  • Ipod and itunes connection

    major problem: my ipod dosent seem to be syncing some certain apps. (and only those certain apps yet it sync music, movies, podcasts and music videos)Also only the apps that i have purchased form the itunes are not syncing. it keeps on saying eg: The

  • BI in ECC6.0

    Hello Everybody, I searched and read lots of posts and documentation but still cannot understand which pros I will get in using BI functionality directly in ECC6.0 (apart of hardware saving); we would like to use this version of BI for transactional

  • Accounting View

    Dear Sap Guru, In MM01 I have maintained the accounting view for Valuation class FERT. but by mistake in the price control maintained Moving average instead of Standard Price My question is that due to this reason the bill is not made Is it true. Ple