Cloning a Request
I am trying to capture button presses of an anthem (ajax code) button click and the test isnt recording this. I use fiddler to capture this and that works but when I try to use the fiddler
FormPostHttpBody request2Body =newFormPostHttpBody();
request2Body.FormPostParameters.Add("Anthem_UpdatePage","true");
request2Body.FormPostParameters.Add("__EVENTTARGET","ctl00$TicketContentArea$DealingControl$btnNewTicket");
request2Body.FormPostParameters.Add("__EVENTARGUMENT","");
I cannot get the button click to fire when paying the webtest.
Can anyone shed some light or give me any advice?
Cheers
Gregor
I have a request (request1) which is working niceley and I want to add a second request (request2) which does the same as request1 and more.
Is there a way to use the first request and add it as part of the second request?
Thanks
Gregor
If I understand correctly, you are just wanting to copy one of the request in the same webtest. You can do that, by using cut and paste or ctl and drag the request. After you have a copy you can make changes to the new request.
Hi Johnny
Sorry its not as simple as that.
Request 1 hits a an anthem button which displays an athem panel.
Request 2 I want to do the same thing and then hit another button within that panel.
SO I need request 1 to finish and then use the response from request 1 (which now shows me the previously hidden panel) to click a button on request2.
How can i accomplish this as the 2nd request shows a response where the panel is still hidden (ie. request 1 isnt ran if you like)
Cheers
Gregor