HI All, I need your tips on this below issue that I am facing . Actually I need to find if a combobox or dropdown element is present or not that is present inside a table and which is 3rd column.
below is the HTML Script - So i need to to check the select dropdown which in the below script i have marked font in big size and which is in 4 column. [image: Inline image 1] <table class="tbl type2 tableBordered tableFixedLayout"><tbody><!-- ngRepeat: line in SLI.shipmentInfo.shipmentlines track by $index --><tr class="ng-pristine ng-scope ng-invalid ng-invalid-required ng-valid-pattern ng-valid-maxlength" data-ng-repeat="line in SLI.shipmentInfo.shipmentlines track by $index" ng-form="lineForm"><td class="ng-binding" width40="">1</td><td width60="" widthformelefull=""><span class="eleShowErrorMsg"><input class="ng-pristine ng-untouched ng-isolate-scope ng-invalid ng-invalid-required ng-valid-pattern ng-valid-maxlength" number="" maxlength="4" focus-no-validate="" zero-data="" data-ng-pattern="/^[0-9]+$/" id="pieces0" data-ng-model="line.noOfPieces" name="noOfPieces" ng-blur="shipmentInfoDetailsUpdate($index);isActWeightHeavy($index)" required="" type="text"><!-- ngIf: (lineForm.noOfPieces.$error.pattern || lineForm.noOfPieces.$error.minlength) && !lineForm.noOfPieces.$focused --><!--ERR MSG---></span></td><!-- Defect 5382 Fix : Increased the width to display more data of Actual Weight field--><td width80="" widthformelefull=""><span class="eleShowErrorMsg"> <input class="ng-pristine ng-valid ng-isolate-scope ng-valid-pattern ng-valid-maxlength ng-valid-required ng-touched" number="" maxlength="7" focus-no-validate="" zero-data="" data-ng-pattern="/^\d*\.?\d$/" name="actWeight" id="ActWgt0" data-ng-model="line.actualWeight" ng-blur="isActualWeightDecimal();shipmentInfoDetailsUpdate($index);isActWeightHeavy($index)" data-ng-required="SLI.serviceLevel.code=='AOG'" type="text"><!-- ngIf: (lineForm.actWeight.$error.pattern) && !lineForm.actWeight.$focused --><!--ERR MSG---></span></td><!-- Defect 5382 Fix : decreased the width of Weight Unit field--><td width100="" widthformelefull=""><div class="ddSingle"><!-- ngIf: $index==0 --><*select* style="display: none;" class="ng-pristine ng-untouched ng-valid ng-scope" selectpicker="" data-ng-init="SLI.shipmentInfo.actualWeightUnit='LBS'" tabindex="-1" data-ng-model="SLI.shipmentInfo.actualWeightUnit" ng-if="$index==0" ng-change="isActualWeightDecimal();shipmentInfoDetailsUpdate($index);isActWeightHeavy($index)"> <option value="LBS">LBS</option><option value="KG">KG</option></*select*><div class="btn-group bootstrap-select ng-pristine ng-untouched ng-valid ng-scope"><button title="LBS" tabindex="-1" type="button" class="btn dropdown-toggle selectpicker btn-default" data-toggle="dropdown"><span class="filter-option pull-left">LBS</span> <span class="caret"></span></button><div class="dropdown-menu open"><ul class="dropdown-menu inner selectpicker" role="menu"><li class="selected" data-original-index="0"><a tabindex="0" class="" data-normalized-text="<span class="text">LBS</span>"><span class="text">LBS</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="1"><a tabindex="0" class="" data-normalized-text="<span class="text">KG</span>"><span class="text">KG</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li></ul></div></div><!-- end ngIf: $index==0 --><!-- ngIf: $index>0 --> </div></td> <!-- total row --><tr class="totalRow"><td width40="">Total</td><td class="ng-binding" width60="" number="">0</td><td class="ng-binding" width60="" number="">0</td><td class="ng-binding" width100="">LBS</td><td></td><td></td><td></td><td class="ng-binding" width100="">IN</td><td></td><td></td><td></td><td></td></tr></tbody></table> -- BALAJI SINGH .Y -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
