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.

677 questions
11
votes
1 answer

In which ways is TestCafe better than Selenium?

What problems does TestCafe overcome that justify its adoption over Selenium? Is it worth to port over older test suits to TestCafe?
11
votes
4 answers

Selenium locator for

With ASP.NET the tag IDs are pretty volatile so to make my tests more robust I want to locate elements by their label texts. I have played some with WatiN and it does this perfectly but that project seem kind of dead nowadays so I thought I'd look…
Johan Levin
  • 801
  • 1
  • 9
  • 24
11
votes
1 answer

How to download a full website?

After fixing the code of a website to use a CDN (rewriting all the urls to images, js & css), I need to test all the pages on the domain to make sure all the resources are fetched from the CDN. All the sites pages are accessible through links, no…
SimonW
  • 5,527
  • 3
  • 27
  • 35
10
votes
3 answers

How can I run selenium tests on browserstack.com?

Say I want to perform the following test on my website: Load it into the browser. Click on a button, which performs some Javascript. Wait for the Javascript action to complete. Look at how the page appears now. I know how to create a Selenium test…
cheesus
  • 11,077
  • 10
  • 64
  • 122
10
votes
6 answers

How to find specific lines in a table using Selenium?

Here is an example code:
So this table being in productOrderContainer has several columns and depending on several things will have several rows which all have several…
Koray Tugay
  • 20,438
  • 37
  • 155
  • 276
10
votes
1 answer

Right way to test page load time in selenium?

I'm trying to programatically test the load time of a list of websites. The purpose is to roughly simulate the page load time a user will perceive. My first approach is to call the following inside a loop: startTime =…
cookM
  • 833
  • 3
  • 8
  • 11
9
votes
2 answers

Is there a way to set context-params programmatically in embedded jetty?

Looking at the following example of an embedded Jetty Example: http://musingsofaprogrammingaddict.blogspot.com.au/2009/12/running-jsf-2-on-embedded-jetty.html The following code sample is given (below. The author then goes on an gives an example of…
hawkeye
  • 31,052
  • 27
  • 133
  • 271
9
votes
1 answer

WebDriverException:can't load profile error in selenium python script

I am using selenium webdriver in python to drive Firefox automaticly, the python script is exported from the selenium IDE add-on in Firefox. But when I run the script it raise error: …
Treper
  • 3,119
  • 2
  • 24
  • 44
9
votes
7 answers

Testing: I *want* to test web.config

I want to do some unit testing on one of my projects. This is a web project, and there will only be one copy of this program running aside from development copies. I want to write some unit tests that will use the web.config. I understand that…
Vivian River
  • 28,530
  • 54
  • 179
  • 298
9
votes
1 answer

Handling POST parameter differences on identical URLs in Fiddler recording?

I need to record how my client side scripts act in a 3rd party web app. So I am trying to use Fiddler to record the traffic on the 3rd party's machine and then run it here. Sounds great, but my scripts make AJAX calls to an ASPX (123.aspx) page,…
8
votes
2 answers

Oneplus 6 viewport size for chrome Emulated Devices

I would like to add OnePlus 6 as custom devices in the emulated devices list of Google Chrome but I don't manage to find: Device pixel ratio User agent string
Arcayne
  • 1,174
  • 1
  • 15
  • 33
8
votes
3 answers

OnePlus 3 & Oneplus 5 viewport size for chrome Emulated Devices

I wanted to add OnePlus 3 and OnePlus 5 as custom devices in the emulated devices list of Google Chrome. Please provide the viewport size so that I can test my website with it. Example for pixel 2 display dimentions Thanks in Advance
8
votes
5 answers

Web Test recorder does not allow me to record a test IE11 windows 7

I am trying to record a Web Performance Test using the Web Test Recorder 12.00 plugin that comes with VS 2013. This is what I get when the toolbar opens: As you can see the buttons are greyed out and disabled. I have followed this work around, but…
AMember
  • 2,930
  • 2
  • 28
  • 58
8
votes
4 answers

Is there a headless browser for .NET (for automated Web-UI-Tests)?

Is there a headless browser for .NET? I am looking for this in a testing context. Coming from Java I am thinking of something similar to HtmlUnit (http://htmlunit.sourceforge.net/) which itself is the base for different higher level tools like Canoo…
jbandi
  • 14,967
  • 8
  • 62
  • 75
8
votes
1 answer

How to disable Flash in Firefox with Selenium in Python?

Trying to disable Flash in Firefox with Selenium in Python, using profile settings. This question specifies a way to do it through the GUI, but it would be better for this particular use case to do it programmatically. Specifically, the best…
Juan Carlos Coto
  • 9,760
  • 18
  • 52
  • 95
1
2
3
45 46