Tag: c

50 votes
13 answers
1.6K views
Boolean method naming readability

Simple question, from a readability standpoint, which method name do you prefer for a boolean method: public

avatar
Tuan
0 1 0 9
asked 07 September, 2021
52 votes
10 answers
972 views
Why aren't Java Collections remove methods generic?

Why isn't Collection.remove(Object o) generic? Seems like Collection<E> could have boolean remov

avatar
Percy
0 1 0 9
asked 07 September, 2021
59 votes
6 answers
1.7K views
DefaultInlineConstraintResolver Error in WebAPI 2

I'm using Web API 2 and I'm getting the following error when I send a POST to my API method using II

avatar
Dwain
0 1 0 9
asked 07 September, 2021
53 votes
8 answers
2.1K views
Call a Server-side Method on a Resource in a RESTful Way

Keep in mind I have a rudimentary understanding of REST. Let's say I have this URL: http://api.animals.c

avatar
User demo
0 1 0 9
asked 07 September, 2021
58 votes
8 answers
1.9K views
Why do C++ libraries and frameworks never use smart pointers?

I read in a few articles that raw pointers should almost never be used. Instead they should always be wrapped

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
53 votes
11 answers
1.7K views
How can I verify a Google authentication API access token?

How can I verify a Google authentication access token? I need to somehow query Google and ask: Is [given acce

avatar
Juliane
0 1 0 9
asked 07 September, 2021
63 votes
7 answers
3K views
Convert Enumeration to a Set/List

Is there some one-liner bridge method to dump a given Enumeration to java.util.List or java.util.Set? Somethin

avatar
Omar
0 1 0 9
asked 07 September, 2021
53 votes
10 answers
2.2K views
What is an Endpoint?

I have been reading about OAuth and it keeps talking about endpoints. What is exactly an endpoint?

avatar
Trudy
0 1 0 9
asked 07 September, 2021
59 votes
17 answers
1.8K views
A definitive guide to API-breaking changes in .NET

I would like to gather as much information as possible regarding API versioning in .NET/CLR, and specifically

avatar
Mikki
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
1.7K views
Nightwatch count number of element

I'am a newbie with Nightwatch and i would like to count the number of element. I am able to do this but I

avatar
Thurman
0 1 0 9
asked 07 September, 2021
56 votes
1 answers
1.5K views
How to use an XPath or CSS selector to look for a substring in Nightwatch testing

I'm having to do Nightwatch testing on the following element: <textarea id="xxxxxxxx-971-condition"

avatar
Georgie
0 1 0 9
asked 07 September, 2021
63 votes
1 answers
430 views
Azure pipeline custom task - info logs are considered errors

I have developed an azure custom pipeline task (Build and Release) that executes nightwatch.js test cases. nig

avatar
Deedee
0 1 0 9
asked 07 September, 2021
64 votes
1 answers
1K views
Does TestCafe support sections in page objects (like Nightwatch does) ? If not, how can we achieve this in TestCafe?

We have rich UI with lot of web elements & multi levels of elements on UI segregated into sections. As p

avatar
Venice
0 1 0 9
asked 07 September, 2021
52 votes
1 answers
928 views
How do I prevent errors when clicking an element on the page but element is not clickable?

I am writing a test for an element on the page, but when I use pageObject.click("@MyElement) on the element, s

avatar
Emilia
0 1 0 9
asked 07 September, 2021
46 votes
0 answers
2.9K views
How to fetch values from same class and print w/o excel?

enter image description here Ho do I get the values of all the % (like -76%,88%..and so on) using night watch

avatar
Charis
0 1 0 9
asked 07 September, 2021
51 votes
1 answers
2.8K views
Is there a way to execute system commands from within nightwatch?

I am looking to start some service using the command line tool from within the nightwatch. Searched a lot over

avatar
Mikki
0 1 0 9
asked 07 September, 2021
53 votes
0 answers
2.3K views
Nightwatch - xpath locators stopped working for .waitForElementVisible() and .waitForElementPresent()

My tests has been working well for over a year, today I started to get the following error in numerous parts o

avatar
Boyd
0 1 0 9
asked 07 September, 2021
58 votes
1 answers
2.5K views
ERR_CONNECTION_REFUSED when I start nightwatch via the chromium driver

package.json { "name": "assignment10", "version": "0.1.0", "private": true, "dependencies": { "@da

avatar
Patsy
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
2.2K views
I&apos;m getting issues in running nightwatch test cases in local configuration. For all browsers there&apos;s different issue which are listed as below:

Edge: Error: An error occurred while retrieving a new session: "Unable to create new service: EdgeDriverServic

avatar
Wei
0 1 0 9
asked 07 September, 2021
60 votes
0 answers
1.3K views
Nightwatchjs Test Running Before the `before` Hook Completes

I have a nightwatchjs project setup with this code. module.exports = { beforeEach: browser => {

avatar
Bryant
0 1 0 9
asked 07 September, 2021