protractor icon indicating copy to clipboard operation
protractor copied to clipboard

How to write a text value into json file

Open prakashomp opened this issue 12 years ago • 2 comments

Hi, I want to write a text value to a object of json file foe example

{ "main":{ "address":{ 'name":"name", "city":"" } } }

I want to write city value into file and if already available it should replace other values should be available . How to write in protractor.

Regards, OmPrakash

prakashomp avatar Jul 07 '14 07:07 prakashomp

I don't think this question is specific to protractor. I'm not sure what this has to do with end to end testing.

juliemr avatar Jul 07 '14 16:07 juliemr

I am not able to write in specific place but it is replacing total previous data.

prakashomp avatar Jul 08 '14 04:07 prakashomp