Web Testing 101 - How to test World Wide Web - 2018

Subject: Web Testing 101 - How to test World Wide Web

Topics:
  1. ID Elements on Web:
    • Most of the Web applications, I see there are errors in console. 
    • Typical ones are Same Element Id is used twice. I learnt myself, that there should be unique id's instead of duplicate element ids.

[DOM] Found 2 elements with non-unique id #priceVal_1412: 
<input type=​"hidden" id=​"priceVal_1412" value=​"20.7">​ 
<input type=​"hidden" id=​"priceVal_1412" value=​"17.57"> 

Albert Gareev mentions: That will also impact accessibility. Screen readers rely on id to describe relationships; for example, edit box and its label.


Follow HTML guidelines

Web browsers are designed with the HTML specification in mind, and going against it can lead to unexpected issues with your web page. This means:
Element id attributes should be unique: no two elements should have the same id.


References: https://www.chromium.org/developers/design-documents/create-amazing-password-forms

Popular Posts

JMeter Producing Error: Windows RegCreateKeyEx(...) returned error code 5

Understanding about Contract Testing