Hi All,
I need to enter data in form but in the forms label names are dynamic.Please Refer image
Please let me know if any other information required.
thanks
Hi All,
I need to enter data in form but in the forms label names are dynamic.Please Refer image
Please let me know if any other information required.
thanks
Hi Veerender,
Why do you need to rely on the label if you can inspect and find the id or name of the text box?
Looking at your form I’m sure there’s a unique name or id on those textboxes. Try to inspect them and make it as your locator.
If not, then provide the HTML code of the objects.
Hi Russ Thomas,
https://www.katalon.com/resources-center/tutorials/web-element-locators/
above link is for
|
<div class="field-group">
<label accesskey="u" for="login-form-username"><u>U</u>sername</label>
<input class="text medium-field" id="login-form-username" name="os_username" type="text" value=""> </div>
but in my current application above code is dynamic for every form(i.e CRF's) for Thanks ![]() |
Since there is no complete HTML provided, I’m going to take a guess.
Did you try something like the following xpath:
//input[@type="radio" and contains(., "FT_5")]