ATF Record Validation Test Failed - why?

Nia McCash
Mega Sage
Mega Sage

I've been experimenting with the Automated Test Framework and I'm finding lots of quirks.   Here's one that I hope someone in the community can help with...

I have a Record Validation test step which is just checking for the 'Active' flag on a record.   The only two options are true or false, (the test step config doesn't give any other options) but it doesn't matter which I select, the test always fails. Why?

Here is the test step setup:

ATF-record validation.jpg

I've confirmed that a matching record was found in both cases but both tests fail:

ATF-record validation fail1.jpg

ATF-record validation fail2.jpg

1 ACCEPTED SOLUTION

Nia McCash
Mega Sage
Mega Sage

So, in my case, this turns out to be a stupid error on my part.   The user (with no roles) that I was impersonating didn't have permissions to query/read the active field.  



Lesson learned: when impersonating, remember to keep in mind the permissions that to which the impersonated user has access!


View solution in original post

13 REPLIES 13

Sorry, I don't understand what you mean by the HTML section of the form.  Perhaps you can post a screenshot?

When you create a new custom test step, it asks for HTML. I just wanted to see if anything special was required.

Oh wait, nevermind! It's an HTML tag. I thought it needed HTML script!! Sorry!

Oh, man. I've done that as well!!