Testing applets within a browser

Hello all,
We are testing an applet within a web browser. As soon as the app opens, it will ask the user to enter user name and pwd in a pop-up window. The openScript hasn't recorded the user inputs while record.
Any thoughts?
Regards,
rookie

Hum it reminds me a problem I had with a Forms authentication which was NOT supported by OpenScript... Long time ago though.
First, I guess it's a load test script. Maybe you could tell us what the authentication is. Someone should know. It could then help to solve the problem. I have an example yesterday where we had to manually add the auth in the OpenScript script
Like:
http.addAuthentication("http://myapp", "jb",deobfuscate("2domIjZNAvyzbduYz04f/g=="));
(right click, add other, http, authentication)
JB

Similar Messages

  • Could not load applet in a browser using jre 1.6.0_06

    Hi,
    I am facing problem with loading applets when the browser uses jre 1.6.0_06.
    Not able to understand what actually the problem is, I tried to check with a small applet that would simply print Hello World on the java console. Even this applet also could not be loaded on the browser. I could load this applet in the test environment of eclipse, but not able to load it on the browser when the applet is deployed on Tomcat.
    We have no problems in loading applet if the browser is using an earlier version of the jre.
    One more thing we have found out that, if we change the SSL cipher suite of the ssl.conf file such that it can support weaker protocols, my applet works with jre 1.6.0_06 also.
    But one thing we could not understand is that why changes in SSL cipher suite of the ssl.conf file creates problem in loading the applet, only in case the browser is using jre 1.6.0_06. I mean to say that changes in the SSL cipher suite does not create any problem in loading the applet if my browser is using an earlier version of jre 1.6.0_06.
    Please help me out as I don't have any clue regarding this problem.
    Thanks in advance.

    Hi,
    We have found a wor around for this problem.
    The following option has been unchecked and the applet could be loaded.
    Go to java control panel
    Under the Advanced Tab
    Under the Security section
    Uncheck the last option "Use TLSv1.0".
    This makes the applet work.
    But could not understand as why this is creating a problem.
    We have tried to include TLSv1.0 in the cipher suite of our apache server, while keeping the above option in java plugin control panel checked, but even that did not solve the problem.
    Please help me of how should I proceed for this problem, as I am totally stuck.
    Thank you.

  • Applet won't initialize when testing Applet

    I compiled my file with no errors, yet when I test the Applet it tells me that it can not initialize, can anyone help me.
    Thanks

    Some source code causing the problem would be nice. Also, if are viewing your Applet in a browser make sure you are using JDK 1.0/1.1 classes/methods.
    Open your java console in your browser to see exactly what the Exception (if any) that is being thrown. (To enable your java console your might have to edit your browser settings, in IE you can do this through your tools/internet options/advanced then check the java console box.)

  • Problem viewing applet in a browser

    Hi guys,
    i'm facing a basic problem in viewing an applet in a browser say
    IE or netscape. beside adding the applet tag to the html file that i want to browse ;is there any other operation to perform on browsers or the Applet in order to view it ?
    i would be very grateful if you help me fix this!
    thanks indeed
    othman

    - Is there a plugin installed on the client machine
    - Is the browser java enabled
    - What tags are you using .. show your html code
    - Are you aware of the security restrictions of the applet and its sandbox
    - Are you able to view the console. What exceptions do you see if any.. show your exceptions
    - What version of IE or Netscape are you testing with
    - What OS are you using, what jvm version..
    - Is the plugin set to be used with IE and Netscape in the Plugin control panel
    - Is your applet code in the same directory as your html file. Does your codebase attribute reflect this.

  • ClickTAG testing problem within Flash

    Hello! I am by no means a Flash pro, more on the noob end of
    the spectrum but I know the basics... I did a search and couldn't
    find what I was looking for on this, and I'm new to the forum, so
    apologies if I miss some etiquette step (I originally posted this
    in the Flash ad section, but its dead over there and thought I
    could get more love here).
    So, I've got a simple linear animation banner ad with a
    topmost layer as a clear button and the clickTAG info from the
    hosting site/agency.
    The code they have provided should be attached below...
    I've tried tracing the button and even that simple step is
    not working.
    Should I be able to test this within Flash? If I swap out the
    code for regular ol' Flash links it works and tests fine. Anyone
    with similar issues, or a solution to shis? TIA!

    rcbmoose,
    > Should I be able to test this within Flash?
    Well, yes and no. How do you like that for an answer? ;)
    > If I swap out the code for regular ol' Flash links it
    works and
    > tests fine. Anyone with similar issues, or a solution to
    shis? TIA!
    >
    > on (release) {
    > if (clickTAG.substr(0,5) == "
    http://www.rebit.com") {
    > getURL(clickTAG, "_blank");
    > }
    > }
    Here's the scoop on clickTAG (and its various spellings,
    including
    ClickTAG, ClickTag, clickTag, clicktag, etc.). As shown, the
    value of
    clickTAG is undefined in Flash because the variable,
    clickTAG, hasn't been
    declared anywhere. If it hasn't been declared, then where
    does the data
    come from, right? Good question.
    What you're seeing here is an example of passing data into a
    SWF from
    the outside. Any string variable can be passed in, and any
    legal variable
    name will do. String variables can be passed in via something
    called
    FlashVars, which is a parameter of either the EMBED tag or of
    a PARAM tag
    inside an OBJECT tag in the HTML. They can also be passed in
    via a query
    string appended to the SWF's file reference in the HTML (e.g.
    nameOfMovie.swf?variable1=value1).
    It just happens that many ad agencies use clickTAG as an
    agreed-upon
    variable for storing URLs for tracking user clicks. Because
    you're testing
    your SWF in Flash, you're not making use of the HTML document
    in which this
    SWF will be embedded. The HTML document will supply a value
    for clickTAG,
    so this needs to be tested in an HTML document. Ah, there's
    the rub. Is
    there a way to debug SWFs inside a browser? There is. :)
    http://www.adobe.com/devnet/flash/articles/debugging_actionscript.html
    The trouble is, you may or may not ultimately have control
    over the HTML
    into which this SWF is embedded. If that HTML embeds the
    variable as
    ClickTAG (or some other variant), Flash Player won't see it,
    because your
    code specifies clickTAG, and variables are case sensitive in
    Flash since
    Flash Player 7. So bear that in mind, and try one of the
    techniques in the
    article (either a temporary dynamic text field or the
    Debugger panel).
    Good luck with that!
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Applet within a table tag.

    Hi,
    I have placed an applet within a <table> tag. The applet does not get executed. I see only blank space, even though the HTML source has the applet tag. If I remove the table tags and place the applet directly in <body>, then it works fine. So there isnt any problem with the codebase or anything.
    Are there any specific rules as to inside which tags can the <applet> tag be embedded? I would apprecite any information regarding this.
    Thanks,
    RG

    This is my html file:
    <table>
         <tr>
              <td>
                   <applet code="test" />
              </td>
              <td>
                   <object ID='jsApplet' classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" >
                      <param name="code" value="test.class" />
                    </object>
              </td>
              <td>
                   <DIV id="dvObjectHolder">Applet comes here</DIV>
              </td>
         </tr>
    </table>
    <script>
    if(window.navigator.appName.toLowerCase().indexOf("netscape")!=-1){ // set object for Netscape:
         document.getElementById('dvObjectHolder').innerHTML = "        <object ID='jsApplet' classid=\"java:test.class\"" +
                    "height=\"0\" width=\"0\" onError=\"changeObject();\"" +
              ">" +
                    "<param name=\"mayscript\" value=\"Y\">" +
            "</object>";
    }else if(window.navigator.appName.toLowerCase().indexOf('internet explorer')!=-1){ //set object for IE
         document.getElementById('dvObjectHolder').innerHTML =      "<object ID='jsApplet' classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"" +
                   "         height=\"0\" width=\"0\" >" +
                   "   <param name=\"code\" value=\"test.class\" />" +
                   " </object>"
    </script>this is my applet
    public class test extends java.applet.Applet implements Runnable{
         public test(){
              // run it as an applet or run it as an application
              new Thread(this).start();
         public void init(){
         public void run(){
              System.out.println("applet started");
         public static void main(String[] args) {
                   // run it as an applet or run it as an application
                   new test();
    }I open the html file with IE6 and have no problem.

  • Winows xp x64 JRE 6u1 - no applets in Mozilla browser

    Hi,
    i tried to find similar posts but didnt find any. Im using Windows XP (pro) SP2 x64 on a AMD64 processor, and im having problems running applets in my browser (Mozilla 2.0.0.4). I've downloaded the newest JRE 6u1 available on the homepage, and also tried to download applet "plugins" thru Mozilla, but everytime i open a site with a java applet i get this error:
    java.lang.NullPointerException
         at com.sun.deploy.net.proxy.DynamicProxyManager.getProxyInfo(Unknown Source)
         at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at com.sun.deploy.si.SingleInstanceManager.connectToServer(Unknown Source)
         at com.sun.deploy.ui.AboutDialog.shouldStartNewInstance(Unknown Source)
         at com.sun.deploy.ui.UIFactory.internalShowAboutJavaDialog(Unknown Source)
         at com.sun.deploy.ui.UIFactory.access$100(Unknown Source)
         at com.sun.deploy.ui.UIFactory$11.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Since im not familiar to Java compailing and programming i dont know what this means.
    Im thankfull for any suggestion fixin this error.

    I think this is because of sandbox for web applications - see http://download.oracle.com/javafx/2.0/deployment/deploy_overview.htm#CEGJGHDA to understand the restrictions.
    You need to sign your application and make sure JNLP requests all permissions.
    Good news it is easy in Netbeans - just open project properties and select that application need elevated permissions.
    Bad news is that official beta of 7.0.1 used experimental signing support that had bug for jars loaded from file protocol.
    You may want to download latest NB 7.0.1 build (and recreate your project) or customize build.xml to sing jar file explicitly using standard ant signjar task.
    Or you can always run your tests using http protocol to access the application.

  • How easy is it to create a new add on? I would like to see tabbed display within the browser on FF24 on Android 4.2 – as per desktop FF

    Please excuse this if it's a noob Q – I am, indeed, completely new to Android. Tabbed display appears to have been possible on previous versions of FF for Android via several add ons but unfortunately no more. Display of each open tab within the browser – rather than the current arrangement with just the number in the corner – is still possible with FF desktop and also features in Chrome, Opera and Dolphin for Android. I would prefer not to use these other mobile browsers as FF outperforms them but I do need tabbed display to allow for PDF docs to open – using the PDF viewer add on – alongside their initiating webpage. Any ideas? Is it difficult to create an add on? What is the process? Is one in the pipeline? Many thanks in advance for any help or guidance you can offer...

    Many thanks for your reply, Waka – guess you're right that it's a new add on or bust... I still find it odd that such a common UI feature across mobile browsers is unavailable in FF24 either as an option under settings or as an add-on. Surely, I'm not the only person who finds this puzzling?

  • How to run swing applets in a browser??

    I understand it is a typical question and there lot of articles on it. I tried but am confused. I installed JRE1.3 which has java plug-in along with it which supports swing applets in a browser.Once i got that plug in i also downloaded html converter but am confused how should i run my swing applet.Can anyone please explain in simple steps as to how to achieve this objective..Thanks much in advance..an example would be of real big help
    Thanks

    The below links will help you.
    http://java.sun.com/products/plugin//1.3/docs/index.docs.html
    http://java.sun.com/products/plugin/1.3/plugin.faq.html

  • PDF link of type "open a file" won't work from within web-browser

    Hi!
    I have a pdf-document in which I have created a link of the type "Open a file" ( in this case it is a word document, but the type of file doesn't matter).  When I click this link directly in Acrobat (Acrobat 9 Standard) it works just as excpected, that is, the document opens in word, after I've confirmed to Acrobat that it's ok to open.
    Opening the pdf itself from within a web-browser (IE8) is no problem. The document is opened by the Acrobat plug-in, inside the web-browser, as expected. The "hot-spot" to the link is also there, but when I click on the link, Acrobat (I think it's Acrobat and not the web-browser) asks me if it's ok to "Connect to file://///C:/testdoc.doc". And when I confirm this nothing happens (of course, since there are way too many slashes added after the "File:" beginning of the string.
    When I doublecheck the link in Acrobat Standard with the link tool, it look perfectly allright (under "Actions" I find the heading "Open a file" and under that the text "File: C\testdoc.doc").
    Anyone know where the problem lies?
    Thanks for any help!
    Regards
    Per Williamson
    Stockholm
    Sweden

    I found mention online that linking to a zipped pdf file will cause the browser to download the PDF to the local user's PC where they can complete and submit the form (the mailto: command button works when the PDF is opened locally rather than within a browser window).  If there is a more "elegant" solution, I would be grateful for your advice.

  • Problem in loading applet in HotJava browser

    I am having a problem in loading a simple applet in HotJava
    browser
    The code of the applet is shown below
    import java.awt.*;
    import java.applet.*;
    public class HelloJava extends Applet
    public void paint(Graphics g)
    g.drawString("Hello Java", 10, 100);
    The code of the HTML file HelloJava.html is shown below :
    <HTML>
    <! This page includes a welcome title in the title bar and also
    displays a welcome message. Then it specifies the applet to
    be loaded and executed.
    >
    <HEAD>
    <TITLE>
    Welcome to Java Applets
    </TITLE>
    </HEAD>
    <BODY>
    <CENTER>
    <H1> Welcome to the World of Applets </H1>
    </CENTER>
    <BR>
    <CENTER>
    <APPLET
    CODE = HelloJava.class
    WIDTH = 400
    HEIGHT = 200 >
    </APPLET>
    </CENTER>
    </BODY>
    </HTML>
    ON opening the HTML file in HotJava Browser, the following error comes up :
    HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class:
    java.lang.ClassNotFoundException: HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class

    Well the obvious question is what is utilities.PropertyManager up to at line 23? It appears to be trying to get the system classloader which applets aren't allowed to do.
    You should probably be using the ClassLoader from the class in question.

  • FireFox 3.6 and Adobe Reader X. Reader X PDFs opened within the browser contain links, which do not work. Anyone got clues on why the links fail and how to fix?

    When we rolled out ReaderX and AcrobatX we uncheck the Diaply PDF in Browser window. OK with IE, but ignored in FireFox (3.6.16). We can live with that except the PDFs have links to other URLs and clicking on them is ignored. Same PDF opened outside the browser the links work fine. FireFox with Reader 9.4.0 no problem. Reader X with IE no problem. I can fix the Display in Browser with a change to firefox.js, but have not figured out how to fix the links when the PDF is displayed within the browser.

    My replies are in Bold.
    Thank you for your response and message.
    1. Are you seeing this problem with all kinds of PDF's or some specific  kinds like secure PDF's (with doc open password or printing  restrcitions), reader extended PDF's or PDF forms.
    This problem is with all kind's of PDF's.
    2. Are you opening a locally saved PDF by doing a drag drop in the  browser or right click and open with IE/FF or directly opening a PDF  hosted on the internet?
    It doesn't matter. However I do it, I see this problem in Firefox, IE & Google Chrome.
    3.  Can you also check the version of the Reader X browser plugin? you  could find it at C:\Program Files\Common  Files\Adobe\Acrobat\ActiveX\AcroPDF.dll. Right click -> Properties  -> Details
    If version is 9.0.x then you could try a clean install of Reader X.
    I have checked it. It's the latest plug-in (though at the moment, I have gone back to Adobe Reader 9.4.1, as I've mentioned before, because I need the reader to be working fine for my work and daily life. I am just waiting for a fix before I try Adobe Reader X again.
    As I've mentioned before, I am seeing this issue ONLY on my Windows 7 Ultimate (Laptop). In the desktop's at work, with Windows XP / Vista, I don't see it. Adobe Reader is working fine, browser integration is fine, the floating tool bar works fine, the right click menu pop' up where the right click is done...I can also save PDF' from the main toolbar at the top and so on...
    I really have run out of ideas.... and I am very surprised that no expert support personnel (if at all there is one) have dropped by or said anything or mentioned anything about this.
    Anyway.... Cheers.

  • Is it possible to run a website built in Java and applet from Safari browser in iPad

    Is it possible to run a website built in Java and applet from Safari browser in iPad?

    Java isn't supported on the iPad

  • Why does running an applet within a portlet not work?

    Hello,
    I have an applet and I want to run this in a portlet.
    I tried to load this applet into a portlet with SunONE Studio and Portlet Builder, and it works. The applet is running without problems.
    Now I tried to run this applet in a portlet under WebLogic 8.1 SP3. But the applet doesn't load. There ist only a gray rectangle to see. No error message, which would help to find the problem.
    To load the applet I'm using the Applet tag as follows:
    <APPLET archive='"+request.getContextPath()+"/folder/myApplet.jar' code='source/applet/myapp.class' ></APPLET>
    It's the same, I am using with SunOne Studio and there is the same package/directory structure in both.
    Any ideas?
    Is ist possible to run applets within portlets under WL 8.1?
    Thank you!
    Ines

    Hello,
    I have an applet and I want to run this in a portlet.
    I tried to load this applet into a portlet with SunONE Studio and Portlet Builder, and it works. The applet is running without problems.
    Now I tried to run this applet in a portlet under WebLogic 8.1 SP3. But the applet doesn't load. There ist only a gray rectangle to see. No error message, which would help to find the problem.
    To load the applet I'm using the Applet tag as follows:
    <APPLET archive='"+request.getContextPath()+"/folder/myApplet.jar' code='source/applet/myapp.class' ></APPLET>
    It's the same, I am using with SunOne Studio and there is the same package/directory structure in both.
    Any ideas?
    Is ist possible to run applets within portlets under WL 8.1?
    Thank you!
    Ines

  • "Show Cover Page during Two-Up" from within a browser window?

    I frequently use the "Show Cover Page during Two-Up" option (from View menu->Page Display in Acrobat Pro 8.1).
    Is there a way to do this from Acrobat Reader within a browser window? I often find myself having to save a PDF to my desktop only to open it in the standalone version of Acrobat because I don't have any access to the View menu while in Adobe Reader within a browser.
    thanks in advance
    Marty

    This is not a feature request, but a query on how Acrobat works. Please repost in the Acrobat forum.

Maybe you are looking for