Very imp testing
what does it mean by regression testing.
Hi,
Regression testing means rerunning test cases from existing test suites to build confidence that software changes have no unintended side-effects. The u201Cidealu201D process would be to create an extensive test suite and run it after each and every change. Unfortunately, for many projects this is just impossible because test suites are too large, because changes come in too fast, because humans are in the testing loop, because scarce, highly in-demand simulation laboratories are needed, or because testing must be done on many different hardware and OS platforms.
Researchers have tried to make regression testing more effective and efficient by developing regression test selection (RTS) techniques, but many problem remain, such as:
Unpredictable performance. RTS techniques sometimes save time and money, but they sometimes select most or all of the original test cases. Thus, developers using RTS techniques can find themselves worse off for having done so.
Incompatible process assumptions. Testing time is often limited (e.g., must be done overnight). RTS techniques do not consider such constraints and, therefore, can and do select more test cases than can be run.
Inappropriate evaluation models. RTS techniques try to maximize average regression testing performance rather than optimize aggregate performance over many testing sessions. However, companies that test frequently might accept less effective, but cheaper individual testing sessions if the system would, nonetheless, be well-tested over some short period of time.
Some strategies and factors to consider during this process include the following:
Test fixed bugs promptly. The programmer might have handled the symptoms but not have gotten to the underlying cause.
Watch for side effects of fixes. The bug itself might be fixed but the fix might create other bugs.
Write a regression test for each bug fixed.
If two or more tests are similar, determine which is less effective and get rid of it.
Identify tests that the program consistently passes and archive them.
Focus on functional issues, not those related to design.
Make changes (small and large) to data and find any resulting corruption.
Trace the effects of the changes on program memory.
Also see http://en.wikipedia.org/wiki/Regression_testing
Thanks & Regards,
raju
Similar Messages
-
Where to find Very Nice Test Front Panel?
I don't have too many experience in LabView (just a couple of years) but I already did many complex test programs. All my proyect has a very simple front panel using just the labView graphics.
Now I want to change my front panels. Where I can find another type of front panels? maybe you can send me your examples or we can do a data base of the beter front panels.
Thank you every body
See one of my Test Front panel attached
Luis...
Attachments:
front panel.PNG 117 KBYou can search the web for GUI design. I don't have the bookmarks at hand at the moment. Maybe I did find the links on LAVA... One of them was called 'Interface Hall of Shame' for a collection of historical misconcepts. The book by Blume has also a chapter on FP design.
Anyhow, very independent of LV this is a big issue discussed in different flavours (psychological, engineering, software/computer sience, testing).
The other kind of experience is just look at other SW you are using (media player, office, your OS -> and Linux flavours!, web pages, traditional stand alone instruments ...).
This is an open subject, so you won't find a solution but you will benefit from reading a certain amount of stuff about it.
Felix
www.aescusoft.de
My latest community nugget on producer/consumer design
My current blog: A journey through uml -
PAYMENT ADVICE --- Very Imp and Very Urgent
Hi experts
We have and incoming EDI 820 coming from bank. We convert this EDI 820 to IDOC and generate an PAYMENT ADVICE.
Once the Payment advice is generated, how to clear the open customer invoices.
Please let me know the tcode for Automatic clearing of Payment advice ?
Please let me know the configuration part inorder to do to clear the customer open items using the PAYMENT ADVICE.
Please consider this as very important. Help in this regard is highly highly appreciated and rewarded with points immediately.
Thanks
RajanikanthHi experts
I have a problem with EDI and IDOC.
We have an incoming EDI 820 coming from bank. We convert this EDI 820 to an IDOC and generate a PAYMENT ADVICE.
Once the Payment advice is generated, I need to know how to clear the open customer invoices using the payment advice.
Please let me know the tcode for Automatic clearing using Payment advice ?
Please let me know the configuration part inorder to clear the customer open items using the PAYMENT ADVICE.
Please consider this as very important. Help in this regard is highly highly appreciated and rewarded with points immediately.
Thanks
Rajanikanth -
Oracle table insertion is very slow - Very Imp
I have a oracle 9i db installed on Windows 2000 Adv. Server. Server is single processor ,2GB RAM.
and I have a table is have one long raw field & 4 other fields. It contails 10k records. and table is indexed.
I have an application is VB using ADOs I connected to Oracle db. I am saving binary file to long raw field. For me retreival is very fast and when i am inserting the record it is very slow. It is taking 4min for one record.
Please help me to solve this issueIs it possible for your capture the execution plan, as well as session wait events?
If you have buffer busy waits, and not using ASSM (Automatic Segemtn Storage Management), playing with free list also helps.
Jaffar -
"PSA error" and "error 6 in the update" ...VERY IMP!!
Hi All,
I am facing this very strange and critical problem.
Delta load failed due to "PSA error" and "error 6 in the update" for two Infosources.
The Infosource 1 ( Header)- I was able to successfully edit the PSA error and update the delta from the PSA to the ODS....problem solved
The Infosource 2 ( Item ) - The delta for this request is sent to from this Infosource to ODS's .It is allowing me to edit the PSA data and save it. But even after editing and saving, when I am updating the delta to the ODS the request goes red. When I see the reason, I find the same "error in the PSA "and the" Error 6 int he Update". Looks like the edited data is not getting saved.
The error in PSA was ..date was wrongly entered with wrong year in it. So therefore it clashes witht he fiscal yr variant for that infosource.
Tried to do repeat delta for the next delta. Same issue.
__1. No clue why the edited data is not getting saved__
__*2. What is this " error 6 in the Update"*_
In the Status tab of monitor of that request:_
Error message when processing in the Business Warehouse
Diagnosis
An error occurred in the SAP BW when processing the data. The error is documented in an error message.
System response
A caller 01, 02 or equal to or greater than 20 contains an error meesage.
Further analysis:
The error message(s) was (were) sent by:
Update rules
Update rules
Second step in the update
Procedure
Check the error message (pushbutton below the text).
Select the message in the message dialog box, and look at the long text for further information.
Follow the instructions in the message.
Please provide a solution. Very critical and important issue.I got the same PSA error for another Header Infosource which updates data to one ODS, for which i could edit the data and then update the edited data into the ODS. The changes i have done are saved and had no issue with the infosource. and the load is successful.
But for this Item Infosource ( updates data to two ODS) , i got the same PSA error( Date entered worng) , i was able to edit the data in the PSA and save. but after editing and saving when i update teh request( after editing PSA) the request goes RED ( which means the i get the old values..wrong data).
Why am I not able see the changes i have done when i update the delta from PSA to ODS after editing?....really strange.
Is there any problem in the update rules or something for this Infosource( not sure)..becos i am gettng this "error 6" in the Update.
Please Rescue! -
Very very imp question plz......reply atleast one step
<b>plz tell me the statements which will be burdon for the databaSe</b>..and to over come tha which statements we should use...fro example INSTEAD OF INNER JOINS WE USE FOR ALL ENTRIES TO UTILIZE DATABASE MUCH MORE EFFECIENTLY PLZ REPLY MY QUESTION WITH GREAT HEART THANK U
Hi,
Performance tuning for Data Selection Statement
For all entries
The for all entries creates a where clause, where all the entries in the driver table are combined with OR. If the number of
entries in the driver table is larger than rsdb/max_blocking_factor, several similar SQL statements are executed to limit the
length of the WHERE clause.
The plus
Large amount of data
Mixing processing and reading of data
Fast internal reprocessing of data
Fast
The Minus
Difficult to program/understand
Memory could be critical (use FREE or PACKAGE size)
Some steps that might make FOR ALL ENTRIES more efficient:
Removing duplicates from the the driver table
Sorting the driver table
If possible, convert the data in the driver table to ranges so a BETWEEN statement is used instead of and OR statement:
FOR ALL ENTRIES IN i_tab
WHERE mykey >= i_tab-low and
mykey <= i_tab-high.
Nested selects
The plus:
Small amount of data
Mixing processing and reading of data
Easy to code - and understand
The minus:
Large amount of data
when mixed processing isnt needed
Performance killer no. 1
Select using JOINS
The plus
Very large amount of data
Similar to Nested selects - when the accesses are planned by the programmer
In some cases the fastest
Not so memory critical
The minus
Very difficult to program/understand
Mixing processing and reading of data not possible
Use the selection criteria
SELECT * FROM SBOOK.
CHECK: SBOOK-CARRID = 'LH' AND
SBOOK-CONNID = '0400'.
ENDSELECT.
SELECT * FROM SBOOK
WHERE CARRID = 'LH' AND
CONNID = '0400'.
ENDSELECT.
Use the aggregated functions
C4A = '000'.
SELECT * FROM T100
WHERE SPRSL = 'D' AND
ARBGB = '00'.
CHECK: T100-MSGNR > C4A.
C4A = T100-MSGNR.
ENDSELECT.
SELECT MAX( MSGNR ) FROM T100 INTO C4A
WHERE SPRSL = 'D' AND
ARBGB = '00'.
Select with view
SELECT * FROM DD01L
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
SELECT SINGLE * FROM DD01T
WHERE DOMNAME = DD01L-DOMNAME
AND AS4LOCAL = 'A'
AND AS4VERS = DD01L-AS4VERS
AND DDLANGUAGE = SY-LANGU.
ENDSELECT.
SELECT * FROM DD01V
WHERE DOMNAME LIKE 'CHAR%'
AND DDLANGUAGE = SY-LANGU.
ENDSELECT.
Select with index support
SELECT * FROM T100
WHERE ARBGB = '00'
AND MSGNR = '999'.
ENDSELECT.
SELECT * FROM T002.
SELECT * FROM T100
WHERE SPRSL = T002-SPRAS
AND ARBGB = '00'
AND MSGNR = '999'.
ENDSELECT.
ENDSELECT.
Select Into table
REFRESH X006.
SELECT * FROM T006 INTO X006.
APPEND X006.
ENDSELECT
SELECT * FROM T006 INTO TABLE X006.
Select with selection list
SELECT * FROM DD01L
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
ENDSELECT
SELECT DOMNAME FROM DD01L
INTO DD01L-DOMNAME
WHERE DOMNAME LIKE 'CHAR%'
AND AS4LOCAL = 'A'.
ENDSELECT
Key access to multiple lines
LOOP AT TAB.
CHECK TAB-K = KVAL.
ENDLOOP.
LOOP AT TAB WHERE K = KVAL.
ENDLOOP.
Copying internal tables
REFRESH TAB_DEST.
LOOP AT TAB_SRC INTO TAB_DEST.
APPEND TAB_DEST.
ENDLOOP.
TAB_DEST[] = TAB_SRC[].
Modifying a set of lines
LOOP AT TAB.
IF TAB-FLAG IS INITIAL.
TAB-FLAG = 'X'.
ENDIF.
MODIFY TAB.
ENDLOOP.
TAB-FLAG = 'X'.
MODIFY TAB TRANSPORTING FLAG
WHERE FLAG IS INITIAL.
Deleting a sequence of lines
DO 101 TIMES.
DELETE TAB_DEST INDEX 450.
ENDDO.
DELETE TAB_DEST FROM 450 TO 550.
Linear search vs. binary
READ TABLE TAB WITH KEY K = 'X'.
READ TABLE TAB WITH KEY K = 'X' BINARY SEARCH.
Comparison of internal tables
DESCRIBE TABLE: TAB1 LINES L1,
TAB2 LINES L2.
IF L1 <> L2.
TAB_DIFFERENT = 'X'.
ELSE.
TAB_DIFFERENT = SPACE.
LOOP AT TAB1.
READ TABLE TAB2 INDEX SY-TABIX.
IF TAB1 <> TAB2.
TAB_DIFFERENT = 'X'. EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF TAB_DIFFERENT = SPACE.
ENDIF.
IF TAB1[] = TAB2[].
ENDIF.
Modify selected components
LOOP AT TAB.
TAB-DATE = SY-DATUM.
MODIFY TAB.
ENDLOOP.
WA-DATE = SY-DATUM.
LOOP AT TAB.
MODIFY TAB FROM WA TRANSPORTING DATE.
ENDLOOP.
Appending two internal tables
LOOP AT TAB_SRC.
APPEND TAB_SRC TO TAB_DEST.
ENDLOOP
APPEND LINES OF TAB_SRC TO TAB_DEST.
Deleting a set of lines
LOOP AT TAB_DEST WHERE K = KVAL.
DELETE TAB_DEST.
ENDLOOP
DELETE TAB_DEST WHERE K = KVAL.
Tools available in SAP to pin-point a performance problem
The runtime analysis (SE30)
SQL Trace (ST05)
Tips and Tricks tool
The performance database
Optimizing the load of the database
Using table buffering
Using buffered tables improves the performance considerably. Note that in some cases a stament can not be used with a buffered table, so when using these staments the buffer will be bypassed. These staments are:
Select DISTINCT
ORDER BY / GROUP BY / HAVING clause
Any WHERE clasuse that contains a subquery or IS NULL expression
JOIN s
A SELECT... FOR UPDATE
If you wnat to explicitly bypass the bufer, use the BYPASS BUFFER addition to the SELECT clause.
Use the ABAP SORT Clause Instead of ORDER BY
The ORDER BY clause is executed on the database server while the ABAP SORT statement is executed on the application server. The datbase server will usually be the bottleneck, so sometimes it is better to move thje sort from the datsbase server to the application server.
If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key statement) but are sorting by another key, it could be better to use the ABAP SORT stament to sort the data in an internal table. Note however that for very large result sets it might not be a feasible solution and you would want to let the datbase server sort it.
Avoid ther SELECT DISTINCT Statement
As with the ORDER BY clause it could be better to avoid using SELECT DISTINCT, if some of the fields are not part of an index. Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, to delete duplciate rows.
Regards,
Kumar. -
HI EXPERTS,
1)iam creating a material with 4 mrp views and i selected automatic reorder point planning with fixed lot size proceedure .while saving the data iam getting a error message which says that i need to maintain forecasting data.so my question is why should i require to maintain forecasting data when iam creating a material with automatic reorderpoint palnning
please answer my queery
2)for non stock materials like milk in canteen
it is understood that the stock is not held in inventory because of immediate consumption but why cant the cost is assigned
u know the price of milk and the quantity u procured and u easily find out the cost of consumption
thank u very much
regards meenaHi,
1. To calculate the automatic reorder point system needs the past consumption data & also the future requirements which will compare the past consumption data .
So for this you need to maintain the Forecasting data also in the Material master.
2. It depends on the material type you select for creation of materials.
As per the standard SAP for non stock items we will not create the accounting & costing view for the material, it will always be the account assigned purchase.
If you want the value also you can maintain the Milk with other material type like HIBE --Operating supplies which is a consumable & can maintain the price in the material master & also can check the consumption values for that.
rgds
gsc -
BADI : Substitution to determine segments based on MCH [VERY VERY IMP]
Hi Guys,
I have to activate a BADI or a Substitution to determine segments based on MCH. Below mentioned are some technical details for BADI. Please try and use BADI; if BADI doesn't work we can use Substitution.
Definition Name: AC_DOCUMENT
Method : CHANGE_INITIAL
Determine segment based on MCH? We will have to determine this using a custom table.
Can any one kindly please help me on this. It's very urgent.
my mail id is [email protected]
I will REWARD points for helpful answers.
Thanks and Regards,
Sundeep.check the reply of ur Same Post .
regards
prabhu -
Hi All,
I need to tune the below query : for few scenarios it is taking 5 min.....*the problem is with the column resources* where i am trying to concatenate the names of the employees
I am using 11g.
I have tried to do with RTRIM(XMLAGG(XMLELEMENT(E,NAME||',')).EXTRACT('//text()'),','
and LISTAGG(NAME, ',') WITHIN GROUP (ORDER BY NAME) but not able to do it.
Can any one help me
Sorry guys cant provide you test data.....
SELECT sr_prj_id,
sr_id,
sr_clnt_id,
sr_desc,
Decode(resources, Chr(10), '-',
resources) resources,
resources,
Decode(Pr_get_sr_status_new_fn(:P119_PRJ_ID, sr_id, sr_delivered_dt,
:P119_TO_DT
status), 'C', 100,
'') "% Done",
NULL "Hrs Billed",
SUM(Nvl(act_hrs, 0)) "Total Hrs",
sr_delivered_dt,
Decode(Pr_get_sr_status_new_fn(:P119_PRJ_ID, sr_id, sr_delivered_dt,
:P119_TO_DT
status), 'W', 'WIP',
'C', 'Completed',
'O', 'Open',
'H', 'On-Hold') status
FROM (SELECT sr_prj_id,
sr_id,
sr_clnt_id,
sr_desc,
act_hrs,
sr_delivered_dt,
Pr_get_sr_status_new_fn(:P119_PRJ_ID, sr_id, sr_delivered_dt,
:P119_TO_DT,
status) status,
(SELECT Substr(MAX(Replace(Sys_connect_by_path(srd_emp_id, '/'),
||Chr(10))
), 2)
names
FROM (SELECT srd_emp_id,
sr_id,
Dense_rank() over (PARTITION BY sr_id ORDER BY
srd_emp_id ) row#
FROM (SELECT srd_emp_id,
sr_id
FROM pr_task_details_v
WHERE sr_prj_id = :P119_PRJ_ID
AND ( ( ( sr_assign_dt BETWEEN
:P119_FROM_DT AND :P119_TO_DT )
OR sr_delivered_dt BETWEEN
:P119_FROM_DT AND :P119_TO_DT
OR sr_assign_dt < :P119_FROM_DT
AND sr_delivered_dt IS NULL )))
WHERE sr_id = a.sr_id
START WITH row# = 1
CONNECT BY PRIOR sr_id = sr_id
AND PRIOR row# = row# - 1) resources
FROM pr_task_details_v a
WHERE a.sr_prj_id = :P119_PRJ_ID
AND ( ( ( a.sr_assign_dt BETWEEN :P119_FROM_DT AND :P119_TO_DT )
OR a.sr_delivered_dt BETWEEN
:P119_FROM_DT AND :P119_TO_DT )
OR a.sr_assign_dt < :P119_FROM_DT
AND a.sr_delivered_dt IS NULL )) b
GROUP BY sr_prj_id,
sr_id,
sr_clnt_id,
sr_desc,
resources,
sr_delivered_dt,
status
ORDER BY 2And not forgetting... HOW TO: Post a SQL statement tuning request - template posting
-
hi experts could u [please expalin me the difference between
uni testing,integration testing,regression testing?
apart from these testing please provide me any other testring u know in sap
thank uUnit testing is done in bit and pieces. Like e.g. in SD standard order cycle; we do have 1-create order, then 2-delivery, then 3-transfer order, then 4-PGI and then 5-Invoice. So we will be testing 1,2,3,4 and 5 seperately alone one by one using test cases and test data. We will not be looking and checking/testing any integration between order and delivery; delivery and TO; TO and PGI and then invoice.
Integration testing: testing the full cycle with it's integration, and you will be testing using test cases which give a full cyclic test from order to invoice.
Regression testing is reffered to a test which verfies that some new configuration doesnot adversly impact existing functionality. This will be done on each phase of testing.
Security testing you will be testing different roles and functionalities and will check and signoff.
Performance testing is refered to as how much time / second will take to perform some actions, like e.g. PGI. If BPP defination says 5 seconds for PGI then it should be 5 and not 6 second. Usually it is done using software.
User Acceptance Testing: Refers to Customer testing. The UAT will be performed through the execution of predefined business scenarios, which combine various business processes. The user test model is comprised of a sub-set of system integration test cases. -
Please can any body translate it to eng (it's very imp for investigation)
Hi, please can some body translate this to english,
LENUM_KONSISTENZ_PRUEFEN
Es wird geprüft ob bei lageinverwalteten Lagertypen auch
eine Lagereinheit in der TA-Position sitzt. Das kann nur
passieren wenn der Userexit zur Lagereinheitenkonvertierung
aktiv ist und dieser Userexit keine LE-Nummer zurückgibt
if possible please tell me the the form ,'LENUM_KONSISTENZ_PRUEFEN', function, why it's used?hi David,
please find translation of :
"Es wird geprüft ob bei lage inver walteten Lagertypen auch eine Lagereinheit in der TA-Position sitzt. Das kann nur passieren wenn der Userexit zur Lagereinheitenkonvertierung aktiv ist und dieser Userexit keine LE-Nummer zurückgibt"
To
"It looks at whether getting inver managed storage types also a storage unit in the TA-Position sits. That can only happen if the userexit to storage unit conversion is active and this userexit no LE-Nummer returns"
Its very dificult to tell the functionally of the form "LENUM_KONSISTENZ_PRUEFEN" after looking at the name....can you tellme the name of the program....
rewards Point.
Cheers,
Sagun Desai.... -
Some websites have very small test and others too large.
When I'm browsing at different websites. Some have the text really small and others have it too big. How can I make every website use the same (my choice) font and size. I've changed the font and size of the fonts in "Preferences-Appearance" and they only change a couple sites. All the others are too big or too small.
OlsonBW,
Setting how pages are displayed explains what you can and cannot do regarding the display of text in web pages...You can specify how pages appear when they open in Safari, including which fonts are used, whether or not to display images, and whether to use your own Cascading Style Sheet (CSS).
Many webpages specify their own fonts. Your font settings affect only pages that do not specify fonts. Webpages may specify style sheets that override your style sheet...;~) -
here is the scenario for my client.
a vendor had supllied a material at the price of 8rs per kg 1 week ago. now again a purchase order has been raised on the same vendor at the rate 10 rs per kg .how can my MD during the time of approval able to find out that the vendor has increased the rate by 2rs.is there any way that my MD will able to find out the increase in price by 2rs when he approves it because he doesnt have much time at his dispossal to find out all the previous prices of all the vendors.Hi,
U can find in ME2M report all the purchases for perticular vendor with there valuation.
OR
u can develop a query through SQVI.
wherein u can get the list of ALL PO aganst vendor with net value.from that u can easily identify the old PO valuation.
regards,
sujit -
Very imp outline agreements.
hi experts,
1)in which type of outline agreement does the price updates in info record .
2)i created a quantity contract and created a pur order with reference to contract, now i want to see how much quantity is still left in the contract target quantity.
please advice me
regardsHi,
Point wise answers as below:
1) For value contact and Scheduling agreements will update the info record but it depends upon the indicator you are setting in additional data of agreement.
2) Go to T.Code: ME33K and to item Over view and select line item> Item > Statistics > Release documentation (or Ctrl + Shift + F12)
Here you can see u201COpen Target Quantityu201D
Regards.
Chinna -
please provide me the relevant configeration settings step by step for vendor evalution.
regards
meena1. SPRO>MM>Purchasing>Vendor Evaluation> Define Weighting Keys
2. SPRO>MM>Purchasing>Vendor Evaluation> Define Criteria
Price,
Quality,
Delivery,
Service
For each criteria you will have Sub criteria
Criteria Sub-Criteria
3. SPRO->MM->Purchasing>Vendor Evaluation>Define Scope List.
4. SPRO->MM->Purchasing>Vendor Evaluation> Maintain Purchasing Organization Data
5.Run ME61
Note: Follow the below links
http://www.sap-img.com/mm009.htm
http://help.sap.com/saphelp_470/helpdata/en/8d/b97db3414511d188fc0000e8322f96/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
Maybe you are looking for
-
Why cant i get my songs back in my iphone
ok so i recently got a new phone and tried to restore a back up from my old phone. everything was fine but i noticed for some reason some of the songs in one of the albums wouldnt copy. after seeing it was due to the files being moved i recopied them
-
How can I remove the update from my iPhone 4s?
I am not liking the new update to my iPhone 4s, is there any way to remove this update?
-
Same old error message - 0x80020022
I am trying to find an answer to how I can burn DVD's on my Power Mac G5. I have tried to follow the threads posted in the past, but they just go on for pages and apages and pages ( literally ) of one after another person chiming in that they have th
-
once again I am going to ask how the hell do you change the font size in the Skype apps, as it been that small it is given me a headache trying to read it, please someone help me with this problem, I would like to know why they get things going ok th
-
How to execute a stored procedure with an out parameter ?
Guys I am struggling with executing a stored procedure from sql plus.I mean my stored procedure has 2 input parameter and 1 out put parameter (status of the execution). MY_PROCEDURE(p_name in varchar2,p_age in number,p_status out varchar2) end my_pro