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
3
votes
1 answer

How to click on element that should disappear on "touchmove" event?

I'm writing a test-case for a mobile version of our web application, and I cannot click on a pop-up that is designed to disappear on "touchmove" event. Is there any way to overcome this particular problem? Platform Info: OS: Mac OS Mojave…
3
votes
1 answer

Can testcafe afterEach() fixture calls know whether the test passed or not?

My Fixture looks like this: fixture`Admitted: Happy Path` .page(environment.admitted) .requestHooks(logger) .afterEach(logErrors); logErrors logs all the API errors from that test, however I would only like to log them if the test failed. Is…
3
votes
1 answer

Using expect inside nested iframes with TestCafe

I have an issue with using an expect statement inside a nested iframe on Google Sheets hanging the tests. (for testing content inside modals) Here is the test I am trying to implement: const modaldialogFrame = Selector( …
3
votes
1 answer

Does testcafe support pressKey("shift+enter")?

I am trying to test if pressing the shift+enter keys will result in a newline. I've checked the docs and they do not have this combination listed there; will this combination ever be added in or is it already there and I just missed it?
sammiepls
  • 1,340
  • 2
  • 13
  • 19
3
votes
3 answers

Require help in identifying element in testcafe

I am new to automation testing and coding. I am using testcafe in one of my project to automate the functional testing. In one of the webpage there is a field which only accept numeric values and gives error message if any alphanumeric values are…
3
votes
1 answer

Change request URL in requesthook

we are trying to implement functional testing using testcafe. Because of our complex backend systems, we will not be able to hit the actual API in some scenario (like OTP, backend account lock) without manual intervention. To circumvent this we…
Sudhir V
  • 243
  • 1
  • 2
  • 8
3
votes
1 answer

How to switch to window or tab in splinter webdriver python?

I am new to python and splinter. I read the docs on splinter but it doesn't mention anything about switch_to like in the selenium library. When I run this code I get an error. from splinter import Browser browser = Browser("firefox") …
3
votes
0 answers

C#, Web performance test creation error

I am working on a project that needs something load/performance tested. I need to upload a file like it would come from the browser. I know how that works so I create a Web and Load testproject in my solution. Then I create a Webtest (or a load…
3
votes
1 answer

click on child with TestCafe

I need a very simple help about click on testCafe. I' ve got a simple element with 10 inside. I have to click the first one or the last one or a random li from index 0 to index 10. How can I do this?
3
votes
1 answer

Check if img src has correct path in TestCafe

I perform a test with TestCafe and need to check if an img has the correct path. There are two img elements: Case 1:
Fabian
  • 541
  • 9
  • 30
3
votes
1 answer

Best practices in testing a website

In our QA team, we run a suite of automated tests on every commit the developers do. Since there are quite a few such commits daily and no developer wants to wait more than a few minutes to get feedback we're limited to 5 minutes of testing. In…
Guy
  • 14,178
  • 27
  • 67
  • 88
3
votes
2 answers

Web Performance Test - could not load type 'Microsoft.VisualStudio.WebTesting.SharepointInformation'

I installed VS.2017 Enterprise and start a web performance project. When I try to add a Web performance test to the project I receive the error: "The Web test could not be loaded: Could not load the type …
3
votes
2 answers

TestCafe issue, onChange event not triggred for input box in a modal dialog box

I am trying to update a number on the screen. I click on the update menu that lets me update a number. When I click on the update button it will open a modal dialog box with an empty text box for the new number and a save button. The save button is…
3
votes
2 answers

How to start ASP.Net application without hosting?

I'm writing integration tests for my ASP.Net web application, so I want to start it and test on HTTP request/response level. Because the tests are supposed to run concurrently and with minimal permissions, I do not want to expose them on any real…
stop-cran
  • 4,229
  • 2
  • 30
  • 47
3
votes
1 answer

Visual Studio Web test cookie management

I have read in other posts that Visual Studio Web Test automatically handles cookies. I am using Fiddler to examine traffic when I use me AUT (application under test) in order to try and replicate calls in Web Test. I see cookies in the requests in…