New answers tagged

0

You solution in the comment section: pm.test('Check nested Id data type', () => { _.each(pm.response.json().values, (topLevelItem) => { _.each(topLevelItem.values, (nestedItem) => { pm.expect(nestedItem.id).to.be.a('string') }); }); }); has a few problems: if there're no values, those loops won't run, so there's nothing to check, ...


0

Performance testing is an extremely crucial part of the quality assurance model. From analyzing the server capabilities to load testing, performance testing helps to create solutions that are capable of outperforming. However, the only thing that could make the difference is the expertise of your chosen performance testing services provider. Nevertheless, ...


0

I just started to work on Appium From scratch. I installed Appium Server Desktop version on Windows (Appium Version 1.22.0) Then I created Simple Java code to say deploy an app on Android Phone using below code: public static final String APPIUM_SERVER_URL = "http://127.0.0.1:4723/wd/hub"; DesiredCapabilities dc = new DesiredCapabilities(); dc....


1

It seems there are only three allowed formats for input type time: HH:mm (e.g. 01:30 or 23:15) HH:mm:ss (e.g. 10:00:30) HH:mm:ss.SSS (e.g. 12:00:00.384) You can also use .invoke() command: cy .get('[data-testid=time]') .invoke('val', '01:52:08 AM'); Basically whatever is possible in JavaScript is possible in Cypress. So here you can invoke jQuery ...


0

Same error was coming for me. But after running with TestNG suite instead of TestNG Class, it worked. Follow the steps below to run your class as TestNG suite - Right click on the class --> TestNG --> Convert to TestNG Click on the link to see the picture - https://i.stack.imgur.com/eZW4t.jpg testng.xml pop up will appear. Click on Finish. Click on ...


0

The yearly State of DevOps report gives insights in the what successful companies do as quality and engineering practises. read the 2021 version here. According to the in 2019 published book Accelerate companies that perform better on these DORA metrics are financial more successful compared to companies that score lower. Keep in mind that the technical ...


1

Your question mentioned both active and visible and they are separate as in: visible / not-visible active / not-active (disabled but visible) These two different pieces of state should be considered as in: cy.get('.mySelector').should('be.visible').click(); cy.get('.mySelector').should('be.disabled'); cy.get('.mySelector').should('not.be.disabled');


-1

First get on a job as a manual test, better, use this to get most of the skills and knowledge you can, on sideways, choose 3 companies you want work on as a Automation tester, look on the profile of this companies what are the major skills you need, and invest on online schools like udemy and so , I would say, javascript, SQL, API and swagger and a solid ...


2

WebDriver block = driver.findElement(By.xpath("//*[@id=\"www-wikipedia-org\"]/div[11]/div[3]")); A WebDriver is not an WebElement; objects of these types are in different objects hierarchies. https://www.javadoc.io/doc/org.seleniumhq.selenium/selenium-api/2.50.1/org/openqa/selenium/WebDriver.html https://www.javadoc.io/static/org....


0

"The first principle is that you must not fool yourself and you are the easiest person to fool." - Richard Feynman IMHO, be honest with yourself and first ask some hard questions. Where do you really see yourself? Where do you really see yourself and what is truly lacking in you professionally which is needed as per your job interviews experience ...


0

If the input type is multiple you can send a comma-delineated string of file paths.


0

Robot framework has for this prepared keyword Run Keyword, where you supply actual keyword to run as a parametr - stored in variable.


0

I think you are overly focused on the number of years of experience. In many instances it is only a number and no one says you can't have more experience after 2 years than someone else after 3 or 4 years. Hence my advice would be to always find out what a company wants and then you can assess if you can give tham that or not. Also, HR is not infallible, so ...


0

Are you capable of producing work of someone who has 2-3 years' test automation experience or 5-7 years' test automation experience? People learn and develop at different speeds. At my 2 year mark, I was easily outpacing and designing better than people with 5-10 years experience. Most good companies have a coding interview. Apply for one of the higher ...


3

This is a pretty common situation that I was in and have seen others in. Being in the "middle tier" of experience can feel like hitting a wall or even a plateau. You want to move upward but feel stuck. It also doesn't help that the industry has a focus of either "manual" or "automation". It's very "or" minded instead ...


0

From an employer standpoint, I believe job requirements are like a wish list, and you never get what you really really want. With that in mind and with seven years of working experience I would suggest to just go for it. Do the interview for both roles. What is the worst that could happen? The best way to figure out if there is a match is to have the ...


1

// Enter card details in to Stripe iframe fields cy .get('iframe') .its('0.contentDocument.body').should('not.be.empty') .then(cy.wrap) .find('input[data-elements-stable-field-name="cardNumber"]') .type('4242424242424242') cy .get('iframe') .its('1.contentDocument.body').should('not.be.empty') .then(cy.wrap) .find('input[data-...


0

Loadster (disclosure: I'm the founder) uses a browser extension to do recordings instead of a proxy. The browser extension can record protocol scripts (which automate HTTP requests), or browser scripts (which automate real browsers). File uploads might require a little script editing after recording, since the recorder doesn't access your local filesystem to ...


0

No, there is no need to create a complex automation framework when you are able to yield the desired results with a standard or most basic automation framework. The complexity of the automation framework is a matter of purpose which usually follows the requirements associated with the product under test. Nevertheless, I would advise you to have confidence in ...


1

Cucumber uses its own mechanism to instantiate objects (aka dependencies) which are referenced as glued classes fields or parameters of glued classes methods. It uses ObjectFactory that by default creates new instance for each field/parameter on each scenario step. The conditions which determine if the same field would reference the same object is called &...


5

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." - Antoine de Saint-Exupery In general, strive to make UI tests more horizontal(end to end , not deep) and lower level tests more vertical(in depth). In my automation journey, I learned few hard lessons in UI tests as below: Have fewer ...


0

Ideas like base classes and util classes are usually anti-patterns (see here and here). One basic heuristic for good OO design is composition over inheritance, because it gives more flexibility in changes and makes unit testing easier. As Alexey said, you can use dependency injection to create your page objects. You can see an example project here. Generally ...


0

This scenario is faced mostly in medical device software testing where unwanted pop ups occur on the screen. Below code will wait for one day(withTimeout wait), if the pop up is displayed early then it will click the 'reject' option from pop up(pollingEvery wait) FluentWait wait = new FluentWait(driver); wait.withTimeout(1, TimeUnit.DAYS); wait.pollingEvery(...


Top 50 recent answers are included