Here is my Html:
<div class="x-form-item " tabindex="-1" id="ext-gen118"><label for="ext-comp-1060" style="width:40px;" class="x-form-item-label" id="ext-gen119">Name:</label><div class="x-form-element" id="x-form-el-ext-comp-1060" style="padding-left:45px"><div class="x-form-field-wrap x-form-field-trigger-wrap x-trigger-wrap-focus" id="ext-gen120" style="width: 168px;"><input type="text" size="16" autocomplete="off" id="ext-comp-1060" name="ext-comp-1060" class="x-form-text x-form-field x-form-focus" style="width: 143px;" title=""><span class="x-form-twin-triggers" id="ext-gen121"><img src="/mco/extjs/resources/images/default/s.gif" alt="" class="x-form-trigger x-form-clear-trigger" id="ext-gen122" style="display: none;"><img src="/mco/extjs/resources/images/default/s.gif" alt="" class="x-form-trigger x-form-search-trigger" id="ext-gen123"></span></div></div><div class="x-form-clear-left"></div></div>
I have tried below id "ext-comp-1060 is dynamic so that I cannot use.
xpath = "//div[@class='x-form-field-wrap x-form-field-trigger-wrap x-trigger-wrap-focus']//input[@class='input.x-form-text.x-form-field.x-form-focus']"
css = "input.x-form-text.x-form-field.x-form-focus"Thanks in Advance