ATF "Field is not editable" problem.

flipflorey
Kilo Contributor

Here is the situation.

Inside of the ATF test,

I open a INC, submit it.
Reopen it.

I want to check the "Add On-Call Time" box (set from false to true) in the picture below.

090517OnCallTime.PNG

The ATF verifies that it is set to false.

And in the same environment (TEST) I can select it. When I do it should make 2 fields visible "On Call Start Time" and "On Call Stop Time". As pictured below.

090517OnCallTime2.PNG

The error that I am getting when I run the test is telling me that the field is "not editable". See pic below.

090517Error.PNG

The failure reads - FAILURE:Unable to set field 'u_add_on_call_time' to value 'true'. Field 'u_add_on_call_time' is not editable. See screenshot.

The screenshot offers no help at all. The field appears to be editable in the screenshot.

Any insights into why I cannot select a field that is totally selectable?

2 REPLIES 2

Simon Ohle
Kilo Guru

So I had a similar problem and I resolved it after creating the test in the "global" scope instead of 'Incident ATF test' . Also verifying that I am in the right form by selecting it with the specific sys_id.

Hope this helps people, that have a similar problem.

Joshwa Antony S
Mega Guru

Hi,

If you have used Impersonation step with some user, Impersonate as that user manually and see whether fields in editable to that user.

OR run the ATF without impersonation step, so that it will run for your profile.

By this way you can figure it out, whether that field editable or not.

Enable screenshot for fail steps in the client runner, this will also let you know the actual error with screenshot

Regards,

JAS