Test Scenarios Flashcards

1
Q

you are testing with daily builds,you installed the latest
build today and what will you do if the application shortcut
is not launching?

A

Shortcut is only not working.
1. Click directly on exe and check whether application is
launching. if application launches problem is with creating
shortcut
2. Check whether shortcut points correct exe.
3. if shortcut is pointing to correct exe and application
is still not launching, check whether environment variables
are properly set and other dependant softwares and settings
are done properly.

If the same was working in previous build then a regression
defect needs to be raised.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Suppose an application is on desktop, when you tries to open
an application with Internet Explorer which is not launching.
How do you debug or possibilities to overcome above problem?

A
  • comparability test on chrome and edge

* **if the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You have two different phone, both of which have the same android version installed. But an application is crashing on one and not the other, what could be the problem?

A
  1. Checking the device system logs and application logs can give more information on what is happening.
  2. Number of background services running on the phones might be different.
  3. Number of background/foreground apps running on the phones might be different.
  4. Available memory for the application under test might be different on the phones.
  5. Available CPU time for this application might be different on the phones.
  6. The version of application installed on the phones might be different.
  7. Different permissions settings on the devices can cause application to crash.
  8. Clock and other system settings could be different on the phones.
  9. Cache on the devices could be different.
  10. Battery available on the devices could be different.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the steps you should take when asked to test software or an application?

A

1) . Are we doing black box, white box, or both?
2) who will use it and why?
3) what are the use cases?
4) . What are the bounds of use?
5) . What are the stress/failure conditions?
6) . What are the test cases?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the steps you should take when testing a function? I.e. Testing the sorting of an array)

A

1) . Define the test cases (types of cases)
- normal case, extremes (empty array, very large or small array), illegal or null (chars instead of ints), strange input (array that’s already sorted, sorted in reverse order)

2) . Define the expected result (be aware you may want to validate additional ascpects, suppose sort is supposed to return a copy, you should verify the original array is still good)
3) . Write the test code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Suppose google crashes on launch. What do you do?

What are the steps when debugging?

A

1) . Understand the scenario
- how long as the issue occurred?
- what version of browser? Was OS?
- Is it consistently reproducible? What exactly happens?
- is there an error report that launches?

2) . Break down the problem into testible units
1. Go to windows start menu
2. Click on chrome icon
3. Browser instance starts
4. Browser ,lads settings
5. Browser issues http request for chrome homepage
6. Browser gets http response
7. Browser parses webpage
8. Browser displays content

3). Create specific manageable test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly