Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF, Not setting some field values

iqbalansari
Kilo Contributor

Good morning Friends,

I have created a test having a step of set field values. Inside that I am setting 3 field values for a Story record.   The test ran fine and the results shows that it set the field values, however when I open the record the value is not updated there, here is the test results and screenshot of record after test ran.

I you see the record, It successfully changing the Percent Complete, but not changing the order and description.

Any idea? What I am missing here?

Results

find_real_file.png

Screen shot of the record:

find_real_file.png

12 REPLIES 12

I am opening a separate browser and opening the change form normally, and searching that record from DB and this is waht I get.


I think this can be connected to type of the field. I checked and ATF has problem with Decimal/Percent Complete types, see Percent complete fields


Maybe this is a bug, we need more tests here.


iqbalansari
Kilo Contributor

Thanks drbz,



I appreciate your help on this, please keep me posted if you find any solution.



Regards


Muhammad


Hi Muhammad,



please try to use comma-notation in both places (test step & story record):


find_real_file.png


find_real_file.png


I checked on my instance and it works when using this format. Values in these fields are reverted correctly. If unsuccessful then please try with dot-notation 91.23, 82.56, 33.66, 44.88. I hope it will help.


iqbalansari
Kilo Contributor

Nope,


Still behaving the same.



when I enter Comma it treats that as whole number makes 88,22 to 8,822.


when I enter Dot it keep the same, but doesn't remove the data after successful execution of test.



Thanks


Muhammad.