The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Borland/Segue SilkPerformer

Pages: 1
Matus
Newbie


Reged: 09/07/11
Posts: 17
How to use Hex values from file
      #689432 - 10/23/11 10:30 PM Attachment (180 downloads)

Hi I am having a critical problem with the WebPageSubmitBin command when replacing static hex content with a variable that contains the same data but being read in from a file. Any clues on this?

Post Extras: Print Post   Remind Me!   Notify Moderator  
kue
Newbie


Reged: 08/27/07
Posts: 17
Re: How to use Hex values from file [Re: Matus]
      #689464 - 10/24/11 04:07 AM

Can you specify what's the exact problem?
From the attachment it seems as if you're trying to simulate a file upload - you could use WebPageSubmitFileUpload instead.
Cheers,
Thomas

--------------------
Borland (a Micro Focus company)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Matus
Newbie


Reged: 09/07/11
Posts: 17
Re: How to use Hex values from file [Re: kue]
      #689472 - 10/24/11 05:31 AM Attachment (171 downloads)

Thomas, I changed the command to WebPageSubmitFileUpload, now SilkPerformer is encoding what is already encoded in the file. Here is a new screen print of the post data that is attached. You can see it is replacing hex values with the hex of the hex values.

What format should the file be in as it is getting read in?

Thanks,
Matthew


Post Extras: Print Post   Remind Me!   Notify Moderator  
Matus
Newbie


Reged: 09/07/11
Posts: 17
Re: How to use Hex values from file [Re: Matus]
      #689473 - 10/24/11 05:37 AM

You can also see that the file has a different boundary in the previous attachment. Is there a way to override the runtime boundary with the recorded one or do I have to break the file into smaller pieces?

Thanks,
Matthew


Post Extras: Print Post   Remind Me!   Notify Moderator  
kue
Newbie


Reged: 08/27/07
Posts: 17
Re: How to use Hex values from file [Re: Matus]
      #689582 - 10/25/11 07:34 AM

Hi,

Quote:

Thomas, I changed the command to WebPageSubmitFileUpload, now SilkPerformer is encoding what is already encoded in the file.



Which kind of data does your file contain and what is already encoded? Did you copy the original binary data into the file?

Using WebPageSubmitFileUpload you just create a dclform section, eg:
Code:
dclform 
FILE_UPLOAD_FORM:
"filename" := "my_file;c:\\a\\Today\\1.dat;application/octet-stream",
"other name" := "value pairs contained in the <form>";


and the file 1.dat is the actual file you did choose to upload during recording.

Oh and the boundaries are generated on the fly and have just the requirement that they must not appear within the encapsulated material - it should not care that they are different to the recorded ones.

Cheers,
Thomas

--------------------
Borland (a Micro Focus company)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Matus
Newbie


Reged: 09/07/11
Posts: 17
Re: How to use Hex values from file [Re: kue]
      #689661 - 10/26/11 06:30 AM

Thomas, If I already encoded the file and it looks like this attached. Simply generated the file to clone what the recorded post data displays in the TrueLog. The attachment shows the first several lines to give you an idea what it is.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Matus
Newbie


Reged: 09/07/11
Posts: 17
Re: How to use Hex values from file [Re: Matus]
      #689662 - 10/26/11 06:39 AM Attachment (175 downloads)

Attached is a screen print, the forum didn't allow the actual upload.

Post Extras: Print Post   Remind Me!   Notify Moderator  
kue
Newbie


Reged: 08/27/07
Posts: 17
Re: How to use Hex values from file [Re: Matus]
      #689738 - 10/27/11 02:03 AM

Ah I see - I suggested the use of WebPageSubmitFileUpload as (I thought) your request was about customizing the hex data of the WebPageSubmitBin call.

But after re-reading your original statement "replacing static hex content with a variable that contains the same data but being read in from a file." I'm not sure if I gave the right answer.

