4

The purpose of using any test automation tool is to fail when the assertion fails. However, how you write your tests also matter. It's recommended when writing tests to use the FIRST principle. FIRST stands for: Fast Independent or Isolated Repeatable Self-validating Thorough or Timely In regards to the question: "I don't want to stop the test ...


3

You could try developing your own framework for a small demo site. Start small, add stuff when you need them. Take the existing framework as a model to look up to, but don't sweat if you don't understand everything yet. Be patient and try to understand one bit of it at a time.


3

Testing APIs is potentially endless, just like almost anything in testing. I recommend focusing on one area rather than drowning yourself in something completely new. That would be a recipe for failure. If you're completely new to the world of APIs, I recommend installing Postman (or any other client) and playing around with some endpoints for a bit. No need ...


3

That depends on what exactly you use. Playwright could be used with jest, mocha, ... Some examples with mocha: package.json: "scripts": { "smoke-test": "./node_modules/.bin/mocha tests/smoke-tests", "regression-test": "./node_modules/.bin/mocha tests/regression-tests" } then you'd run e.g. $ npm run ...


2

To simplify the link I sent to the comment section: *** Settings *** Library OperatingSystem *** Test Cases *** Get User Home ${user_home}= Get Environment Variable UserProfile Log To Console ${user_home}\\Downloads In Windows, there's UserProfile environment variable that resolves to e.g. C:\Users\PavelSaman, so you can just get its ...


2

Have you tried to run it? constructor(page) { this.page = page; } and later: module.exports = new SearchPage(); What about that missing page? this.page in the object will be undefined, so none of the methods will actually work and you will get some sort of exception at runtime. A solution could be to send page to every method: async search(page, text) {...


2

Reflection API, has all utilities like ExcelReader Utility class, DB connector classes, Reporting utility, logging classes etc For starters, based on what you described, this is not a framework. This is a library with multiple responsibilities. The easiest way to know the difference is: Your code calls libraries. Frameworks call your code. As examples of ...


1

*** Test Cases *** One Return Value ${ret} = Return One Value argument Multiple Values ${a} ${b} ${c} = Return Three Values @{list} = Return Three Values ${scalar} @{rest} = Return Three Values *** Keywords *** Return One Value [Arguments] ${arg} ${value}= Set Variable 1 [Return] ${value} ...


1

Use soft assertions. At the end of both test cases, you may do a softAssert.assertAll() which will also list out the failed test case for you. @Test public void softAssert(){ SoftAssert softAssertion= new SoftAssert(); System.out.println("softAssert Method Was Started"); softAssertion.assertTrue(false); System....


1

You can keep existing approach. SelenideElement extends WebElement so that all existing conditional stuff will be working. Selenide does not have own cross-element conditions. Only the ones which are applied to a single element like .is(Condition.blah()). There is also SelenideWait waiter but it actually does nothing but runs FluentWait with some presets.


1

Chrome is currently on v91 and it needs a driver to match. Install Chrome in its default location and make sure it is updated. Then get the latest Chromedriver. There's a NuGet package for chromedriver if you prefer to manage it that way.


1

The .app file URL looks correct. Sharing the full code with the desired capabilities and iOS driver initialisation would be really helpful to analyse the actual root-cause. As per the error message shared: “No route found for /wd/hub/session”, it seems like Appium server is not setup correctly. Usually, qa testing companies follows the below approach of ...


1

An effective tester knows both and knows how to use one to amplify the effectiveness of the other.


Only top voted, non community-wiki answers of a minimum length are eligible