HttpUnit Testing error
Hi all,
HAPPY NEW YEAR to every one.
i have one problem in HttpUnit, i used below code to login the page, i entered same un and password directly in IE login is working, but in HttpUnit below program not login, another method testContactUs Link click is working properly.
Thanks,
import com.meterware.httpunit.*;
import junit.framework.*;
import java.net.*;
import java.io.*;
import java.util.*;
import junit.framework.TestCase;
public class TestHttpUnitTest extends TestCase {
public static void main(String[] args) {
junit.textui.TestRunner.run(MainHttpUnitTest.class);
public TestHttpUnitTest(String name) {
super(name);
public static void testLogin() throws Exception {
WebConversation wc = new WebConversation();
WebRequest request = new GetMethodWebRequest("http://localhost:7001/project/flow.jx?stateID=start");
WebResponse response = wc.getResponse(request);
WebForm loginForm = response.getForms()[0];
request = loginForm.getRequest();
request.setParameter("userID", "password");
request.setParameter("tempID", "tempPASS");
response = loginForm.submit();
//response = wc.getResponse(request);
assertTrue("Login rejected while logging in with 'tempID'",
response.getText().indexOf("Invalid Username or Password") != -1);
String text = response.getText();
System.out.println("Login Response:" + text);
public static void testContactUsClick() throws Exception {
WebConversation wc = new WebConversation(); // create a new web client
WebResponse response = wc.getResponse( "http://localhost:7001/project/index.html" ); //get the response from Web Server
response = response.getLinkWith("contact us").click();
System.out.println("The title of the ContactUs page is: " + response.getTitle());
}
So the password is passed to a field named "tempID"? That's odd. The next step might be to make sure your code is grabbing the right form.
You're doing this:
WebForm loginForm = response.getForms()[0];Are you sure that is returning the one you think it is? You should do some debugging (using a real debugger to step thru the code and examine things, or use a "poor man's debugger" by simply adding some System.out.println statements in there to let it show you what form the code actually retrieved).
Similar Messages
-
ADF - MyFaces, HttpUnit testing problem with Javascript.
Dear all
Does anybody know how to test ADF Faces. Any tool would be of interest to me although Opensource and Free Software is prefered?
My task is to write a set of unit tests to test an Oracle ADF and Apache MyFaces application. I have attempted to use both Cactus and HttpUnit. However I am struggling with a simple test case which should simulate a login.
The problem I have is that ADF Faces produces the following dynamic javascript file (I am guessing it is dynamic because I can not find this in either adf-faces-impl-10_1_3_0_4.jar or adf-faces-api-10_1_3_0_4.jar which are the two jars am implementing in my project.):
Common10_1_3_0_4.js
Which when parsed by js.jar (Rhino javascript engine) I get the following error:
com.meterware.httpunit.ScriptException: Event 'submitForm('maincontent:loginForm',1, {source:'maincontent:submit'});return false;' failed: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "split" of undefined at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException (JavaScript.java:202)
(This file Common10_1_3_0_4.js is over 5000 lines long and so I do not want to post it as this posting is already quite long).
Downloading the file directly after it has been built and modifying it and fixing the error by ensuring the split function is called on a strongly typed String variable, then commenting out from the web.xml below I tried the HttpUnit test again.
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<!-- servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping -->
This time I get no error, but the original login page simply gets served again.
login.jsp (which is called as login.jsf)
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<!-- Content -->
<af:objectSeparator />
<af:panelBox text="#{msg['login.info.loginHeader']}" width="100%" background="transparent">
<af:form id="loginForm">
<af:objectSpacer height="10px" />
<af:panelGroup layout="vertical">
<af:panelForm labelWidth="5%">
<!--User Name-->
<af:panelLabelAndMessage for="username">
<af:inputText label="User Name:"
id="username"
columns="25"
required="yes"
secret="false"
value="#{userBean.userName}"
shortDesc="#{msg['global.user.userName']}" />
</af:panelLabelAndMessage>
<af:panelLabelAndMessage for="password">
<af:inputText label="Password:"
id="password"
columns="25"
required="yes"
secret="true"
value="#{userBean.password}"
shortDesc="#{msg['global.user.password']}" />
</af:panelLabelAndMessage>
<af:objectSpacer height="10px" />
<!--Login Button-->
<af:commandButton id="submit"
textAndAccessKey="#{msg['global.button.login']}"
action="#{userBean.login}" />
</af:panelForm>
</af:panelGroup>
</af:form>
</af:panelBox>
TestCase LoginTest.java:
package com.siemens.pse.wmstesting;
import java.io.IOException;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import com.meterware.httpunit.GetMethodWebRequest;
import com.meterware.httpunit.WebConversation;
import com.meterware.httpunit.WebForm;
import com.meterware.httpunit.WebLink;
import com.meterware.httpunit.WebRequest;
import com.meterware.httpunit.WebResponse;
public class LoginTest extends TestCase {
* The URL of the Login page for all login tests
public static final String URL = new String( "http://localhost/WMS/pages/login.jsf" );
public static void main( String args[] ) {
junit.textui.TestRunner.run( suite() );
public static TestSuite suite() {
return new TestSuite( LoginTest.class );
public LoginTest( String s ) {
super( s );
public void testGetLogin() throws Exception {
response = new WebConversation( ).getResponse( request );
// Test the result
assertContains( response, "Login Management" );
public void testLoginSuccess() throws Exception {
response = new WebConversation( ).getResponse( request );
WebForm form = response.getFormWithID( "maincontent:loginForm" );
assertNotNull( "No form found with ID 'maincontent:loginForm'", form );
form.setParameter( "maincontent:username", "admin" );
form.setParameter( "maincontent:password", "pass" );
WebLink submit = response.getLinkWithID("maincontent:submit");
response = submit.click();
System.out.println( response.getText());
// Test the result
assertContains( response, "Welcome to the Temperature Measurement System" );
* Convenience function that asserts that a substring can be found in
* the returned HTTP response body.
* @param theResponse the response from the server side.
* @param s the substring to look for
public void assertContains( WebResponse response, String s ) {
String target = new String("");
try {
target = response.getText(); }
catch (IOException e) {
e.printStackTrace(); }
if ( target.indexOf( s ) < 0 ) {
// Error showing which string was NOT found
fail( "Response did not contain the substring: [" + s + "]" );
private WebRequest request = new GetMethodWebRequest( LoginTest.URL );
private WebResponse response;
}Dear All
Well I found the solution to my testing requirements. HtmlUnit is able to deal with the dynamic Javascript that is generated by the ADF Faces application. The strange part is that HtmlUnit uses the Rhino Javascript engine just as HttpUnit and Cactus, however these two could not deal with the javascript whereas HtmlUnit could.
I include a snippet of a test case that I wrote that now works.
public void testLoginSuccess() throws Exception {
final WebClient webClient = new WebClient( BrowserVersion.INTERNET_EXPLORER_6_0 );
final URL url = new URL("http://localhost/WMS/pages/login.jsf");
final HtmlPage page = (HtmlPage)webClient.getPage(url);
// Get the form that we are dealing with and within that form,
// find the submit button and the field that we want to change.
final HtmlForm form = page.getFormByName("maincontent:loginForm");
final HtmlTextInput usernameField = (HtmlTextInput) form.getInputByName("maincontent:username");
final HtmlPasswordInput passwordField = (HtmlPasswordInput) form.getInputByName("maincontent assword");
final ClickableElement button = (ClickableElement) form.getHtmlElementById("maincontent:submit");
// Change the value of the text field
usernameField.setValueAttribute("admin");
passwordField.setValueAttribute("pass");
// Get the submitted form
final HtmlPage welcomePage = (HtmlPage) button.click();
assertEquals( "Temperature Measurement System", welcomePage.getTitleText() );
} -
Can anyone tell me what apple hardware test error code apple hardware 4MOT/4/40000002: Exhaust-1153 or 1209 means? I am running a MacBook Pro
The motor on the exhaust fan has failed or is failing.
-
Mac mini server: Hardware test error on Hard Drive
Mac mini server: Hardware test error on Hard Drive
'checking for slow read failures': ERROR - Target device access failure - Test failed.
CAN I ACCESS HD (which is our data server) EVER AGAIN? IF SO, HOW?
Meanwhile we wonder if this is really a hardware error. It all happened during writing a time machine backup.
Probably while writing it, some data was relocated by accident, but we can not 100%-sure remember the sequence of actions :/
This is our trauma history:
- time machine got increasingly slower in writing a backup
- we quit the backup
- we switched off the mac mini (on power button)
- we switched on the mac mini
- we stopped time machine to the rules
- we shut down mac mini via command
- we booted the mac mini in save mode
- we see a loading bar
- no progress after 10th of loading bar
- switched off (power button)
- when we now switch on the loading bar below the apple-logo is all we see + the little wheel
- we started with cmd+alt+p+r pressed
- mac mini restarted but showed the loading bar scenario without progress again
- we started with 'd' pressed and did the hardware test (see above)
- we started with 'alt' pressed but it does not give us the recoverydrive to run the last backup
ANY IDEAS?
IS IT A SOFTWARE- OR HARDWARE ERROR?
THX IN ADVANCE!BDAqua wrote:
I thnk Intenal 2.5" Drives for servers is silly, & Ithink the Minis & iMacs re poorly cooled.
I'd get Temprature Monitor & see what temps they're running.
Is Temperature Monitor an app or a device? If it's a temperature problem then that is essentially a design problem. Two drive failures in the same Mac mini server in four months combined with the fact that they're not really user serviceable already has me 90% on the way back to more pragmatically designed Linux servers. I think it would be foolish to waste any more money on these minis for my business hosting. -
what are the meanings of Apple Hardware Test error codes 4m0t/4/40000003:hdd-1300 and 4m0t/4/40000003:hdd-1308?
Thanks - Even though I'm years out of warranty I got chat help from Apple (I said they should help me since the codes aren't published.) We covered three different questions, and although I didn't get a specific decoding of the error code, I got confirmation of what other comments here imply - it might have helped that I indicated I'd already been here - and useful links to how to do back ups, including to CD(s). (I don't have a lot of data on this computer yet)
Now I need to figure out how to decide how hot-to-the-touch is "too hot" for the metal frame at the top of the iMac to decide whether I'm getting adequate fan performance or insufficient. While chatting I initially reported it was cool at the bottom and warm at the top. Apple hadn't asked, but their response prompted me to feel it again, and I'd say the top was hot, not warm - I updated but Apple didn't comment further except to conclude after addressing the other questions that I should take it in for further assessment - don't really want to bother with that. -
Apple hardware test error 4mem/9/40000000: 0x8475d598
Any help would be appreciated I'm at work and my MBP crashed twice (Running Traktor Pro 2 with Drobo Mini as an external HD via Thunderbolt. second display daisy chained on VGA with a rotating desktop image to the TV's ) ...Just got this error code from my late late 2011 15in MBP after it randomly restarted and I ran the hardware test
apple hardware test error 4mem/9/40000000: 0x8475d598
This was after it crashed earlier and I got this report:
Anonymous UUID: 5948A12D-654D-DE02-D43C-4073A8690165
Sat Jun 21 17:31:41 2014
panic(cpu 0 caller 0xffffff8000a2ebe9): "Spinlock acquisition timed out: lock=0xffffff8024478110, lock owner thread=0x8000000000000000, current_thread: 0xffffff8025f64cf0, lock owner active on CPU 0xffffffff, current owner: 0x8000000000000000"@/SourceCache/xnu/xnu-2422.100.13/osfmk/i386/locks_i386.c:36 5
Backtrace (CPU 0), Frame : Return Address
0xffffff81eb5f3ec0 : 0xffffff8000a22fa9
0xffffff81eb5f3f40 : 0xffffff8000a2ebe9
0xffffff81eb5f3f70 : 0xffffff8000ac989d
0xffffff81eb5f3fb0 : 0xffffff8000af3c76
BSD process name corresponding to current thread: com.apple.WebKit
Mac OS version:
13D65
Kernel version:
Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
Kernel UUID: ADD73AE6-88B0-32FB-A8BB-4F7C8BE4092E
Kernel slide: 0x0000000000800000
Kernel text base: 0xffffff8000a00000
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)
System uptime in nanoseconds: 18623716072818
last loaded kext at 18480408803348: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f833c5000, size 49152)
last unloaded kext at 18566085554385: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f833c5000, size 32768)
loaded kexts:
com.TrustedData.driver.VendorSpecificType00 1.7.0
com.drobo.SCSI.ThunderBolt 1.1 [66012]
net.kromtech.kext.Firewall 2.3.6
com.attotech.driver.ATTOiSCSI 3.4.1b1
com.apple.driver.AppleBluetoothMultitouch 80.14
com.apple.filesystems.smbfs 2.0.2
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AGPM 100.14.15
com.apple.iokit.IOBluetoothSerialManager 4.2.4f1
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleMikeyDriver 2.6.1f2
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.kext.AMDFramebuffer 1.2.2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHDA 2.6.1f2
com.apple.driver.AppleHWAccess 1
com.apple.AMDRadeonX3000 1.2.2
com.apple.driver.AppleMCCSControl 1.1.12
com.apple.driver.AppleIntelHD3000Graphics 8.2.4
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.4f1
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleMuxControl 3.5.26
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.kext.AMD6000Controller 1.2.2
com.apple.driver.AppleIntelSNBGraphicsFB 8.2.4
com.apple.driver.AppleThunderboltIP 1.1.2
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.AppleIRController 325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.iokit.SCSITaskUserClient 3.6.6
com.apple.driver.XsanFilter 404
com.apple.driver.AppleUSBHub 666.4.0
com.apple.iokit.IOAHCIBlockStorage 2.5.1
com.apple.driver.AppleSDXC 1.5.2
com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
com.apple.driver.AirPort.Brcm4331 700.20.22
com.apple.driver.AppleFWOHCI 5.0.2
com.apple.driver.AppleAHCIPort 3.0.0
com.apple.driver.AppleUSBEHCI 660.4.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
com.apple.iokit.IOSCSIParallelFamily 3.0.0
com.apple.driver.AppleThunderboltDPOutAdapter 3.1.7
com.apple.driver.AppleThunderboltPCIUpAdapter 1.4.5
com.apple.driver.IOBluetoothHIDDriver 4.2.4f1
com.apple.driver.AppleMultitouchDriver 245.13
com.apple.driver.AppleUSBAudio 2.9.5f4
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.iokit.IOSurface 91.1
com.apple.iokit.IOBluetoothFamily 4.2.4f1
com.apple.driver.DspFuncLib 2.6.1f2
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOAudioFamily 1.9.7fc2
com.apple.kext.OSvKernDSPLib 1.14
com.apple.iokit.IOAcceleratorFamily 98.20
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.4f1
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.5.26
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.7.0d11
com.apple.driver.AppleSMC 3.1.8
com.apple.kext.AMDSupport 1.2.2
com.apple.AppleGraphicsDeviceControl 3.5.26
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleHDAController 2.6.1f2
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.iokit.IOHDAFamily 2.6.1f2
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.driver.AppleUSBMultitouch 240.9
com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
com.apple.iokit.IOUSBHIDDriver 660.4.0
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleUSBComposite 656.4.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.6
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.driver.AppleThunderboltNHI 2.0.1
com.apple.iokit.IOThunderboltFamily 3.2.7
com.apple.iokit.IOAHCISerialATAPI 2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient 1.0.1b5
com.apple.iokit.IO80211Family 630.35
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.6.5
com.apple.iokit.IOUSBFamily 677.4.0
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.11
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 23
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.pthread 1
Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.2 GHz, 16 GB, SMC 1.69f4
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x857F, 0x483634314755363746393333334700000000
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x857F, 0x483634314755363746393333334700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.4f1 13674, 3 services, 23 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: scsi, SCSI Bus Controller, Thunderbolt@195,0,0
Serial ATA Device: Samsung SSD 840 EVO 250GB, 250.06 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Hub
USB Device: Duet USB
USB Device: IR Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1
Thunderbolt Device: Mini, Drobo, 1, 26.3The Apple Hardware Test error indicates a RAM issue. Install the original RAM and see if that improves the situation.
Also these items may perhaps be conributing causes:
TrustedData.driver.VendorSpecificType00 1.7.0
.drobo.SCSI.ThunderBolt 1.1 [66012]
.kromtech.kext.Firewall 2.3.6
attotech.driver.ATTOiSCSI 3.4.1b1
Ciao. -
Benchmarking problem ORiON solaris 10 - non test error occured
Hi,
I am running a whole bunch of ORION jobs in sequence against raw LUNs on an EMC storage using Solaris 10.
This to identify the performance at different read/write percentage and random/sequential IO patterns.
Once in a while, in the middle of testing the following appears :
Non test error occurred
Orion exiting
After which the test aborts.
I am trying to investigate the cause for this error, the DMESG and /var/adm/messages left turned up nothing however.
The strange thing is that the next test using the same amount of LUNs but only a difference in random or sequential pattern (or read/write percentage) works just fine.
Does anybody have any reference to what are possible causes of "non test error"
Thanks
sebThis forum is about using Sun Studio. Your question is about tripwire, which is not a Sun product, and gcc, which is not Sun Studio. I suggest you take your question to a tripwire forum. Check the location where you got tripwire for a support forum.
-
Render Error: Intern test error
Hello,
i get always a render error message: Intern test error. This occurs randomly.
I´ve the newest Version 11.02. Anybody outhere who have the same error?
How can i fix this problem?
Thanks so far for your help :-)
Regards
PeterHello Mylenium, sure i´ve ment "internal test error".
I get no special error code just this message.
I had a picture in jpg-format (621kb), two hour audio mp3-file(270MB), After Effects Audioline Effect and nothing more.
This error appears since the newest version of After Effect appeared.
Best Regards
Peter -
Does anybody know what hardware test error code this is 4SNS/1/40000001: TCOH -1.704
Trying to track down fast running fan that will not reset and this error came up.only apple techncians have access to what those codes mean. It is sensor related, but as it is a hardware problem, you need to bring it into an Apple store or AASP to have it correctly diagnosed and fixed.
-
E-Load: Test Error 12, vba failed afterPlay
h5. Have you ever received this error in e-Load? I have VBA in a script and it is working in both e-Tester and Navigation Editor, but when I playback in e-Load I get this error.
{color:#ff0000}*Test Error 12, vba failed afterPlay*{color}
Edited by: Muka on Aug 31, 2008 6:31 PMThat is helpful information about the services and account configuration. I did those steps though and reran the script and got the same result. It plays back fine in e-Tester and Navigation Editor but then fails in e-Load. Here is the VBA that is in the script.
Private Sub RSWVBAPage_afterPlay()
Dim col As New Collection
Dim opt As IHTMLElement
Dim tierDropDownPath As String
Dim tierValue As IHTMLSelectElement
Dim tierStrDB As String
Dim tierSelect As Integer
Dim tierPath As String
Dim optDB As String
Dim result As Boolean
Dim resultb As Boolean
'Check Radio button of newly added dependent for Medical Coverage
result = RSWApp.om.FindElements(col, "Y", "INPUT", "value")
col(col.Count).Checked = True
'Get databank values
result = RSWApp.GetDataBankValue("option_id", optDB)
resultb = RSWApp.GetDataBankValue("tier_code", tierStrDB)
'Transpose Option ID to html value format
optDB = "O" + optDB
'Determine new tier to select. i.e., if employee currently has Employee Only coverage, after add dependent they will be Employee + Children
Select Case (tierStrDB)
Case "0"
tierSelect = 1
Case "1"
tierSelect = 2
Case "2"
tierSelect = 3
Case "3"
tierSelect = 2
Case "4"
tierSelect = 3
End Select
'Select medical option based on Option ID
Set opt = RSWApp.om.FindElement(optDB, "INPUT", "value")
opt.click
'Find tier drop down element and assign to select element variable
tierPath = "window(index=0).form(name=""benTemplateMForm"" | index=0).formelement[SELECT](name=" + optDB + ")"
result = RSWApp.om.GetElementByPath(tierPath, tierValue)
'Set tier to new value
tierValue.selectedIndex = tierSelect
End Sub -
RTC Accuracy Test error reported by Lenovo's ThinkVantage Toolbox 'Quick Hardware Check'
When I run Quick Hardware Check on my T500 using the Lenovo ThinkVantage Toolbox, a RTC Accuracy Test error is reported. Do I need to care about this error and how do I fix it? Thanks.
hey rmbowma,
judging from that error, looks like the CMOS battery that makes sure that the internal clock is dead.
i recommend getting in contact with the support team about this.
http://bit.ly/LNVsuppNum
WW Social Media
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
Follow @LenovoForums on Twitter!
Have you checked out the Community Knowledgebase yet?!
How to send a private message? --> Check out this article. -
ran apple hardware diagnostics. fan - master - long motor test error: did not reach target speed in time. fan runs all the time. sensor is connected. do I have a bad fan?
ran apple hardware diagnostics. fan - master - long motor test error: did not reach target speed in time. fan runs all the time. sensor is connected. do I have a bad fan?
-
Mac Pro 2.66 Quad - Hardware Test error
Hi all !
I am trying to help out someone in another state with their Mac Pro problem so bear with me ...
The machine is a MacPro 2009 I believe, 2.66GHz Quad. and it's having startup issues - at the moment it's NOT starting so I am told !
Before it went totally down someone was able to run the Apple Hardware Test on it and got an error code -
4SNS/1/40000000: TMA4- 128.000
Ive searched and found the 4SNS refers to a possible sensor problem, but the TMA part of the code is unknown ...
It is also showing 1 of the 4 red ram led lights so there looks like a ram issue as well, but Im just wondering if anyone can shed more light on the error above so I can try to pinpoint the problems closer ?
At the moment Im being told by the locals it might be the logic board which of course is quite expensive ...
MitchMy rule of thumb when faced with multiple problems is to address any you can get your hands around, and the symptoms may change and clarify the other problem.
A RAM LED stuck on is a memory failure, and that is easy to fix -- remove or replace the failing module.
It is also possible the sensor complaint is about that module -- they have temp sensors on them.
If you are replacing modules in a 2009 or later, don't buy smaller than 8GB replacements, they are cheap enough now at about US$75 from
http://DataMemorySystems.com
http://www.datamemorysystems.com/apple-mac-pro-quad-core-intel-xeon-nehalem-2-66 ghz-mb871ll/a-early-2009-memory-upgrades/
(Where 2* 4GB Costs $76 or $94 from the same vendor at this writing) -
Blue screen of death with HDD Hardware Test error on iMac HELP!!
My iMac is not starting up. It just get the blue screen of death during startup. It is a 2.66 mghz duo with 2gb 800 ram. I was able to get the Hardware test to run and got an error of 4M0T/2/40000004: HDD-1560. I am assuming it is an error with the internal hard drive since I have nothing else hooked up to the mac other than the keyboard and mouse right now. Does this code mean my hard drive is completely shot? Any help would be appreciated.
4M0T/2/40000004: HDD-1560.
Either failing or failed
You can have Apple replace the drive at a nearby Apple store or an Apple certified repair shop.
Apple - Support - Check Your Service and Support Coverage -
How to download iTunes (7.0) w/ Windows logo testing error?
I'm trying to download the newest version of iTunes (7.0) and I keep getting error message that states "The software you are installing has not passed Windows Logo testing to verify its compatibility with Windows XP"... Then it says that continuing installation may impair or destabilize the correct operation of my system... Not sure what to do or if I'll be able to download iTunes
On an XP system, that can indicate trouble with the Windows OS dlls associated with Cryptographic services.
I'd first try the fixit from the following Microsoft document.
You cannot install some updates or programs
Maybe you are looking for
-
Macbook pro- OSX lion 10.7.2 fan noise
I just bought a macbook pro laptop, upgraded it to the Lion version, it is now 10.7.2, with processor of 2.7 GHz intel core i7, memory of 8GB, 1333 MHz DDR3. Whenever I am on a program like imovie, safari, iphoto, charging my smartpen...etc.... the f
-
If you add music videos to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from different playlist, you no longer can see Up Next, just go to full screen mode button. Using remote app iPhone 5 to play
-
When clicking on a link firefox opens to my home page but does not go to the link.
I've disabled all plugins and extensions then reset but still have the problem.
-
About JCheckBox in a JTable.
Hi, In my JTable, one of the column uses checkbox as cell editor. I like to know how to get the row index of the row where the clicked checkbox is in. Thanks Stephen
-
Hi, Can anybody explaine me Asset under construction configuration Thanking you. < For basic queries, refer to SAP Help or search the forums. Please respect forum rules. Thread Locked. >