Questions tagged [web-testing]

Software testing that focuses on web applications. Before the system becomes public, complete testing of a web-based system can help to address issues.

Software testing that focuses on web applications. Before the system becomes public, complete testing of a web-based system can help to address issues.

731 questions
4
votes
1 answer

How to reset the scrollHeight values on DOM elements retrieved using ClientFunction

I have TestCafe running in two separate test classes, in two separate fixtures, in two separate tests, testing two different app pages. I notice when I interrogate the window.document object through the ClientFunction in these tests, depending on…
4
votes
1 answer

How to run TestCafe tests with throttling connection?

I need to check functionality if a file is uploading longer then 1 minute. To check it with manual testing I use Chrome Dev Tools to set Throttling "Slow 3G". But I can't figure out how to do it with TestCafe.
4
votes
2 answers

Testcafe differences between selectors ".exits" and ".visible"

Even tho` I have read the documentation that TC provides, I'm still not sure about what is the difference between: await t.expect(element.visible).ok(); and await t.expect(element.exists).ok(); I have a hunch that somehow visible includes the…
Eugen
  • 785
  • 6
  • 22
4
votes
1 answer

Is it possible to run same testcafe fixture with different preconditions

Could somebody help with finding the most adequate way to run the same fixture with different preconditions using testcafe (fixture beforeEach)? Given I have following fixture: fixture('[Test] My Page') .meta({ env: 'aat', mobile: 'true',…
4
votes
2 answers

Run Same Testcafe tests with different URLs per environment

I am working on a TestCafe proof of concept. I have a few tests working in one test environment. I need a way to run the same tests in up to 3 different test environments that have different URLs. Is there a best practice for this scenario?
4
votes
2 answers

How to debug protractor in VS CODE?

I'm trying to debug protractor test script but I'm not able to find good source to understand how to debug, can any one suggest me few best sites to refer and how many ways can we debug the protractor test script.
Anil
  • 43
  • 1
  • 6
4
votes
1 answer

TestCafe 'dynamic' tests cases

I created a few e2e sanity tests for my current project using TestCafe. These tests are standard TestCafe tests: fixture(`Basic checkout flow`) test('Main Flow', async (t) => { }); I would like to execute this test for multiple site locales and…
4
votes
2 answers

How to to extract response by XPath Extractor in JMeter?

I got the response like the following:
Hoàng Long
  • 10,746
  • 20
  • 75
  • 124
4
votes
1 answer

Can @WebMvcTest have two controllers

I am Trying to test two different controller classes , Since I want to test one method each from the both classes and I will be using @WebMvcTest , My question is there a way to inject mocks into both classes , something like this may be…
valen ezu
  • 113
  • 1
  • 9
4
votes
2 answers

From a shell script open a new tab in a specific instance of Firefox

I have a shell script that creates Firefox profiles and then uses them to open multiple instances of Firefox simultaneously. The problem is how can I open a URL in a particular instance of Firefox? I have tried firefox -CREATEPROFILE test firefox…
toc777
  • 2,607
  • 2
  • 26
  • 37
4
votes
7 answers

BDD-testing using a UI driver (e.g. Selenium for a web-application)

Can BDD (Behavior Driven Design) tests be implemented using a UI driver? For example, given a web application, instead of: Writing tests for the back-end, and then more tests in Javascript for the front-end Should I: Write the tests as Selenium…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
4
votes
1 answer

Unexplained vertical gaps of different size in different viewport sizes between containers

The Situation and Need I have a situation in a project where in the website I would need to make stairs and there would be text or content in those stairs and the background of the stairs need to be opaque. And there is 1 more element to the right…
4
votes
1 answer

Is Symfony WebTestCase only internal?

Is Symfony WebTestCase a tool that just boots the Kernel and tests the Response object or it spawns a PHP Web Server and makes the test against the server? This is to know if I can test a legacy app that lives outside Symfony Framework
JorgeeFG
  • 5,651
  • 12
  • 59
  • 92
4
votes
3 answers

How to wait an element is visible on Ranorex?

In Ranorex, I found how to wait for the existence of an element, but I don't find how to wait the element is visible. I want to do the same thing, but I want to wait until the element is visible. Unfortunately, I just see Exist and Not Exist as…
user6558241
4
votes
1 answer

Why does Microsoft offer a Vagrant version of an IE virtual machine?

I've noticed that Microsoft added an option to download all IE virtual machine as a Vagrant image. I was wondering what is the purpose of this (as this was apparently a much-requested feaure)? What benefits does a Vagrant image of Windows and IE…