Questions tagged [testcase]

A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not.

A test case is also defined as a sequence of steps to test the correct behavior of a functionality/feature of an application. A test case is a set of conditions or variables under which a tester will determine if a requirement upon an application is partially or fully satisfied. It may take many test cases to determine that a requirement is fully satisfied. In order to fully test that all the requirements of an application are met, there must be at least one test case for each requirement unless a requirement has sub requirements. In that situation, each sub requirement must have at least one test case. Generally Senior tester writes test cases and after verification and approval the junior testers carry out execution of test cases.

998 questions
-2
votes
5 answers

what should i write in main function to test my problem for t no of times?

for example, I have to take input in the format: 2 // no of test cases 7 // n->size of an array 9 7 5 9 2 20 3 //n array elements 5 // second test case array size 4 5 8 96 6 // second test case array elements I don't know what to write in the…
-2
votes
1 answer

to generate automatic test cases using UML sequence diagram

I have done sequence diagram and transform it to an XML file, then I have developed parser using C# to extract the test cases from that XML file, but still, the parser not working well, how can I extract the exact tags and elements I need for…
-2
votes
1 answer

Move test cases with complete data(test data,steps, etc) across team project collections

I am looking a tool that can move the test cases around 100+ with entire data from one team project collection to other. Along with the above one I need answer for below quesries: Can we copy the DB tables with the test cases in it from source…
richa
  • 1
  • 1
-2
votes
5 answers

Test Case Preparation

I am a newbie to testing field. I know that test cases are the conditions to fulfil any client requirements i.e. the test conditions we need to fulfil the requirements. I need some idea how to formally write a test case. Can anyone give me any idea…
user601236
  • 123
  • 4
  • 10
-2
votes
2 answers

How to fix the code to test the case by JUnit and POI?

Why I can't have succeed to test this case? @Test public void test_Should_be_0() throws Exception { HSSFCell cell = new HSSFWorkbook().createSheet().createRow(0).createCell(0); cell.setCellValue(0); assertTrue(cell == 0); Thank you…
Lost_in_the_code
  • 75
  • 1
  • 1
  • 10
-2
votes
1 answer

Test Case Oracle Select for error

I need to make some test cases for Oracle packages. I have a package which has store procedures, some of them are selects. Each Store procedure has"Exception" (try - catch) My question is: How Can i provoke an error when calling a store procedure…
-2
votes
1 answer

Python A part of code is not being executed

I have this class which gives me output of "I am in level 1" but doesn't out "I am in level 2" so I assume get_full_name(self) part isn't being executed any help? class UserTest(TestCase): user = UserFactory() def…
Marksman
  • 59
  • 14
-2
votes
1 answer

how to export test cases from test lab in excel format [ which has test case full description ]in ALM version 12?

i want to export test cases from ALM 12 in their descriptive format as present in excelsheet before exporting. i am able to export from test plan, is there any way to export from test lab
sneha
  • 7
  • 1
  • 9
-2
votes
1 answer

Selenium with C# code took more time than expected for executing the test case

I have a test case in which I have more than 30 steps, in all the steps I make the application to wait for some time (60 seconds) to load all the elements in the page, because of that it took more time for execution. Here I need you guys to help in…
Vijaya s
  • 31
  • 5
-2
votes
1 answer

Should I write different test case for different branch of same service?

@Override public User editDescription(User user, String description) throws UserNotFoundException { user.setAboutMe(description); User returnedUser = userRepository.save(user); if (returnedUser == null) { throw new…
Giridhar Kumar
  • 619
  • 1
  • 7
  • 12
-2
votes
1 answer

Import Testcase in Testlink 1.9.9 from xlx format

I have to import my testcases which is in Excel into Testlink.How can I do it.Please help me out of this. Thanks in advance.
Arun Kumar
  • 225
  • 2
  • 8
  • 20
-3
votes
4 answers

Sample testcase for Interviewstreet: Equations

So there is a website named interviewstreet.com. Here we can find challenging programming problems. Unfortunately you have to be logged in to see the questions. Here's a brief description of the problem I'm attempting to solve: Find the no of…
-3
votes
1 answer

Empty int input for a test case

I need to write a test case for functions that do simple math problems. One of the test cases is having no inputs or empty inputs. I've tried most things but none seem to work. This is the format of the test case: // copy ; x, y, length ; expected…
Amin
  • 1
-3
votes
1 answer

How to can we run specific test cases in robot framework

I am new to Robot Framework and writing the test cases in it. I have a test suite name "testSuiteTrial.robot" which have 50 test cases .When i am running the test suite , few test cases are getting failed.I don't want to run the full test suite…
Jafar Raza
  • 139
  • 1
  • 8
-3
votes
1 answer

Linked list starting with an empty list and sorting new numbers added to it in Java

I'm trying to create a link list class in java that applies to my test cases but am having trouble succeeding, the first test case asks me to start with an empty list, use the addSorted(I element) method to add java.lang.Integer objects representing…
Samuraike
  • 1
  • 3
1 2 3
66
67