Apex Testing Strategy

Folks,
We are looking for some help defining best practice for testing APEX applications.
Any pre-written strategy documents available? All and any input much appreciated.
Thanks
Andy

Hey Tulley
Any particular class of testing?
e.g. Scalability, Performance, Database Objects & Logic, Functional, Security?
If your answer is 'all of the above', I'd document each of these categories individually as the first step of your 'best practise.'
Within each, there's likely to be a bunch of techniques you can use and a bunch of relevant commercial and open source tools that'll save you some time applying these techniques, for instance, LoadRunner for Scalability & Performance and utPLSQL for PL/SQL unit testing.
That's how I'd write a best practice document anyway. I'm afraid I'm not aware of anything that's already been written.
Rgds
Ben

Similar Messages

  • Testing strategy after legal merge of two company codes

    Hi All,
    This is my first integration project. Please help me out with my query:
    My company is going through a merger and we have merged two company codes.
    for e.g. company code 1 is in ABC company and company code 2 is in XYZ company. ABC is buying XYZ company. This means that company code 1 will remain and company code 2 will merge into company code 1. They are going to bring in the open line item AR/AP data from company code 2 into company code 1.
    Any of you guys who have worked on an integration project before please guide me to some documents online or state some kind of testing strategy to adopt to test after the legal merge has taken place. I am mostly looking for a strategy to test intercompany process.
    Thanks,
    MS

    Hi
    There are lot of issues that you need to take care of:
    1. is there any relation bwteeen the two company codes before merger. have they done any transactions between them? If yes, what wewould be the accounting treatment for the same. Would it be transferred at cost or Cost+Price (Transfer Price)
    2. If you are in India, there would be effects of taxation like excise and vat calculations
    3. One of the most important issue, is that of the new fiscal year. What strategy would you follow for the merged entity? In Sap, changing a fiscal year is a critical issue. Request you to refer SAP Help for the same. There are notes available for the same
    4. What would be the strategy for Asset valuations? Are there different asset valuation procedures followed in the two company codes?
    Thanks & regards
    Sanil K Bhandari

  • BW testing strategy

    Hi All,
    I have requirement to create a BW testing strategy for any CRs received.
    It has to cover general step by step procedure to be followed to test and document all the tests conducted on changes made in BW.
    As a QA team lead, I have to prepare this plan to be followed further.
    We work on BW 3.5 and use Mercury Quality center.
    I am struck with how and where to start this.Please provide me with any test templates or general guidelines for testing.
    Your help would be appreciated and rewarded with points.
    Thanks in advance
    Pavan

    Hi,
    We have not used any tool like Mercury Quality center for testing. In our case we created some test scripts and based on that we proceeded further.
    I will give you some standard tests we have to do in Quality.
    All the testing is done in quality before moving into Prod.
    Testing like Integration and unit testing are done in quality.
    You need to test if the extractions are working fine, data is getting loaded into targets, post load activities like activation, rollup, compression etc are successfull etc.
    We test the PC chains also in Quality.
    We schedule / trigger the chains and monitor them. We ensure that all the process types are happening successfully.
    One major area we concentrate on is to identify dependcies in the chain. This will ensure less erros and also reduce chain timings by a great extend. Dependencies should be kept to a minimum whereever possible.
    Also in cases where we use events/third party shceduling tools to trigger BW chains we check that out.
    Executing reports to check the definitions are correct.
    The volume of data will be lesser in Quality compared to Prod.
    Also activities like Change runs,Deletion , Selective deletion etc are done.
    Almost all the activites in Prod are done in Quality.
    Refer.
    Re: Quality System
    Re: bw developer_unit_integration_testing
    Integration Testing
    http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm
    integration testing
    SAP testing
    SAP Testing
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e5d8d390-0201-0010-e284-e418e3f0e150
    Can any one explain about the SAP Testing process in Implementation Project
    BI 7.0 Testcases
    /thread/796460 [original link is broken]
    Hope this helps.
    Thanks,
    JituK

  • Generic testing Strategy in ODI

    Can somebody help me with any document related to generic testing strategy in ODI?

    Hi ,
    ODI provide the option to export / import ODI object in form of XML file. So , You can partial export some object that you want then import to the production env. As my exp , Sometime it has some issue about internal object ID link that make a ruin to the repository on the production. Because all the object in ODI was linked together with "Internal ID" that related between object.
    With this method , you cannot track what's the different between prod and dev environment until you create a version of that object and use compare version utilty in designer.
    Hope this help ,
    Somchai

  • Testing Strategy

    Hi,
    I'd like to know the best practices while preparing a test strategy document for CRM-OD. I have done it for Siebel but i understand in OD it should be quite simpler. Any comments/ documents which could be shared please.
    Thanks,
    Smita

    Smita, click on the Training and Support link in the upper right, then enter "Rollout Center" in the Search. This gives a step by step plan including testing for your CRM On Demand implementation.

  • Testing Strategy HCM

    Hi All,
    Im preparing Testing Strategy Document.To Enchace that i need some document related to Testing Strategy.Can anybody send me template or document related to this.
    with regards,
    satish

    Hi,
    Go through this link.
    http://help.sap.com/saphelp_sm40/helpdata/en/f4/3f9ef359a711d1bc84080009b4534c/frameset.htm

  • SAP BW on HANA test strategy

    All,
    Can someone guide me the best practices test scenarios for a Tyipcal BW on HANA projects ?.
    I need some information like why do we need to testing ?
    How does it help executing testing for BW on HANA ?
    What are the test scenarios ?
    Thanks,
    HA

    Hi HA,
    you may want to take a look at this nice document:
    Automatic Test of Queries with RS Trace Tool
    - Lars

  • Where is "httpd.conf" file in Apex 3.2 w/ embedded PL/SQL gateway (in 11g)?

    Hi,
    I need to config the file to direct the standard ApEx URL (ie: http://xxx.x.x.x:8080/apex/f?p=108:1) to a nicer URL (ie: http://xxx.x.x.x:8080/apex/test.html, for example) to the end users. I believe the file should be located in something like $ORCLE_HOME/Apache/Apache/conf in the Oracle HTTP Server Apache web server version. However, it's NOT in the Embedded PL/SQL Gateway version.
    Any idea?
    Thanks much,
    Helen

    I don't think that you could do this using the native embedded gateway. Since it is not actually running Apache. It is actually running through the XML DB connectors.
    2 options:
    1) Use a front end server as a proxy, or as the mod_plsql gateway
    2) Pretty up your URL's using the application/page aliases: http://xxx.x.x.x:8080/apex/f?p=app:page where app and page have been assigned as application and page aliases resp.
    -Richard

  • Testing Process for Gathering Single Object stats.

    Hello Oracle Experts,
    I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is. And one of such changes which is currently under scrutiny is gathering object stats for single objects. Just to give you a background its an Oracle eBusiness site so fnd_stats is used instead of usual dbms_stats and we've an inhouse job that depending on the staleness of the objects gather stats on them using FND_STATS. (RDBMS : 10.2.0.4 Apps Release 12i).
    Now, we've seen that occasionally it leaves some of the objects that should ideally be gathered so they need to be gathered individually and our senior technical management wants a process around it - for gathering this single object stats (I know!). I think I need to explicitly mention here that this need to gather stale object stats has emerged becs one of the plans has gone pretty poor (from 2 ms to 90 mins) and sql tuning task states that stats are stale and in our PROD copy env (where the issue exists) gathering stats reverts to original good plan! So we are not gathering just because they are stale but instead because that staleness is actually causing a realtime problem!
    Anyway, my point is that it has been gathered multiple times in the past on that object and also it might get gathered anytime by that automatic job (run nightly). There arguments are:
    i. There may be several hundred sql plans depending on that object and we never know how many, and to what, those plan change and it can change for worse causing unexpected issues in the service!
    ii. There may be related objects whose objects have gone stale as well (for example sales and inventory tables both see related amount of changes on column stock_level) and if we gather stats only on one of them and since those 2 cud be highly related (in queries etc.) that may mess up the join cardinality etc. messing up the plans etc.
    Now, you see they know Oracle as well !
    My Oracle (and optimizer knowledge) clearly suggests me that these arguments are baseless BUT want to keep an open mind. So my questions are :
    i. Do the risks highlighted above stand any ground or what probably do you think is there of happening any of the above?
    ii. Any other point that I can make to convince the management.
    iii. Or if those guys are right, Do you guys use or recommend any testing strategy/process that you can suggest to us pls?
    Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.
    In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
    Thanks so much in advance!

    >
    I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is.
    Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.Unfortunately your management's opinion of their system as expressed in the first paragraph is not consistent with the opinion expressed in the second paragraph.
    Getting a stable strategy for statistics is not easy, requires careful analysis, and takes a lot of effort for complex systems.
    >
    In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
    The ideal with stats collection is to do something simple to start with, and then build on the complex bits that are needed - something along the lines suggested by Dan Morgan works: a table driven approach to deal with the special cases which are usually: the extreme indexes, the flag columns, the time-based/sequential columns, the occasional histogram, and new partitions. Unfortunately you can't get from where you are to where you need to be without some risk (after all, you don't know which bits of your current strategy are causing problems).
    You may have to progress by letting mistakes happen - in other words, when some very bad plans show up, work out WHY they were bad (missing histogram, excess histogram, out of date high values) to work out the minimum necessary fix. Put a defensive measure in place (add it to the table of special cases) and run with it.
    As a direction to aim at - I avoid histograms unless really necessary, I like introducing function-based indexes where possible, and I'm perfectly happy to write small programs to fix columns stats (low/high/distinct) or index stats (clustering_factor/blevel/distinct_keys) and create static histograms.
    Remember that Oracle saves old statistics when you create new ones, so any new stats that cause problems can be reversed out very promptly.
    Regards
    Jonathan Lewis

  • Large and Complex Applicaton development process in Apex

    Hi,
    Apex can scale well in terms of Data size, number of users etc. We are trying to decide if Apex is suitable for our next large and complex application (Large and complex in terms of quantity and efforts of work and business logic). We have already identified that Apex can handle complexity of our transaction/business logic management. My question is about scaling application development process in Apex. I am curious to know about what other people are doing with Apex in terms of:
    * What is the largest Number of Pages, Forms, Reports etc. within a single application one has developed
    * Assuming with so many pages (objects) to be developed, more than one developers must have worked on the project and the project is divided into multiple phases release. What was/is the max number of developers in your project?
    * Did you run into "Code Conflct" issues for Apex Shared Objects when multiple people had to work on them? How did you manage it and merge the changes?
    * How did you identify, track and manage changes in Apex objects between various project phases and between various environments (DEV, TEST, UAT, PROD).
    * What else you would like to add (in terms of development life cycle only) to my thoughts above that we need to consider while choosing Apex for our next project.
    * Based on your experience would you recommend Apex for our large and complex application?
    Many thanks in advance for your responses.
    Paresh (yparesh at gmail dot com)

    Hi Przemek, Jerry and Roel,
    Thanks to all of you for your helpful responses. If we follow best practices mentioned like trying to centralize code in Page 0, db packages/procedures, JS libs shared components (especially "Shared App" having Shared components between multiple apps) we can minimize code management efforts and use existing technologies to identify, merge, promote code changes. This still leaves with some code and changes that will localized to individual pages (and we still need to manage page 0 and Shared object code changes. I will explain what I am trying to say with an example below about managing changes in a page.
    Przemek, and Jerry,
    How are you identifying, managing and promoting changes between applications environments say TEST to PROD. For example we have 2 separate dbs (and hence workspaces) to host Apex TEST and Apex PROD environment. If I have modified page 15 in TEST and now need to promote changes made to page 15 (deltas) to PROD how do I compare and identify the deltas? Apex can not migrate the whole page across apps in different workspaces and even if Apex can I don't think it is a good idea to overwrite page 15 in PROD with page 15 in TEST unless we can compare them, identify the deltas and make sure the changes are what we intended to promote. Exporting pages and comparing using a text editor is time consuming because of various ids and the way New Line characters can get embedded in page export. Logic that the TEST env should have identical copy of prod due to a refresh before promoting changes from DEV won't help because then whole of above will apply between DEV and TEST (albeit with little less risk as the target is TEST and hopefully any unintended changes will be caught during testing).
    Apex 3.1 has Apex Applications Compare facility? If you have used it, what is your take on it? I think it is too basic but a good start. Won't it be good if there was a nice full fledged compare tool for Apex objects?
    Thanks
    Paresh

  • Testing (all_rows/first_rows)

    What is the best optimiser mode to use, all rows or first rows... in the following scenario..
    Experimental testing of a new (Relativley small) Database before it is rolled out.... testing where indexes can improve performance generally (no specific bottle knecks known)
    Im under the impression that first rows shouwl only be used when a query can be singled out that takes a relativley long time to run, where as in the situation where we are testing a database , or optimising it in general then all rows would be a better testing strategy?
    Any comments? (other than use both)

    An excellent discussion (with lots of real life examples) on the topic can be found in the following thread...
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:3310002340673
    vr,
    Sudhakar B.

  • Apex application connecting to more than one instance

    My company is in evalutation mode. We currently have a Forms and Reports 10g application (using Oracle Application Server 10g...) that allows access to multiple databases that have the same schemas repeated in each, i.e. production, test, etc. The schemas hold the same database objects whether they are in production, test or another instance.
    If we migrate the application to APEX, would we have to have the application repeated in each instance or can we have it in one and rely on the database tnsnames.ora file to allow the applicaiton to access the data in that other instance? Or is there another way to be able to keep the application in APEX, in one instance and still allow users to connect to the other databases?
    Thank you for your help.
    Stacey

    Stacey,
    When you install Apex in a db instance it creates two schemas. apex_030200 & flows_files.
    The apex_030200 schema is the core of apex it contains the files needed to make the app builder, sql workshop, and everything else you use to build an app. It also contains any and all apps built within apex as well by the developer.
    Flows_files contains any uploaded files that a developer might upload and want to use.
    From their you create a workspace to develop your apps in. You then associate that workspace with one or more schemas on that instance. (It can create the schema or you can use one that already exists) This is your user data
    Here is info on the what a workspace is:
    Workspace: (From User Guide documentation page 26) http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838.pdf
    Oracle Application Express enables a single database to host large numbers of users.
    Users work in a dedicated work area called a workspace. A workspace is a virtual
    private database that enables multiple users to work within the same Oracle
    Application Express installation while keeping their objects, data and applications
    private. This flexible architecture enables a single database instance to manage
    thousands of applications.
    My suggest would be as what some others have said:
    1) Install apex on every instance you want to use
    2) Develop your apps on one instance and then export/import the app to the other instances just as you would do with any other software development system.
    3) Within the HTTP Server that channels the HTTP requests to the db you can modify the dads.conf file for your apps and use something like:
    <Location mycompany.com/apex/test/
    <Location mycompany.com/apex/dev/
    Within each of these you point to the proper db via a connect string.
    By doing this method here you would be using just ONE http server to host out many different environments across an unlimited number of instances, maybe this is what you were trying to get across in your message, maybe not.
    Hope this helps,
    Justin

  • Weblogic stress test

    Hi,
    I have a forms 11g applications that have been installed on an HP ProLiant DL360 G7 (64GB)
    with Oracle Weblogic 1.0.3.3 64 Bit / Oracle Fusion Middleware 11.1.1.3 64 Bit(RHEL 5.5 64-Bit).
    I guess the machine is not bad for 300-400 concurrent users.
    Some tests have been done by few users (10-20), and all works fine so far.
    We are planing to do 1-2 hours tests with more users , around 100.
    Could someone give some advices about which checks should be done or what should be monitored during the tests ?
    any ideas are welcome.
    Best Regards
    Frane

    Hi Frane,
    The list is quite long but finds below the most critical performance items you should monitor during your load test exercise:
    ## Physical server and OS related
    -     CPU utilization
    -     Physical memory
    -     Disk performance and paging activity
    -     Java process memory size of your 64-bit VM (also important to monitor C Heap size of your Java process, check for any native memory leak over time etc.) and look at your physical RAM requirement per Java process under peak load
    ## JRE
    -     Java Heap utilization / footprint
    -     PermGen space utilization / footprint (if using HotSpot VM)
    -     Native memory / C Heap utilization (monitoring technique will depend of your OS)
    -     Garbage collection performance/elapsed time/frequency etc.
    ## Weblogic side
    -     Threads utilization
    -     JDBC Data Source utilization and leak verification (if applicable)
    -     HttpSession utilization (if applicable)
    -     EJB/MDB pool bean utilization (if applicable)
    -     JMS queue utilization (if applicable)
    - Cluster performance e.g. look for any packet loss etc. (if applicable)
    -     Socket / File Descriptor utilization (via netstat / lsof commands)
    ## Other recommendations
    -     A few Thread Dump snapshots should be captured during peak load and analysed; especially if high thread utilization is observed
    -     Heap Dump could be generated before, during and after load test in order to understand your application Java Heap footprint and ensure no leak
    -     If using Oracle database, AWR reports should be generated during your load test and investigate any SQL contention / tuning opportunity such as sub optimal execution plan, lack of proper indexes etc.
    - Negative testing should be added for 1 or 2 load testing cycles in order to simulate TX slowdown and physical downtime of one or many of your downstream system should be done along with timeout validation (ensure no infinite hanging Thread and domino effect)
    On top of this, you should track your application business response time and compare between each cycle.
    Your load testing strategy should include an initial run to capture a baseline, each tuning or change applied should be then compared to your initial baseline in order to validate any improvement or degradation of any performance figure.
    Regards,
    P-H
    http://javaeesupportpatterns.blogspot.com/

  • Oracle  9.2.0.1.0 to 10g Upgradation testing

    Hi All,
    We are upgrading our database from Oracle 9i to 10g.
    Our development environment is Ascential Datastage ETL Tool
    Our project has been already developed by some other team and now only database up gradation is happening.
    Need some clarifications and solutions
    1)     How we can get to know all these objects are properly upgraded
    2)     What can be the best testing strategy for testing all these database objects like tables, functions, procedures , views, sequences etc. If any similar document has been prepared by any of the projects, please send to my mail id
    3)     Is there anything we need to do change in any of the objects to make compatible with 10g. like any functions that has to be replaced or datatype mismatching etc …..
    4)     The type of testing needs to be done for different database objects.

    Anyone familiar with the way English is spoken in America, excluding one small enclave in North Carolina perhaps, should understand a couple of things:
    1. I understand a bit of Hindi so I understood some of the background conversation while on the phone with the spammers.
    2. The individuals speaking to me were as dumb as a bag of hammers.
    Now according to Wikipedia the planet has about 370 million people who speak Hindi as a first language and another 580 who speak it as a second language. 950 million people minus two seems a reasonable ratio.
    Anyone looking too hard to find an insult can likely find it looking at their own reflection in the mirror. Grow up and get over it folks.
    BTW: Don ... you are the one that referred people to your website claiming it contained the list that you use. Taking you at face value it appears that your list does not include doing a backup. Perhaps you are so expert in the practice that you "understand" that but if you are going to refer novices to your site you need to offer them a complete list along with the ubiquitous advertising.
    Anyone wanting my list can get it for free ... here it is:
    1. Read the relevant Oracle documents
    2. Go to metalink and research any problems others have had with the procedure
    3. Create an RDA, zip it, and have it ready to upload to metalink
    4. Perform a level 0 backup using RMAN
    5. Verify the backup is valid and can be used for a restore
    6. Start flashback logging if not already running
    7. Create a guaranteed restore point
    8. Follow the directions at Step 1 except as modified by docs read in Step 2.
    Not one of those steps is in your list Don? And, quite frankly, I think people would be ill-advised to consider steps on what to do for "SLOW PERFORMANCE AFTER UPGRADE" any guidance on performing the upgrade itself.
    But heck ... anytime you can send people to a page full of advertisements why miss the chance.
    People interested in tuning would be well advised to go to one of these URLs:
    http://www.jlcomp.demon.co.uk/faq/ind_faq.html#Performance_and_Tuning
    http://www.hotsos.com/oop.html

  • SAP Testing for BI Lifecycle

    Hi,
    Could you guide me to SAP BI Testing Strategy and Approaches.
    Regards
    Satish Talikota

    Hi
    Unit Testing: In this we do all the technical tests like testing the data flow, logic in transformation, data loads, query properties etc
    Integration Testing: In this we perform the function test to check that query is giving output which is functionally correct.
    Regression Testing: If we are making changes to existing flow and query, it this testing one would like to test that no existing functionality has changed because of newly added changes.
    Performance Testing: sometimes we write ABAP code in transformations, under this cap you may like to test the data load performance. If data load is taking a long time, you may want to optimize the code and check the performance again.
    Authorization Test: in this you would like to test all the roles have been set up properly and data level access is also working fine at query level.
    Please check the below,
    https://scn.sap.com/docs/DOC-28811
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60981d00-ca87-2910-fdb8-d4a2640d69d4?quicklink=index&overridelayout=true
    Note:Try to Search in the forum before Pasting Thread
    Regards
    NK

