Can any one help how can I include junit in upload image interface?

I did upload image interface with jsp and servlet. I just need to know can I include this with junit? If so how? can anyone help?

Error Message:
Uploaded file should be of (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) type     1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 1st selection of the above test case
2) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) other than this from the browse button with the 3rd selection of the above test case
Shows uploaded image link with date and time.     1) Select a file of type (.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 1st selection of first test case.
2) Select a file of type
(.bmp|.gif|.jpg|.jpeg|.png|.htm|.html) from the browse button with the 3rd selection of first test case.
3) Select a file of type
(.swf) from the browse button with the 5th selection of first test case.
Is this unit tests?
If so how to implement junit?

Similar Messages

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • When i was trying to update my iphone 4s from 6.1.4 to ios 7,its asking to change the media sync  options,how can i change that option,can any one help me.........?

    when i was trying to update my iphone 4s from 6.1.4 to ios 7,its asking to change the media sync  options,how can i change that option,can any one help me.........?

    I tried powering down and re-starting the iPhone (as suggested at http://support.apple.com/kb/TS1275). This seems to have cleared the "...not connected to the Internet" problem, and iOS 6.1 is now in the process of downloading.
    Thanks very much for your feedback.

  • TS1630 My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    You might like to define "not working properly".

  • I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow the steps in iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. See iTunes for Windows: Issues syncing iOS devices with P55 and related Intel Chipsets for more information.
    From Here  >  http://support.apple.com/kb/TS3694

  • Can any one help me how to install webcenter sites on windows

    I'm new to WCS ,can any one help me how to install WCS on windows 64 bit. (not Jump starter kit)
    I had downloaded " ofm_sites_generic_11.1.1.6_bp1_disk1_1of1.zip " from ONT forum
    can any one guide me with step by step procedure to intall
    Edited by: 1000252 on Apr 15, 2013 11:59 PM

    Hi
    You can find the installation documentation here:
    http://docs.oracle.com/cd/E29495_01/index.htm
    The way the documentation is structured it is structured based on the Application server you would like to use in your installation.
    You might want to look into the following docs, again depending on your choice of supported application server and database server:
    - Installing on Apache Tomcat Application Server
    - Installing on IBM WebSphere Application Server
    - Installing on Oracle WebLogic Application Server
    - Configuring Supporting Software
    The last document provides information how to configure the DB for your installation.
    Hope this helps.
    Cheers,
    Rodney

  • I cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    i cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    Unless you're trying to tether your phone to your computer or create a personal hotspot, it won't pair with your computer by bluetooth. File transfer by bluetooth is not supported. So, you can quit trying unless you're trying to tether.

  • Can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my cumputer

    can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my computer

    Make sure there's enough free space on the startup disk.
    Right or control click the MacintoshHD icon on your Desktop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.
    If there's sufficient disk space, the startup disk may need repairing.
    Launch Disk Utility located in /Applications/Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click Verify Disk  (not Verify Disk Permissions)
    You will need your install disc if the startup disk needs repairing.
    Using Disk Utility to verify or repair disks

  • I have clicked on to a app and now my apple store app is Spanish andi don't know how to change it back can any one help me?

    I have clicked on to a app and now my apple store app is Spanish andi don't know how to change it back can any one help me?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you are located.
    8. Tap "Done".

  • Hai iam Iliyas . I try to restore ios 6.1.4 from ios7.0 but iam getting an error 3194 so how to fix this issue can any one help me plz....

    Hai Iam Iliya. Iam facing a problem with my Iphone that i tryed to restore back to ios 6.1.4 using itunes but it's giving me an error like "iphone cound not be restore due to an internal erroe 3194" so can any one help to fix my problem.. plzzz.

    You cannot go back to iOS 6. You have probably ruined your phone by trying to do that. We canno help you here. Sorry.

  • Am unable to insert table and graphs into word document in labwindow/CVI? can any one help me ?

    Am unable to insert table and graphs into word document in labwindow/CVI? can any one help me ?

    Are you using the Word Report Generation instrument? You can find it in toolslib\activex\word\wordreport.fp under the CVI directory.
    The instrument comes with a sample project that shows how to include table and graphs in a Word document: see samples\activex\word\wordrpt.cws in the samples foder of your CVI installation.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Can any one know how do restrict that fields in mm

    hi gurus
    can any one know how do we restrict the fields in the material master.  Where do we control  do any one know the transaction code for that.
    Thanks in advance

    OMSR
    and
    OMS9
    Help for OMSR
    Assign Fields to Field Selection Groups
    To define whether a field is hidden or displayed, or whether an entry is mandatory or optional in material master maintenance, you must assign the field to a field selection group. You may assign a field to one field selection group only.
    Before including customer-defined fields in a field selection group together with standard fields, or assigning standard fields to a different field selection group, familiarize yourself with the assignment of fields to field selection groups in the standard R/3 System.
    Standard settings
    The values of the field selection groups have been preassigned as follows:
    001-110 Material master for industry
    111-120 Reserved for customers (except where the values are already in use)
    121-150 Material master for industry
    151-210 Material master for retail
    211-240 Reserved for customers
    Recommendation
    If possible, use the setting in the standard R/3 System. No further action is then required. If you want to make individual fields inaccessible, the easiest way is to group them together in a single field selection group and to set it to Display or Hide.
    Activities
    1. Check the setting in the standard R/3 System.
    For this, you need to know the data screen on which the relevant field appears in the material master, and the name of the screen field, for example, MARA-MEINS in the case of the base unit of measure.
    2. If necessary, change the assignment of fields to field selection groups as required.
    Further notes
    In the case of long texts, you define whether the entire screen is hidden or displayed, or whether entries are mandatory or optional. For this reason, each screen has been assigned to one of the following dummy fields:
    LTEXT_BEST Purchase order text
    LTEXT_GRUN Basic data text
    LTEXT_IVER Internal comment
    LTEXT_PRUE Inspection text
    LTEXT_VERT Sales text
    help for OMS9
    Maintain Field Selection for Data Screens
    In this IMG activity, you create and maintain field references. You can see where a field reference is used by choosing Where-used list.
    Activities
    Define or change the field references as required (except for field references with the prefix SAP which must not be changed). New field references must begin with Y or Z.
    Changing the Field Selection Options for a Field Selection Group
    1. Specify the field selection group.
    2. Select the field selection option (hide, display, required entry, or optional entry) for each field reference as required.
    3. Save your data.
    Creating a Field Reference
    1. Choose New entries.
    2. Specify a field reference beginning with Y or Z.
    3. Select the field selection option for each field selection group as required.
    4. Save your data.
    Changing a Field Reference
    1. Double-click the relevant field reference.
    2. Change the field selection option for each field selection group as required.
    3. Save your data.
    reward if usefull
    Message was edited by:
            Umakant Bhangale

  • Can any one help me to code a browser

    hi ,
    I am Anil, I am doing an application in java. it needs a browser as IE or Morzilla . i tried to implement the browser using jdic.
    i add jdic.jar files as a external jar file and added it to my project. when i run the program in eclipse it works fine. when i want to create a jar file to my application it shows the follwing error..
    when i click on that jar file , it shows a Java Virtual Machine Launcher dialog box and in that dialog box it shows error Could not Find the main class. Program will exit ..
    this is the error.
    can any one help me to over come the error or any alternative method to implement a browser..

    DarrylBurke wrote:
    Corss poster!
    [http://www.java-forums.org/advanced-java/30298-how-write-job-aggregator-java-j2ee.html]
    dbNot anymore, Fubarable has axed that thread.

  • Safari keeps crashing every time I try to open a link from a different application, i.e. Mail. The trouble report says that some problem occurs with libcooliris.dylib plug-in. Can any one help?

    Safari keeps crashing every time I try to open a link from a different application, i.e. Mail. The trouble report says that some problem occurs with libcooliris.dylib plug-in. Can any one help?
    Thanks!

    Dear Linc,
    Thank you for the advice, John Blanchard1  and Linc Davis
    As suggested in your reference thread I removed "/Library/Printers/hp/PDEs/hpPostScriptPDE.plugin" and the problem has been resolved.
    I am guessing the the plug-in for the hp printers got corrupted and effected every thing, or became unsuitable when I installed an Apple update. I would be most grateful if you can confirm how the problem was coursed so I can understand and learn from this experiance.
    Ash

Maybe you are looking for