verify field editable
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
verify field editable
How to verify the field is not editable
- Labels:
-
Checkpoints
-
Desktop Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use the Object Spy tool to have a look at the properties of your control. The appropriate property value will be either true or false, this will usually indicate whether the control is editable.
For example,
You can then perform a check point, to test the property value.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But in my case, as the value is not editable then also it is showing Enabled=True. So can you please suggest to me while adding property checkpoint which property I need to select?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just showed an example. You have to use the Object Spy tool. Not all control properties are the same.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Shivani3, while adding the property checkpoint you can look for these three options. Also, it depends on how your application was coded. Look into the source code of that object and find if the class has attribute as disabled.
