Absent Member.
Absent Member.
1803 views

Replay issue when deleting records from a table (Using Silverlight protocol)

HI all,

Im triying to delete a record from a table using Vugen, but when I replay, it doesn't delete any record, seeing the generate code I cant see any part to convert in to a variable to control what record I want to delete. 

these are the steps that I did:

1) Clic on a record (will appear a window) 

2) Clic on the delete boton 

3) Record is deleted 

(I  Attached some pictures of the proces)

This is the generate code 

 I'll greatly appreciated your contributions 

------------------------------------------------------------------------------------

Action()
{

    web_add_auto_header("Accept-Language", "en-US");

    web_add_auto_header("User-Agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Win64; x64; Trident/6.0)");

    web_add_auto_header("Accept-Encoding", "gzip, deflate");

    web_custom_request("auctiondemandform.xhtml_2", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t21.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frm2%3Atable%3Aj_id_2f=&frm2%3Atable%3Aj_id_2m=&frm2%3Atable%3Aj_id_2mInput=&frm2%3Atable%3Aj_id_2v=&frm2%3Atable%3Aj_id_32=&frm2%3Atable%3Aj_id_39=&frm2%3Atable%3Aj_id_3g=&frm2%3Atable%3Aj_id_3n=&frm2%3Atable%3Aj_id_3u=&frm2%3Atable%3Aj_id_3uInput=&frm2%3Atable%3Aj_id_43=%3D&frm2%3Atable%3Aj_id_43Input=%3D&frm2%3Atable%3Aj_id_45=&frm2%3Atable%3Aj_id_4c=%3D&frm2%3Atable%3Aj_id_4cInput=%3D&frm2%3Atable%3Aj_id_4e=&frm2%3Atable%3Aj_id_4l=%3D&frm2%3Atable%3Aj_id_4lInput=%3D&frm2%3Atable%3Aj_id_4o"
        "=&frm2%3Atable%3Aj_id_4v=&frm2%3Atable%3Aj_id_4vInput=&frm2%3Atable%3Aj_id_54=&frm2%3Atable%3Aj_id_5b=&frm2%3Atable%3Awi=&frm2%3Atable%3Asi=3%2C3%7C3%7C%7Cx&frm2_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRkn0F4cMIBqApe%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1IkEU8EmW%2Bo0Ixl5sMit1qKu9gJbGQ%3D%3D&javax.faces.behavior.event=selectionchange&org.richfaces.ajax.component=frm2%3Atable&rfExt=null&AJAX%3AEVENTS_COUNT=1&"
        "javax.faces.partial.event=click&javax.faces.source=frm2%3Atable&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frm2%3Atable&javax.faces.partial.render=%40component&frm2=frm2", 
        LAST);

    web_concurrent_start(NULL);


    web_concurrent_end(NULL);

    web_custom_request("auctiondemandform.xhtml_3", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t22.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frmdel_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRklP8VqU%2BJs2H%2B%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1Im64umPSXyCrGvv%2BIXaalo%2FQ3RGvA%3D%3D&org.richfaces.ajax.component=frmdel%3Addel&frmdel%3Addel=frmdel%3Addel&rfExt=null&AJAX%3AEVENTS_COUNT=1&javax.faces.partial.event=click&javax.faces.source=frmdel%3Addel&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frmdel%3Addel&"
        "javax.faces.partial.render=%40component&frmdel=frmdel", 
        LAST);

    web_concurrent_start(NULL);

    

    web_concurrent_end(NULL);

    web_custom_request("auctiondemandform.xhtml_4", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t23.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frm2%3Atable%3Aj_id_2f=&frm2%3Atable%3Aj_id_2m=&frm2%3Atable%3Aj_id_2mInput=&frm2%3Atable%3Aj_id_2v=&frm2%3Atable%3Aj_id_32=&frm2%3Atable%3Aj_id_39=&frm2%3Atable%3Aj_id_3g=&frm2%3Atable%3Aj_id_3n=&frm2%3Atable%3Aj_id_3u=&frm2%3Atable%3Aj_id_3uInput=&frm2%3Atable%3Aj_id_43=%3D&frm2%3Atable%3Aj_id_43Input=%3D&frm2%3Atable%3Aj_id_45=&frm2%3Atable%3Aj_id_4c=%3D&frm2%3Atable%3Aj_id_4cInput=%3D&frm2%3Atable%3Aj_id_4e=&frm2%3Atable%3Aj_id_4l=%3D&frm2%3Atable%3Aj_id_4lInput=%3D&frm2%3Atable%3Aj_id_4o"
        "=&frm2%3Atable%3Aj_id_4v=&frm2%3Atable%3Aj_id_4vInput=&frm2%3Atable%3Aj_id_54=&frm2%3Atable%3Aj_id_5b=&frm2%3Atable%3Awi=&frm2%3Atable%3Asi=5%2C5%7C5%7C%7Cx&frm2_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRklAIKvqB6iwjO%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1IneEvMwUwDdmu6UU7gGNBcRt0iEPw%3D%3D&javax.faces.behavior.event=selectionchange&org.richfaces.ajax.component=frm2%3Atable&rfExt=null&AJAX%3AEVENTS_COUNT=1&"
        "javax.faces.partial.event=click&javax.faces.source=frm2%3Atable&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frm2%3Atable&javax.faces.partial.render=%40component&frm2=frm2", 
        LAST);

    web_custom_request("auctiondemandform.xhtml_5", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t24.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frmdel_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRkkN3%2FYljCdw6u%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1Im%2FxovpYjkZDKg9oN%2BUXh5zSEymNw%3D%3D&org.richfaces.ajax.component=frmdel%3Addel&frmdel%3Addel=frmdel%3Addel&rfExt=null&AJAX%3AEVENTS_COUNT=1&javax.faces.partial.event=click&javax.faces.source=frmdel%3Addel&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frmdel%3Addel&"
        "javax.faces.partial.render=%40component&frmdel=frmdel", 
        LAST);

    web_custom_request("auctiondemandform.xhtml_6", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t25.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frm2%3Atable%3Aj_id_2f=&frm2%3Atable%3Aj_id_2m=&frm2%3Atable%3Aj_id_2mInput=&frm2%3Atable%3Aj_id_2v=&frm2%3Atable%3Aj_id_32=&frm2%3Atable%3Aj_id_39=&frm2%3Atable%3Aj_id_3g=&frm2%3Atable%3Aj_id_3n=&frm2%3Atable%3Aj_id_3u=&frm2%3Atable%3Aj_id_3uInput=&frm2%3Atable%3Aj_id_43=%3D&frm2%3Atable%3Aj_id_43Input=%3D&frm2%3Atable%3Aj_id_45=&frm2%3Atable%3Aj_id_4c=%3D&frm2%3Atable%3Aj_id_4cInput=%3D&frm2%3Atable%3Aj_id_4e=&frm2%3Atable%3Aj_id_4l=%3D&frm2%3Atable%3Aj_id_4lInput=%3D&frm2%3Atable%3Aj_id_4o"
        "=&frm2%3Atable%3Aj_id_4v=&frm2%3Atable%3Aj_id_4vInput=&frm2%3Atable%3Aj_id_54=&frm2%3Atable%3Aj_id_5b=&frm2%3Atable%3Awi=&frm2%3Atable%3Asi=2%2C2%7C2%7C%7Cx&frm2_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRknnw0AcsUvXwO%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1ImnnlaAv3ngSlTEEddxS17mx3NKsA%3D%3D&javax.faces.behavior.event=selectionchange&org.richfaces.ajax.component=frm2%3Atable&rfExt=null&AJAX%3AEVENTS_COUNT=1&"
        "javax.faces.partial.event=click&javax.faces.source=frm2%3Atable&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frm2%3Atable&javax.faces.partial.render=%40component&frm2=frm2", 
        LAST);

    web_custom_request("auctiondemandform.xhtml_7", 
        "URL=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=http://54.225.72.179:8080/auctions/faces/app/operations/auctiondemandform.xhtml?FM=1", 
        "Snapshot=t26.inf", 
        "Mode=HTML", 
        "EncType=application/x-www-form-urlencoded; charset=utf-8", 
        "Body=frmdel_SUBMIT=1&javax.faces.ViewState=sLKBl%2BlA2DXZG%2Blm4ut6IR1mh9qAAh5Y%2BUNxegxlr2csGME9xq7Ds3T8j7ZHqjteSnwNhTq%2BRkntREk2NFmH%2Fe%2Byp8K8ryATuswKtLsIplyF6ELV7nA2m1V%2BhewNCDHjnOfkNSNV1InLIA5JdIYED2Q78vABzQVsL0Zu4w%3D%3D&org.richfaces.ajax.component=frmdel%3Addel&frmdel%3Addel=frmdel%3Addel&rfExt=null&AJAX%3AEVENTS_COUNT=1&javax.faces.partial.event=click&javax.faces.source=frmdel%3Addel&javax.faces.partial.ajax=true&javax.faces.partial.execute=%40component%20frmdel%3Addel&"
        "javax.faces.partial.render=%40component&frmdel=frmdel", 
        LAST);

    return 0;
}
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.