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
12
votes
5 answers

Is there a way to test a web site on the iPhone without an iPhone?

I want to test a website to see how it works with the iPhone but I don't own an iPhone or an iPod touch. Is there a way I can test how the site works on them without owning one? What I'm really after is fixing how Stackoverflow's WMD markdown…
Dana Robinson
  • 4,304
  • 8
  • 33
  • 41
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
  • 830
  • 1
  • 9
  • 26
11
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
  • 22,894
  • 45
  • 188
  • 319
11
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
  • 953
  • 3
  • 8
  • 11
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…
Jonas Sourlier
  • 13,684
  • 16
  • 77
  • 148
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
  • 34,745
  • 30
  • 150
  • 304
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,539
  • 2
  • 26
  • 48
9
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
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
  • 31,198
  • 62
  • 198
  • 313
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,…
Jim W
  • 4,866
  • 1
  • 27
  • 43
8
votes
2 answers

Command to run two or multiple tests

How to run two or more tests from a single TestCafe CLI command. -t "Test name" accepts only one test name. https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html#-t-name---test-name Requirement: Want to run…
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,186
  • 1
  • 15
  • 35
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
  • 3,037
  • 2
  • 33
  • 64
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
  • 17,499
  • 9
  • 69
  • 81
1
2
3
48 49