web-testing

How to do 'beforeEach' only at Fixture level and not for each test under that fixture

。_饼干妹妹 提交于 2019-12-23 16:26:38
问题 I want to run 'beforeEach' only at the fixture level and not for each test under that fixture fixture `Fixture A for Use Case1` .beforeEach(login) test('A Test 1', async t => { await t --- }); test('A Test 2', async t => { await t --- }); fixture `Fixture B for Use Case2` .beforeEach(login) test('B Test 1', async t => { await t --- }); test('B Test 2', async t => { await t --- }); test('B Test 3', async t => { await t --- }); What Is Happening The login function is being run before every test

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

我的梦境 提交于 2019-12-22 04:53:37
问题 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 without any luck. Are there any restrictions for this tool? Is that a known issue? 回答1: I have disabled the Web Test Recorder Helper Add-on and restarted IE, and enabled Add-on again. And it worked for me. 回答2: This is a known issue. Been around for

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

杀马特。学长 韩版系。学妹 提交于 2019-12-21 20:55:13
问题 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 -P test -no-remote firefox -P test -url www.google.ie But the last part which is trying to open the URL using the test profile does not work, it always opens in the default profile. Is there any way to tell Firefox from the command line to open a URL

Is there a good IE-based Selenium IDE? [closed]

旧城冷巷雨未停 提交于 2019-12-17 22:44:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . The SeleniumIDE project is based on Firefox (and its plugin architecture). My application (for a variety of reasons) only runs on Internet Explorer (6+). In fact, we actively check for non-IE browsers and do an immediate redirect. This is a 6 yr old codebase and we're trying to remove all of the html

Visual studio Web Performance tests - OAuth 2.0

冷暖自知 提交于 2019-12-17 21:36:50
问题 I am trying to create the Web Performance tests for an app that is using Identity Server 3. I can't figure out how to simulate login and get token. For example, I am using myapp.com and identity server is hosted on identity.com . All my endpoints in myapp.com/api are secured and require Bearer token. identity.com can provide me token in exchange for a username and password. identity.com will redirect me to a myapp.com/tokenRedirect?token=*** . How can I catch the token and use it as an

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

痞子三分冷 提交于 2019-12-17 19:36:17
问题 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 WebTest or Celerity. I would like to create automated UI tests for web applications in a .Net environment, but not using Browser-Remoting (Watin, Selenium...) If possible, I would like to stick to a .Net solution and avoid using Java or Ruby tools

What is needed to execute visual studio 2005 web tests?

亡梦爱人 提交于 2019-12-13 16:06:37
问题 Our test department has a series of web tests created using Visual Studio 2005 Team Tester Edition. I would like to be able to execute these tests against my local machine. I attempted to use the mstest command line tool to accomplish this as described in this MSDN article. But I get the following error: C:\WebTests\Participant>mstest /testcontainer:AE_ActivityDue_Touch.webtest Microsoft (R) Test Execution Command Line Tool Version 9.0.30729.1 Copyright (c) Microsoft Corporation. All rights

Why am I getting “event.returnValue is deprecated…” and how can I rectify it? [duplicate]

不想你离开。 提交于 2019-12-12 11:53:08
问题 This question already has answers here : event.returnValue is deprecated. Please use the standard event.preventDefault() instead (7 answers) Closed 6 years ago . In my web site, when I F12 from the browser, I see in the console (Chrome Dev Tools) the error/warning, " event.returnValue is deprecated. Please use the standard event.preventDefault() instead. " Yet I search my project for " event.returnValue " and it turns up no instances of that string. Assuming it is some Microsoft or jQuery

How can I pass a list of values as a parameter to a Visual Studio web performance test or load test plugin?

浪子不回头ぞ 提交于 2019-12-12 06:24:25
问题 Want to pass a list of values as a parameter to a Visual Studio web performance test or load test plugin? Pages such as http://msdn.microsoft.com/en-us/library/ms243191(v=vs.110).aspx explain the basics of how to create a plugin and I have several simple plugins. But there is very little details on how to specify the properties (ie parameters) for the plugin. From examples I have found C# code such as public class MyPlugin : WebTestPlugin { [System.ComponentModel.DisplayName("Simple string

FluentAutomation and selenium 2.32.1.0

不羁的心 提交于 2019-12-11 20:01:48
问题 I recently installed FluentAutomation with selenium 2.32.1.0 from nuget. However, When I try to open a page using the I.Open("http://") method I get the following exception: Could not load file or assembly 'WebDriver, Version=2.25.1.0, Culture=neutral, PublicKeyToken=1c2bd1631853048f' The FluentAutomation version in nuget says that it depends on Selenium.Support (≥ 2.25.1) which lead me to believe I could install 2.32.1.0. Does this mean that the FluentAutomation nuget package was built with