Learning Something New: 18/07/2018

“When we compare ourselves to others, we reject ourselves. In the moment, we’re defined by that breadth of comparison rather than the extraordinary uniqueness that makes us who we are.”.

Subject: Java Fundamentals

    1. Primitive Data Types for Variables
      • Integer
      • Floating
      • Character
      • Boolean
    2. Data Types - Size in Bits - Min Value - Max Value - Literal Format
    3. Integer Types:
      • long type: uses literal formal 'L'
    4. Floating Types:
      • float type: uses literal format 'f'
      • double type: uses literal format 'd'
    5. Character Types:
      • Literal values are stored in single quotes.
      • Also stores unicode characters.
    6. Boolean Types:
      • Stores either True or False
    7. Primitive Data Types are stored by Value.

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

    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

    This entry was posted in ,,. Bookmark the permalink.

    Leave a Reply