// (double slash) in XPath describes relative or absolute path?
Relative
Does DELETE request contain a body?
YES
Regression testing is a functional or non-functional type of testing?
Both
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
GIT is centralized or distributed version control system (VCS)?
Distributed
Name type of waiters in Selenium
Implicit, Explicit, Fluent
Please name 3 different http headers
Authorization, Accept, Content Type, Content Length, Host ...
What is the target value for DCE?
95%
Console.WriteLine (Math.Round(1.5)); Console.WriteLine (Math.Round(2.5));
2 and 2
Bankers' Rounding - rounding to the nearest even integer
+:*
-:<default>
When configuring VCS root, what branches will be selected in Team City?
All branches except default
Name at least 3 different UI testing tool (not necessarily .Net)
Selenium, Cypress, Puppeteer, Playwright, CodedUI, UFT,
Name at least 3 different Web services testing tools / libraries
Postman, SoapUI, HttpClient, RestSharp, Fiddler
Name at least 3 different Test Management tools
qTest, Zephyr, TestRail, Azure Devops, ALM
Name at least 3 different logger tools for C#
log4net, Serilog, NLog, Microsoft.Extensions.Logging
Name at least 3 different Continuous Integration tools
Jenkins, TeamCity, Bamboo, Gitlab CI, Semaphore
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.
What is 418 HTTP status code?
I'm a teapot
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.
C# 400 Task - Upcast vs Downcast
p1, p2 - successful cast
e1 - null
e2 - InvalidCastException
Other 400 Task - Powershell
12
13
-1
-2.01
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
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.
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 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
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"