UI
API
Testing
C#
Other
100

// (double slash) in XPath describes relative or absolute path?

Relative

100

Does DELETE request contain a body?

YES

100

Regression testing is a functional or non-functional type of testing?

Both

100

What is a difference between String and string?

string is an alias for the String class

if you use the String class, you need to import the System namespace

100

GIT is centralized or distributed version control system (VCS)?

Distributed

200

Name type of waiters in Selenium

Implicit, Explicit, Fluent

200

Please name 3 different http headers

Authorization, Accept, Content Type, Content Length, Host ...

200

What is the target value for DCE?

95%

200

Console.WriteLine (Math.Round(1.5)); Console.WriteLine (Math.Round(2.5));

2 and 2

Bankers' Rounding - rounding to the nearest even integer

200

+:*

-:<default> 

When configuring VCS root, what branches will be selected in Team City?

All branches except default

300

Name at least 3 different UI testing tool (not necessarily .Net)

Selenium, Cypress, Puppeteer, Playwright, CodedUI, UFT, 

300

Name at least 3 different Web services testing tools / libraries

Postman, SoapUI, HttpClient, RestSharp, Fiddler

300

Name at least 3 different Test Management tools

qTest, Zephyr, TestRail, Azure Devops, ALM

300

Name at least 3 different logger tools for C#

log4net, Serilog, NLog, Microsoft.Extensions.Logging

300

Name at least 3 different Continuous Integration tools

Jenkins, TeamCity, Bamboo, Gitlab CI, Semaphore

400

What is the difference between MaxSessions Vs. MaxInstances properties in Selenium Grid?

MaxInstances is the no. of browser instances of the same version of the browser that can run on the remote machine.

MaxSession says how many browsers, independent of the type & version, can run in parallel on the remote machine.

400

What is 418 HTTP status code?

I'm a teapot

400

Name 4 quality gates 

Unit tests, Integration tests, Automation Smoke or whole test suite, Performance testing, Security scans


Not necessarily all automatic or a build stopper. Can be hard and soft quality gates.

400

C# 400 Task - Upcast vs Downcast

p1, p2 - successful cast

e1 - null
e2 - InvalidCastException

400

Other 400 Task - Powershell

12

13

-1

-2.01

500

Name three advantages and three disadvantages (possible issues) of visual (snapshot) testing

Advantages

1. Verify page layout and detect issues which could pass through automated functional testing.

2. One screenshot test includes multiple elements verification

3. Cross-browser testing

4. Visual changelog of the application



(Possible) Disadvantages

1. Issues with dynamic content

2. Different screenshots of the same page on different hardware

3. Antialiasing

4. Detecting even changes which is not recognizable by human (even a single pixel difference)

5. Tests are fragile due to reasons above

500

Why doesn't this request return a response body?

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.

500

1. What is % of unit test coverage of the code?

2. What can be improved in the tests?

(Testing_500_Question.png)

Unit test coverage is 100% despite the fact that there is no any asserts in the code. 

It means that single number, % of unit test coverage gives you not much information about quality of the test coverage.

(Testing_500_Answer.png)

500

ะก# 500 Task - Async

What will be the result printed to Console?

Less than a second

Code will not wait for the execution to finish inside the method and continue to finally statement 

500

Other - 500 Task - CI

Please find 2 mistakes in the following build configuration

1. Order of build steps, at first - should be restore Nuget package, and only then Build solution
2. The build step 'Run tests' missing path to solution file or dll.
The command should be:
dotnet test "Path to dll/solution file"

M
e
n
u