If there are 4 buttons New,Edit,Delete & Refresh for Item
screen .May I have to write 4 different test cses for each
button OR I can perform all operations[Create,Edit,Delete &
refresh item] in a single tes case?
Please reply as early as possible.
It's very urgent to me
Answers were Sorted based on User's Feedback
Answer / anil nakhate
HI....
yes, we can write the single test case for your question but
you will mentioned in all the descritpion in steps & write
expected result to each steps.
ex. verify the new, Edit, Delet, refresh functionality
working properly or not
Steps
1)CLick on "New" Button - It should open New windows for
that application
2)Clcik On "Edit" Button - It should Edit the whatever you
selecte.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / nuthan kumar v
We have to write seperate test cases. Because these
functionalities are different.
Nuthan Kumar V
Testing Engineer.,
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / dipesh
It can be included in a single test case but there have to
be four different test scenarios. Each button on the
screen has own scenario. Single Test case with four
different test scnearios
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sandhya
It is better to write 4 test cases for the 4 buttons -
1)The user should be redirected to the correct page when
clicked on the "New" button.
2)Tool tip for button "New" should be displayed properly.
3)Mouse hover effect should be proper.
same test cases we can write for edit
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sameena
Sorry for my wrong answer. Just now i got cleared wtih U'r
question.
We have to write separate test cases for each button.
if we need to test the screen means we can write as a whole
1 test case. But if we test a single button then we have to
write seperate test case.
I appoligise for my wrong answer.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / susan
There should be one test case which will test for that
particular screen to see whether the screen is having all
the 4 buttons and then 4 separate test cases for each of
the separate functionalities like Create Item, Edit item,
delete item and refresh item.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / hema
according to me, we can write in single testcase with many
steps,it depends upon the functionality,requiment and the
teamlead.
if ur answer is correct can u pls explain me.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / mudaseer
write separately
objective to verify create page is opening
action click on create button enter
to verify data is created when i enter data in create page and click on save
action enter data-click on save
to verify data is editing
click on edit symbol--edit the data --click on save
to verify refresh is happening when i click on refresh button
to verify data is deleting when i click on delete button
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sameena
Hi,
You can write one test case as a whole.
because, NEW,EDIT, DELETE,REFRESH are the 4 buttons on the
screen.As they are buttons, U can write as a single test
case. But incase of a menu bar , then U have to write
different test cases.
This answer is on my knowledge. If U get better than this
answer mail me to this email (samee_saaji@yahoo.co.in)
| Is This Answer Correct ? | 0 Yes | 4 No |
Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?
how to write test cases for sort drop down box containning 6 options in the drop down list.
testcases for the additon of 2 numbers write negative and postive cases
8 Answers CoStrategix, Societe Generale,
What is Initial Configuration?
Write test cases to test a browser app
Explain the sanity testing?
What we do when the Requirements are continuously changed?
need for documenting test cases??? advantages and disadvantages of documenting test cases???
how to Create a test plan document for Library Management System
what is objectrepositry
9 Answers Infinite Computer Solutions,
hi iam working in HCL as a fresher n iam dg automation testing i am going to give client demo i did some 7 scripts i want to call all those in some new page in QTP I KNOW CALL THE EXISTING ACTION N COPY OF ACTION if we use any of these options while running it will show the whole script but is there any other method while running it should not show the whole script it will show only the calling lines plz give me detailed explanation to ds i need reply fast plzz
ATM REQUIREMENT TO BE TRANSLATED INTO TEST PLAN AND TEST CASES ATM REQUIREMENT AS FOLLOWS: Requirements Statement for Example ATM System The software to be designed will control a simulated automated teller machine (ATM) having a magnetic stripe reader for reading an ATM card, a customer console (keyboard and display) for interaction with the customer, a slot for depositing envelopes, a dispenser for cash (in multiples of $20), a printer for printing customer receipts, and a key-operated switch to allow an operator to start or stop the machine. The ATM will communicate with the bank's computer over an appropriate communication link. (The software on the latter is not part of the requirements for this problem.) The ATM will service one customer at a time. A customer will be required to insert an ATM card and enter a personal identification number (PIN) - both of which will be sent to the bank for validation as part of each transaction. The customer will then be able to perform one or more transactions. The card will be retained in the machine until the customer indicates that he/she desires no further transactions, at which point it will be returned - except as noted below. The ATM must be able to provide the following services to the customer: A customer must be able to make a cash withdrawal from any suitable account linked to the card, in multiples of $20.00. Approval must be obtained from the bank before cash is dispensed. A customer must be able to make a deposit to any account linked to the card, consisting of cash and/or checks in an envelope. The customer will enter the amount of the deposit into the ATM, subject to manual verification when the envelope is removed from the machine by an operator. Approval must be obtained from the bank before physically accepting the envelope. A customer must be able to make a transfer of money between any two accounts linked to the card. A customer must be able to make a balance inquiry of any account linked to the card. A customer must be able to abort a transaction in progress by pressing the Cancel key instead of responding to a request from the machine. The ATM will communicate each transaction to the bank and obtain verification that it was allowed by the bank. Ordinarily, a transaction will be considered complete by the bank once it has been approved. In the case of a deposit, a second message will be sent to the bank indicating that the customer has deposited the envelope. (If the customer fails to deposit the envelope within the timeout period, or presses cancel instead, no second message will be sent to the bank and the deposit will not be credited to the customer.) If the bank determines that the customer's PIN is invalid, the customer will be required to re-enter the PIN before a transaction can proceed. If the customer is unable to successfully enter the PIN after three tries, the card will be permanently retained by the machine, and the customer will have to contact the bank to get it back. If a transaction fails for any reason other than an invalid PIN, the ATM will display an explanation of the problem, and will then ask the customer whether he/she wants to do another transaction. The ATM will provide the customer with a printed receipt for each successful transaction, showing the date, time, machine location, type of transaction, account(s), amount, and ending and available balance(s) of the affected account ("to" account for transfers). The ATM will have a key-operated switch that will allow an operator to start and stop the servicing of customers. After turning the switch to the "on" position, the operator will be required to verify and enter the total cash on hand. The machine can only be turned off when it is not servicing a customer. When the switch is moved to the "off" position, the machine will shut down, so that the operator may remove deposit envelopes and reload the machine with cash, blank receipts, etc. The ATM will also maintain an internal log of transactions to facilitate resolving ambiguities arising from a hardware failure in the middle of a transaction. Entries will be made in the log when the ATM is started up and shut down, for each message sent to the Bank (along with the response back, if one is expected), for the dispensing of cash, and for the receiving of an envelope. Log entries may contain card numbers and dollar amounts, but for security will never contain a PIN.