Can you please clarify for me what kind of data you have to post to the server?
I first thought that you need to customize parts of the hex content...

  • If this is true then let me try to explain the usage of WebPageSubmitFileUpload:

    If you are going to use WebPageSubmitFileUpload you need to specify the actual name-value pairs of the HTML form in the dclform section of your bdl script.

    Let me try to explain:

    From the screenshot I can identify the following name-value pairs posted to the server:
    Code:
    "action" - "first"
    "title" - "Item Title"
    "description" - "Item Description"
    "imgtype" - "1"
    ...


    You will further find the details of the file you're trying uploading - you'd not need to care about the data of the file, you just need to specify the location of the file and the function itself reads the file and puts the content in the appropriate form to upload it to the server.

    So if you'd go with WebPageSubmitFileUpload the dclform section would look like the following:
    Code:
    dclform
    FILE_UPLOAD_FORM:
    "action" := "first",
    "title" := "Item Title",
    "description" := "Item Description",
    "imgtype" := "1",
    ...
    "filename" := "my_file;c:\\a\\Today\\1.dat;application/octet-stream";


    Please refer also to the help of the WebPageSubmitFile Function.

  • Otherwise if you have the complete data which is being sent to the server - including the multipart/form-data control characters - stored in a file and you just want to post that file, then you can simply use the WebPageSubmitFile function.

I hope that helps a bit and does not sound too confusing...

Cheers,
Thomas

--------------------
Borland (a Micro Focus company)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Matus
Newbie


Reged: 09/07/11
Posts: 17
Re: How to use Hex values from file [Re: kue]
      #689856 - 10/29/11 06:49 AM

Thomas,

Hey The name/value pairs solution work perfectly, and the image is being uploaded correctly too. Thanks!

Matthew


Post Extras: Print Post   Remind Me!   Notify Moderator  
Harpreet27
Newbie


Reged: 06/04/12
Posts: 1
Re: How to use Hex values from file [Re: Matus]
      #708697 - 06/04/12 12:29 AM

Hey Matus,

Were you able to resolve this issue. Even I'm unable to read hex string from a .csv file.

Harpreet


Post Extras: Print Post   Remind Me!   Notify Moderator  
arun55303
Newbie


Reged: 09/21/12
Posts: 4
Re: How to use customize the values from file [Re: kue]
      #716819 - 09/21/12 06:46 AM

Hi,
Can you please help me how to customize the values of the file from the webpagesubmitbin to WebPageSubmitFileUpload??

WebPageSubmitBin("StructuredPOUploadsForm", "-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"buttonName\"\r\n"
"\r\n"
"UploadFile\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PaymentDataFilePath\"; filename=\"PO-AF-100-LINES-USER1.csv\"\r\n"
"Content-Type: application/vnd.ms-excel\r\n"
"\r\n"
"PO Number,PO Type,Issue Date,Currency,Amount,Seller Name,Incoterm,Incoterm Loc,Latest Ship Date,Partial Ship,Goods Desc,"
"BUD1,BUD2,BUD3,BUD4,BUD5,BUD6,BUD7,BUD8,BUD9,BUD10,SUD1,SUD2,SUD3,SUD4,SUD5,SUD6,SUD7,SUD8,SUD9,SUD10,Line Item No.,Unit"
" Price,UOM,Qty,QVP,PUD1,PUD2,PUD3,PUD4,PUD5,PUD6,PUD7\r\n"
"POALL-100-AX2100001,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100002,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100003,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100004,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100005,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100006,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100007,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334", "POStructuredFileUploadServlet.jsp"); // Form 1


I have done for file name and button name but im not getting how to pass the values in the below part of the form..

"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334",


Can anyone help me!! arun55303@gmail.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
arun55303
Newbie


Reged: 09/21/12
Posts: 4
How to use customize the values from file [Re: arun55303]
      #716858 - 09/23/12 01:10 AM

Hi,
Can you please help me how to customize the values of the file from the webpagesubmitbin to WebPageSubmitFileUpload??

