Hai I faced this question in an interview. They gave a scenario to write 5 functional testcases.The scenario is " there are two notepad applications which were already open. In notepad1 some typed text is there. notepad2 is empty. Using cut and paste option u have to paste the entire text from notepad1 into notepad2."

Questions by sankara

Showing Answers 1 - 10 of 10 Answers

Deepak.Bhandarkar

  • Jul 24th, 2006
 

Hi.,

The Test cases are as follows.,

Test Cases are considered for both the Notepads (Notepad1 and Notepad2) being open.

1. Press Ctrl+A from keyboard, checkout whether its selecting all the data. Similarly from notepad1 screen,select Edit and select Select All Option and check out whether all the data is selected.

2. Press Ctrl+C from keyboard, checkout whether you're able to copy the data from Notepad1 to Notepad2.Similarly from notepad1 screen,select Edit and select Copy Option,check out whether all the data is copied from notepad1.

3.Press Ctrl+V from keyboard, checkout whether you're able to Paste the data from Notepad1 to Notepad2.Similarly from notepad1 screen,select Edit and select Paste Option,check out whether all the data is pasted to notepad2.

4.Press Alt+F4 from Keyboard, check out whether its closes both the screens.Similarly check out the exit option in File.

5. After you press Ctrl+X from keyboard, check out for Ctrl+Z option from Keyboard, similarly check out for Undo option in Edit Menu.

  Was this answer useful?  Yes

parveen007

  • Sep 1st, 2006
 

i think the question is wrong.here all the thing is functionality of windows notepad and editor functions,,,,,so for what we are writing test cases... these are already passed by microsoft....

 

  Was this answer useful?  Yes

vramesh76

  • Sep 1st, 2006
 

Hi

For this we can write many number of test case

First by using Mouse&click ,like click and drag to select right click for copy and paste......

Second by using Shortcut keys,like Ctrl+A to select all and CtrlC to copy and Alt+Tab tio switch over to the next Notepad and so....on

  Was this answer useful?  Yes

UMESH SHARMA

  • Oct 13th, 2006
 

Hi,

we can write the following test cases for this

1. go to the edit panel cut and paste option should be disable.

2. select the text and go to the edit panel cut should be able click on cut

3. selected text should be disapper from the note pade

4. in to the second note pad in the move the cursor at the place where you want to paste the text.

5. Go to the edit panel paste should be able select paste the txte should be paste on to the desire place.  

  Was this answer useful?  Yes

FIVE TEST CASES

Preconditions for all test cases:
1) Both notepad1 and notepad2 applications are already open
2) notepad1 has typed text
3) notepad2 is empty

TC1: Cut contents of notepad1 and paste into notepad2 using only mouse right-click button

TC2: Cut contents of notepad1 and paste into notepad2 using keyboard Ctrl-x and Ctrl-v

TC3: Cut contents of notepad1 using Notepad Select All and paste into notepad2 
 
TC4: Cut contents of notepad1 and paste into notepad2 when contents of notepad1 are wrapped
 
TC4: Cut contents of notepad1 and paste into notepad2 when contents of notepad1 are unwrapped

  Was this answer useful?  Yes

Test Cases :

1.To check whether we select notepad1 it is active and the notepad2 is disactive
2. To check the text is selected by select and drag the text through mouse in notepad1
3. To check whether the text is selected by clicking Edit - Select all in notepad1
4. To check whether the text is selected by pressing ctrl+c in notepad1
5. To check when we select notepad2 it is activated and notepad1 is deactivated
6. To check when we press ctrl+v the copied text in notepad1 is pasted in in notepad2
7.To check whether we click edit - paste the selected text is displayed in notepad2

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions