News for hackers. Stuff that matters.
Re:Scrollbar Blindness by IncRnd on Thursday August 27, 2020 @12:17PM (#24295178)
> Online isn't real-life. You can test in a VM, but it will never be the same as testing on actual hardware.

Ths context is that testing is a solved problem. You are taking specific factual examples I wrote and attempting to debunk them with a general statement that is in agreement with what I wrote. Testing scrollbards can absolutely be tested inside a VM. Pretending that native hardware is needed to cover 99% of the use-cases for scrollbars is kind of silly.

> Even my craptastic company gives me a bunch of devices to test on. And I very deliberately specify very low-end versions of the machines so that I can test against worst-case-scenarios. It's a bonus that sub-optimal hardware is cheap as chips.

You've made my point. This is a solved problem.

Re:Scrollbar Blindness by dmitriid on Thursday August 27, 2020 @12:20PM (#24295212)
> Ths context is that testing is a solved problem.

The only problem that is solved is running multiple browsers in VMs in a cloud. Everything else is anyone's guess.

To come up with an automated test for the problem in the OP you have to be a) aware of the problem and b) have a way to test that scrollbars do/don't appear. Good luck with that.

Re:Scrollbar Blindness by IncRnd on Thursday August 27, 2020 @12:36PM (#24295432)
> The only problem that is solved is running multiple browsers in VMs in a cloud. Everything else is anyone's guess.

That false hyperbole. Just because you do not know something, that doesn't mean that nobody else does.

> To come up with an automated test for the problem in the OP you have to be a) aware of the problem and b) have a way to test that scrollbars do/don't appear. Good luck with that.

No luck is needed, just tests. You may not realize, but test frameworks already exist for testing the screen for the presence of UI elements. That is how dialog boxes are clicked in tests. This is literally solved.

Re:Scrollbar Blindness by dmitriid on Thursday August 27, 2020 @01:47PM (#24296372)
> Just because you do not know something, that doesn't mean that nobody else does.

For the third time you've failed to show how to test for the problem described in OP. It tells me that you don't know

> test frameworks already exist for testing the screen for the presence of UI elements

Which ones test for the presence/absence of scrollbars?

Re:Scrollbar Blindness by IncRnd on Thursday August 27, 2020 @02:58PM (#24297275)
Honestly, it seems like you are playing a game. Did you perform a search of tools that can test ui? There are lots of them. I find it hard to believe that you think there aren't any. That's like saying that compilers don't compile C code anymore, because you only compile C++.

I see our testers doing this all the time - but I don't know what libraries they use. I know the testers at our shop do it with an house built framework as well as with commercial ones. On our company's security team, various people have scripted UI exploits using selenium or appium. I just asked one of the people familiar with those two tools I mentioned, and she said it would take her a few minutes.

These are commodity tools. There is nothing special with any of them.

Re:Scrollbar Blindness by dmitriid on Thursday August 27, 2020 @11:39PM (#24301133)
> Honestly, it seems like you are playing a game. Did you perform a search of tools that can test ui? There are lots of them.

It would'be been so easy to just answer the question I asked. Instead, it's now a thread of non-answers and thinly veiled ad-hominem attacks.

The rest of your long answer is once again working hard on avoiding the answer.

> I find it hard to believe that you think there aren't any.

I didn't say there weren't any. I asked, "which ones let you test the problem in OP".

> I see our testers doing this all the time - but I don't know what libraries they use

Ah, my assumption that you don't know what you're talking about is proven correct.

> On our company's security team, various people have scripted UI exploits using selenium or appium

Question: scrollbars.

"Answers": tools click on buttons, scripting security exploits, I don't know what libraries testers are using.

Ignorance is bliss, isn't it?

> and she said it would take her a few minutes.

Given your answers in this thread, I seriously doubt your ability to ask a proper question to "the people familiar with the tools". Especially given the fact that you don't know what libraries testers use and that you, apparently, don't do any testing yourself.

See, frontend testing is very far from being "a solved problem". Especially for quirks as described in OP. But you wouldn't know because you, well, don't know.

> These are commodity tools. There is nothing special with any of them.

Indeed they are. Indeed there is nothing special. And this still doesn't answer the question.

Re:Scrollbar Blindness by IncRnd on Friday August 28, 2020 @10:00AM (#24304910)
Except that I did answer as to specific toolkits - with two answers for two separate kits.

You used a lot of words to make it seem otherwise. As you yourself wrote, "Ignorance is bliss, isn't it?"

Re:Scrollbar Blindness by dmitriid on Friday August 28, 2020 @04:47PM (#24309755)
> Except that I did answer as to specific toolkits - with two answers for two separate kits

You din't, really. On the third attempt you said "I see our testers doing this all the time - but I don't know what libraries they use" and "various people have scripted UI exploits using selenium or appium. I just asked one of the people familiar with those two tools"

This shows that you started this entire argument with very bad faith. You berated me for not knowing something while you yourself:

- don't do frontend testing using frontend testing tools

- you don't know what tools your testers use

- you assume some capability of some tools only because "you talked to people familiar with them" which further shows that you yourself are not familiar with them.

On the other hand, unlike you, I know what I'm talking about. Granted, I haven't used these tools extensively, but I did use them, and I'm well aware of their limitations.

All you have is, well, empty words.

Re:Scrollbar Blindness by IncRnd on Friday August 28, 2020 @09:26PM (#24312438)
You're still at it???

> You din't, really. On the third attempt you said "I see our testers doing this all the time - but I don't know what libraries they use" and "various people have scripted UI exploits using selenium or appium. I just asked one of the people familiar with those two tools"

Because I see this sort of test being done almost daily... I work in security and not specifically in testing. I mentioned what frameworks are used in a security context. You are beating a dead horse, focusing on what doesn't matter. I suggest you get off hacker news, go educate yourself, and stop pontificating.

When I said that I "just asked" I meant that I just now asked, not that just asking was all I have ever done. You're being foolish, projecting in every comment that you know more than everyone else.

PS. Please quote properly. I wrote that the security team uses selenium and appium not whatever it is that you are pretending I wrote.

Re:Scrollbar Blindness by dmitriid on Saturday August 29, 2020 @02:59AM (#24314247)
A person who doesn't do testing himself, doesn't know which libraries testers use, and has to ask other people how to solve the problem in OP (because he himself doesn't know) is telling me to stop pontificating and go educate myself.

Good luck with your holier than though attitude, and god help your security.

Re:Scrollbar Blindness by dang on Saturday August 29, 2020 @04:43PM (#24319283)
Yikes, you guys. Please don't do flamewars on HN and especially not tit-for-tat spats like this one.

https://news.ycombinator.com/newsguidelines.html

Re:Scrollbar Blindness by IncRnd on Saturday August 29, 2020 @10:14AM (#24316243)
What is wrong with you? I never said any of that. You keep cherry picking half-statements and then taking them out of context.

I did not need to ask other people how to solve a problem. That is a silly interpretation of what I wrote. You are willfully pretending ignorance of how to read and have a conversation.

Pontificate: "express one's opinions in a way considered annoyingly pompous and dogmatic." Yes, you really do need to stop pontificating.

I hope you find happiness.

Re:Scrollbar Blindness by dang on Saturday August 29, 2020 @04:43PM (#24319285)
Yikes, you guys. Please don't do flamewars on HN and especially not tit-for-tat spats like this one.

https://news.ycombinator.com/newsguidelines.html

Re:Scrollbar Blindness by IncRnd on Saturday August 29, 2020 @07:22PM (#24320115)
Gotcha! Thanks.