web-testing

How to debug protractor in VS CODE?

[亡魂溺海] 提交于 2020-05-30 07:05:13
问题 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. 回答1: you have 2 best ways. Method A: 1) Configure VSCode. This is my launch configuration: (change the folder path and files as needed). { "version": "0.2.0", "configurations": [ { "name": "Launch Backoffice", "type": "node", "request": "launch", "program": "${workspaceRoot}/node

How to debug protractor in VS CODE?

夙愿已清 提交于 2020-05-30 07:05:08
问题 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. 回答1: you have 2 best ways. Method A: 1) Configure VSCode. This is my launch configuration: (change the folder path and files as needed). { "version": "0.2.0", "configurations": [ { "name": "Launch Backoffice", "type": "node", "request": "launch", "program": "${workspaceRoot}/node

Find elements using css selector/xpath of Selenium Webdriver with Ruby

泄露秘密 提交于 2020-01-15 05:38:08
问题 I have recently started using Selenium to test an app having webviews. Well the code for my webview is: <div class="class1 class2 class3 class4" style="padding: 4px;" id="_6bd7b91a-214c-4075-b7db-dcaa08155e1a"> <span class="class5" style="font-weight: bold; text-decoration: underline;">This is TITLE</span> <div class="class6" dd:contenttype="content_type1" dd:concept="TITLE" id="_1d8c4490-d0c1-42ed-a93e-e92ca570dd32"> <div class="class7"> I am writing a re-usable code to find the element for

Visual Studio 2015 Load Testing - Where is Webtest.AddCommentToResult exposed?

删除回忆录丶 提交于 2020-01-05 05:43:06
问题 I am trying to add instrumentation to my load test code as well as perform validation of my web responses in a validation rule. I was hoping I could achieve both of these needs using the Webtest.AddCommentToResult method found here: However I cannot seem to find where these comments I add get exposed, both in the load test results when I view them in the analyzer as they run and finish, or in the SQL controller after the fact. How are these comments exposed and can I access them? My custom

Web UI Test Automation

百般思念 提交于 2020-01-04 09:06:14
问题 I'm looking at the tools (Test Telerik WebUI Studio, Visual Studio 2010 Test Professional) to automate testing web applications written in NET. Do you use such tools? If so, what tools are you using and what experience do you have with this type of testing. Particularly I am interested in issues of maintenance of such tests (for example, if you change layouts.) 回答1: Disclaimer: I work for Telerik; I'm just sharing the relevant resources for the WebUI Test Studio Regarding the WebUI Test

Web UI Test Automation

自作多情 提交于 2020-01-04 09:05:10
问题 I'm looking at the tools (Test Telerik WebUI Studio, Visual Studio 2010 Test Professional) to automate testing web applications written in NET. Do you use such tools? If so, what tools are you using and what experience do you have with this type of testing. Particularly I am interested in issues of maintenance of such tests (for example, if you change layouts.) 回答1: Disclaimer: I work for Telerik; I'm just sharing the relevant resources for the WebUI Test Studio Regarding the WebUI Test

Web Performance Test: SignalR - Unrecognized user identity

半世苍凉 提交于 2019-12-25 02:37:10
问题 When running a recorded Web Test using Visual Studio, initializing the signalr connection triggers the error. Unrecognized user identity. The user identity cannot change during an active SignalR connection. Request: GET /Computer/signalr/connect? transport=foreverFrame& connectionToken=xxx& connectionData=yyy& tid=7& frameId=1 HTTP/1.1 User-Agent : Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) Accept : */* Accept-Language : en-GB Accept-Encoding : GZIP Host : test.host.com

Sign in Webtest Oauth2

狂风中的少年 提交于 2019-12-25 02:28:52
问题 Using a full VS Enterprise to do some load testing against our WebApplication, I am struggling to create a webtest that works. Our tested site is an Azure WebApp/API with an AAD authentication frontend. It is the authenticating as a test user that is failing. While recording with VS or fiddler, I'm failing to playback the test again. I believe it is a credentials/token issue... As our app is not a Native one, I cannot get a token for a specific users credentials. (I'm getting a known

master runner in testcafe for several other runners?

℡╲_俬逩灬. 提交于 2019-12-24 07:39:11
问题 I have several runners which are using promise.race to complete the testcase at a particular time Say I have runner1.js, runner2.js runner3.js, how do I create a master runner so that I can run all these runners together? const createTestCafe = require('testcafe'); let testcafe = null; // createTestCafe('localhost', 1337, 1338) createTestCafe() .then(tc => { testcafe = tc; //create test runner for configuring and launching test tasks const runner = testcafe.createRunner(); return runner //run

Regularly invoking an interactive process (WatiN tests) via Task Scheduler

荒凉一梦 提交于 2019-12-24 03:24:44
问题 I'm using a suite of WatiN tests driving IE to do some periodic sanity checking for the purposes of monitoring a site. The suite works fine when I invoke it interactively and/or when I configure the task in Task Scheduler to "Run only when the user is logged on". However, when I set it to "Run whether the user is logged on or not", and check the "Run with highest privileges" option (WatiN can't talk to the browser satisfactorily under Windows Server 2008 and many other OSes without having