My request to my web service is done in an HTTP Activity in UFT-API script. I am loading a JSON file for the body of the request and I need to programatically set a value of a particular node on the fly (based on a previously returned value, but that part is irrelevant). How do I identify the element, modify it, and make the request use my modified body. I guess I need to do it in an the before execute event of the activity, but how do I code it?
Marked as spam
Please log in to participate..