test_cases

Textbox Test Cases

Sr No.Case DescriptionDataExpected Output
1inputMdl is passedinputMdl = 'Initial Value'Textbox is shown with default value as 'Initial Value'.
2disableddisabled = trueUneditable text box will be shown with default value.
3cst-textbox-element-override is passed..cst-textbox-element-override {margin-right:20px}Textbox is shown with customized style of the class passed.
4blur event callback is passed.evtBlurCallback()On blur, callback is called passing event and info object.
5otherInfo is passed with blur event.otherInfo = ''otherInfo is also set in info object when blur callback is called.
6Text enter in textbox is very big.Behave as normal text box. Text keeps going to left.