How to validate if the 1st Procurement Data Steward option is checked or 2nd Procurement Data Steward option is checked
Table extract is not providing checked or unchecked status
Please suggest the best way to validate?
How to validate if the 1st Procurement Data Steward option is checked or 2nd Procurement Data Steward option is checked
Table extract is not providing checked or unchecked status
Please suggest the best way to validate?
Please indicate both the elements the check and uncheck elmentā¦and try to find the difference in the selector for both in the right top panel or the left bottom panel of the ui explorerā¦and use that property using get attribute to check what value it is and decide if it is check or unchecked
Hope this helps
Cheers
You can use the āGet Attributeā activity to retrieve the ācheckedā attribute of the checkbox element and check its value. A value of āTrueā typically indicates that the option is checked.
you can target to the 1st Procurement Data Steward option if it check it will give the true or else false
Looks like it is not check box to validate whether it is checked or not
i Have taken the sample you can try this way
note : boolChecked variable type is Boolean
If it is a direct check box i would have given you to check on checked propertyā¦as from
The wcreenshot it is evident that it is not a check boxā¦that is the reason gave a way to find the difference in any other propertiesā¦
If nothing is different then it is differentiated with css properties and then we need to use invoke javscript to get those properties and useā¦instead first check if there are any differneces hereā¦may be in classā¦or any other properties in given windows above
Cheers
Hi
āuse a GET ATTRIBUTE activity and indicate that radio button as a element and choose Checked attribute or it can any attribute (it depends on the application, it can be state, innerText, boolean) with this itās value
For more info on this scenario
Check these below similar threads
Cheers @Sathish_Kumar_S
I could find the difference only with ParentClass atttibute where it contains the value as in progress for checked and pending type for unchecked
So u can the same as attribute value to validate it there is no other difference found in attribute level
Cheers @Sathish_Kumar_S