Maybe you are looking for

  • Problem in Rejecting the purchase order release workflow

    Hai Friends ,               I did the purchase order workflow. it will working fine. when a approver refused the release, the intimation need to send to the previous approvers as well as po creator.  but there is no method available in the bus2012 fo

  • Corrupt Sound?

    I have a Powermac G5 Dual 2.0 GHZ (single layer dvd drive model) that has been having problems with the sound. For some reason, BOTH the external and internal speakers are affected by this problem If I play a song in Itunes for instance, the song pla

  • Extensions for "State" and "Country"

    At one time I thought I saw free extensions or snippets for drop down boxes to be used in input forms, but cannot find them now. I am looking for drop down boxes for US states and one for countries. I could always type them in by hand, but it would b

  • ALV  issue - capturing user changes in editable fields using custom button?

    Hi, I created a custom button in ALV tool bar.   And also in my ALV grid I have couple of fields Editable option. User can change values for these 2 fields. My question is - After changing values for these editable fields(more than 1 record)  , user

  • SPOOL function help

    Hi, I have a file upload2.sql that contains sql exec procedures, something like this: WHENEVER SQLERROR exit 1; SPOOL D:\STARS\Download\SQL\upload2.log exec DUP_ADDR_CHECK; exec PopulateBulletAddr; exec PopulateSurveyAcct; exec BUILD_CALL_REC_DL; and