WebPageSubmitBin("StructuredPOUploadsForm", "-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"buttonName\"\r\n"
"\r\n"
"UploadFile\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PaymentDataFilePath\"; filename=\"PO-AF-100-LINES-USER1.csv\"\r\n"
"Content-Type: application/vnd.ms-excel\r\n"
"\r\n"
"PO Number,PO Type,Issue Date,Currency,Amount,Seller Name,Incoterm,Incoterm Loc,Latest Ship Date,Partial Ship,Goods Desc,"
"BUD1,BUD2,BUD3,BUD4,BUD5,BUD6,BUD7,BUD8,BUD9,BUD10,SUD1,SUD2,SUD3,SUD4,SUD5,SUD6,SUD7,SUD8,SUD9,SUD10,Line Item No.,Unit"
" Price,UOM,Qty,QVP,PUD1,PUD2,PUD3,PUD4,PUD5,PUD6,PUD7\r\n"
"POALL-100-AX2100001,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100002,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100003,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100004,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100005,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100006,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100007,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334", "POStructuredFileUploadServlet.jsp"); // Form 1


I have done for file name and button name but im not getting how to pass the values in the below part of the form..

"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334",


Can anyone help me!! arun55303@gmail.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
arun55303
Newbie


Reged: 09/21/12
Posts: 4
How to use customize WebpagesubmitBin [Re: arun55303]
      #716859 - 09/23/12 01:14 AM

Hi,
Can you please help me how to customize the values of the file from the webpagesubmitbin to WebPageSubmitFileUpload??

WebPageSubmitBin("StructuredPOUploadsForm", "-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"buttonName\"\r\n"
"\r\n"
"UploadFile\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PaymentDataFilePath\"; filename=\"PO-AF-100-LINES-USER1.csv\"\r\n"
"Content-Type: application/vnd.ms-excel\r\n"
"\r\n"
"PO Number,PO Type,Issue Date,Currency,Amount,Seller Name,Incoterm,Incoterm Loc,Latest Ship Date,Partial Ship,Goods Desc,"
"BUD1,BUD2,BUD3,BUD4,BUD5,BUD6,BUD7,BUD8,BUD9,BUD10,SUD1,SUD2,SUD3,SUD4,SUD5,SUD6,SUD7,SUD8,SUD9,SUD10,Line Item No.,Unit"
" Price,UOM,Qty,QVP,PUD1,PUD2,PUD3,PUD4,PUD5,PUD6,PUD7\r\n"
"POALL-100-AX2100001,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100002,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100003,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100004,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100005,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100006,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"POALL-100-AX2100007,INT,20/6/2012,AUD,400,Seller1,FOB,London,22/6/2012,N,Description1,Bud1,Bud2,Bud3,Bud4,Bud5,Bud6,Bud7"
",Bud8,Bud9,Bud10,Sud1,Sud2,Sud3,Sud4,Sud5,Sud6,Sud7,Sud8,Sud9,Sud10,POALL-100-AX2100001,10,Pcs,40,0.1,Pud1,Pud2,Pud3,Pud"
"4,Pud5,Pud6,Pud7\r\n"
"\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334", "POStructuredFileUploadServlet.jsp"); // Form 1


I have done for file name and button name but im not getting how to pass the values in the below part of the form..

"Content-Disposition: form-data; name=\"PODefinitionName\"\r\n"
"\r\n"
"oRBm3ybWqpgRNuDro3ihkg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadDataOption\"\r\n"
"\r\n"
"G\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadInstrOption\"\r\n"
"\r\n"
"IMP_DLC\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"POUploadGroupingOption\"\r\n"
"\r\n"
"U\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"Workflow\"\r\n"
"\r\n"
"xk0DijJFTtviSImvPSM+kg==\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"select\"\r\n"
"\r\n"
"0\r\n"
"-----------------------------41184676334\r\n"
"Content-Disposition: form-data; name=\"ni\"\r\n"
"\r\n"
"-1306226790\r\n"
"-----------------------------41184676334--\r\n", STRING_COMPLETE,
"multipart/form-data; boundary=---------------------------41184676334",


Can anyone help me!! arun55303@gmail.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  AJ, jamesso 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6951

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5