Test for value fails
Anyone know why this test fails?
// The value of phtml is read from a flat file, and has the value of "P"
String phtml;
if (phtml == "P") {
use
if (phtml.equal("P")) {
Always use the equals method to compare strings.
Similar Messages
-
Connection test for connectors(SAP R3 system) fail
Hi,
I got an EP system and connected to one existing R/3 system.For the same i have defined it in system landscape of EP.System administration ---> system configuration ---> system landscape.In property editor i have deined all the min required properties.
Application Host 172.16.3.68
Gateway Host 172.16.3.68
Gateway Service sapgw00
Logical System Name ISCCLNT100
Remote Host Type 3
SAP Client 100
SAP System ID (SID) ISC
SAP System Number 00
Server Port 3200
System Type SAP_R3
Trace Mode 1
The system intially works fine.But when
1)There are more users it gives connection error.
2)If there are not much users then also After some time it automatically shows connection error.
Then when I do Connection Test for Connectors,it shows "X" failed.
What I usally try to do,I restart the SQL server.
But this method does not work.I have to restart the EP.Then again the system works fine.
I think there are something wrong input in the property value of SAP R3 object setting.
Hey folks can u please help me in sorting out this problem?Why such connection error happens again and again?Hi Rajeev,
Thanks for your answer.Actaully I have miss interpreted the problem.Sorry Problem is not with in the SAP R3.
Connection problem is like this::
I have defined a system EPSQL(system alias for MS SQL sever DB) for my EP instance
To connect to database.
The connection tests to the alias is ok.
But as more and more users try connecting to the db the connection test fails.
Restarting the SQL server doesnt help.
I have to restart the EP instance to get over the problem
I think there are something wrong input in the property value of object setting.or,EP maintains some timeout or max user info...
Do u have any solution? -
Dropdown List Value Test For Null || " "
I wrote a pre-sign script to test a for a value in a dropdown list before allowing signature of the document. However I want to test for a value of null in addtion to one space aka " ". I added a value in the dropdown list of " " along with the choices of names so users could erase an accidental selection in this list before they were ready. However when I place the or ( || ) operator in the if statement of the script the script doesn't work. If I remove the || " " statement the script works as it is supposed to. How do I test for this value of " " along with the null test so I don't have to write another if statement?
if (form1.Page3.Author.Reviewed.Admin.rawValue == null || " ")
xfa.event.cancelAction = 1
xfa.host.messageBox("You did not select your name on the dropdown list before trying sign the document .");
elseYour if statement is incomplete. You need to put the test in again for the other value:
if (form1.Page3.Author.Reviewed.Admin.rawValue == null || form1.Page3.Author.Reviewed.Admin.rawValue == " ") -
Mainframe data loaded into Oracle tables - Test for low values using PL/SQL
Mainframe legacy data has been copied straight from the legacy tables into mirrored tables in Oracle. Some columns from the mainframe data had 'low values' in them. These columns were defined on the Oracle tables as varchar2 types. In looking at the data, some of these columns appear to have data that looks like little square boxes, not sure but maybe that is the way Oracle interprets the 'low values' in the original data into varchar. When I run a select to find all rows where this column is not null, it selects these columns. In the results of the select statement, the columns appear to be blank, however, in looking at the data in the column using SQL Developer, I can see the odd 'square boxes'. My guess is that the select statement is detecting that something exists in this column. Long story short, some how I am going to have to test this legacy data on the Oracle table using Pl/Sql to test for 'low values'. Does anyone have any suggestions on how I could do this????? Help! The mainframe data we are loading into these tables is loaded with columns with low values.
I am using Oracle 11i.
Thanks
Edited by: ncsthbell on Nov 2, 2009 8:38 AMncsthbell wrote:
Mainframe legacy data has been copied straight from the legacy tables into mirrored tables in Oracle. Not a wise thing to do. Mainframe operating systems typically use EBCDIC and Unix and Windows servers use ASCII. The endian is also different (big endian vs little endian).
Does anyone have any suggestions on how I could do this????? As suggested, use the SQL function called DUMP() to see the actual contents (in hex) of these columns. -
Is there any standard way or testing utility for EJB fail safe in cluster env
Hi
I got to test the beans for complete fail safe like home
fail overing and method calls (idempodentcy) fail over, is there
any testing utility or standard approach for this or I got to do
it manually??
any help on this highly appriciated
Thanks and regards
Aruna
Look for solutions here:
https://discussions.apple.com/docs/DOC-3521
https://discussions.apple.com/docs/DOC-3353
Ciao. -
Failed to run syspref "Test for CloneTag in registry to verify Sysprep completed"
Hi All
After install windows 7 and some application i try to capture and sysypref from running script
cscript \\server\DeploymentShare\Scripts\LiteTouch.wsf
i get below error
<![LOG[FAILURE (Err): -2147024894 0x80070002: Test for CloneTag in registry to verify Sysprep completed. - Unable to open registry key "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" for reading.]LOG]!><time="12:47:30.000+000" date="01-31-2010" component="LTISysprep" context="" type="2" thread="" file="LTISysprep">
<![LOG[FAILURE ( 6191 ): Test for CloneTag in registry to verify Sysprep completed. - Unable to open registry key "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" for reading.]LOG]!><time="12:47:30.000+000" date="01-31-2010" component="LTISysprep" context="" type="3" thread="" file="LTISysprep">
<![LOG[Litetouch deployment failed, Return Code = -2147467259 0x80004005]LOG]!><time="12:47:31.000+000" date="01-31-2010" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
<![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="12:47:31.000+000" date="01-31-2010" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
<![LOG[Property RetVal is now = -2147467259]LOG]!><time="12:47:31.000+000" date="01-31-2010" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
Thanks ,
DavideHello
Just thought I would add my fix for this issue for anyone who is still getting it:
Go into Services.msc and stop and disable the following service: "Windows Media Player Network Sharing Service"
Then sysprep continues on past the stage where it gives the warning about the CloneTag key and successfully completes (hopefully!).
In this instance if you instead manually re-add the CloneTag key the image will give a BSOD on restart if you try to deploy it (mine did anyway).
It appears the error occurs and the sysprep stage fails so the CloneTag is not set to stop the deployment going any further.
If the task sequence is failing then it may be better to run a local sysprep and generalize from c:\windows\system32\sysprep\sysprep.exe as this gives better error messages.
It's also good to build the reference computer image in a virtual machine which you can snapshot before you start so can quickly revert back and try again if it messes up (as mine did a few times until I worked out the cause).
Your issue may not be the same as mine though but hope it helps someone.
Robin
P.S. Looking online it looks like the bug with the windows media sharing service goes back as far as pre RTM builds.
Robin Wilson
Thanks, this worked for me trying to sysprep Windows 7 x64 Home Premium. -
Microsoft vista OEM Test Case-5 failing for java application
The launcher exe for my application is built in C++ that load the jvm and then the control is passed to the java class through JNI.
My problem is that my application exe is not passing the Microsoft Vista OEM Ready Test Case Number- 5 which specifies
Application Verifier Checks:
Tests for app failures from common coding errors: exceptions, handles, heaps, locks, memory, thread local storage.
App failures, crashes, and hangs are some of the top negative factors for customers. Eliminating such failures improves app stability and responsiveness.App verifier catches common coding errors and prevents heap corruption, the cause of more than 15% of application failures.
Interestingly..! Even a simple Hello World program is failing this test...!Open [http://msdn.microsoft.com/en-us/windows/cc721647.aspx] and search for the word "Java".
-
HI Experts,
Today i got this alert from oem grid during RMAN bakcup of the PROD database.when i try to connect the database i am able to get into to the DB successfully with out any issues.
But i am not sure why this error has come and resone behind that.Please advise.
From: Oracle OEM [mailto:[email protected]]
Sent: Tuesday, February 22, 2011 11:21 PM
To: DBA_GROUP
Subject: EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
Target Name=PROD.test.edu.au
Target type=Database Instance
Host=delhi.win.test.edu.au
Occurred At=Feb 22, 2011 11:20:33 PM EST
Message=Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
Severity=Critical
Acknowledged=No
Notification Rule Name=Database Availability and Critical States
Notification Rule Owner=SYSMAN
when i check the alertlog file i could see the following
Tue Feb 22 23:01:36 2011
Starting control autobackup
Control autobackup written to DISK device
handle '/oracledb/rman_backup/PROD/control_c-197342269-20110222-01'
Tue Feb 22 23:22:42 2011
Errors in file /oracle/admin/PROD/udump/hubprd_ora_27069.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-01438: value larger than specified precision allowed for this column
ORA-06512: at line 2
PLease let me know the cause of the issues and solution to overcome this issues.
Regards,
SalaiIt would appear that your archive location is full. If it is full, then try to get some more free space there by either deleting the old archives or specifying a different location.
I don't see any mention of a flash recovery area in the log message, but you may also want to confirm that you have reached your space allocated to the FRA. -
Invalid TMVL retun value failed.
Hi,
I have tested one script logic, In this I got one error "RUN_LOGIC: Invalid TMVL return value
Failed. Please find the below code what I have validated successfully in the NW system.
Could you please help me in this.
Logic:
*LOOKUP Staff_Additions
*DIM EXP:SALARY=Salary_Redis
*DIM CATEGORY=BUDGET
*DIM CLIENT_GROUP=1010
*DIM DATASRC=INPUT
*DIM INTCO=Non_InterCo
*DIM RPTCURRENCY=LC
*DIM TIME="%TIME_SET%"
*DIM ACCOUNT=41000
*ENDLOOKUP
*START_BADI ROUND
QUERY = OFF
WRITE = OFF
DECIMAL = 2
*END_BADI
*WHEN CATEGORY
*IS "BUDGET"
*WHEN INTCO
*IS "Non_InterCo"
*WHEN JOB_TITLE
*IS "No_JobTitle"
*WHEN SALARY
*IS "Salary_Redis"
*WHEN RPTCURRENCY
*IS "LC"
*WHEN DATASRC
*IS "INPUT"
*WHEN EMPLOYEE.TERMINATION_DATE
*IS =1
REC(EXPRESSION=.07692LOOKUP(EXP),TIME="TMVL(-11,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-10,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-9,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-8,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-7,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-6,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-5,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-4,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-3,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-2,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-1,%TIME_SET%)",SALARY="Salary_MO")
REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(%TIME_SET%)",SALARY="Salary_MO")
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
Thanks and Regards,
Krishna.Hi,
Thanks for understanding my problem and for the right solution . Finally I have solved this problem by using TMVL function in the script. It is working fine now.
Script Logic:
*LOOKUP Staff_Additions
*DIM EXP:SALARY=Salary_Redis
*DIM CATEGORY=BUDGET
*DIM CLIENT_GROUP=1010
*DIM DATASRC=INPUT
*DIM INTCO=Non_InterCo
*DIM RPTCURRENCY=LC
*DIM TIME="%TIME_SET%"
*DIM ACCOUNT=41000
*ENDLOOKUP
*START_BADI ROUND
QUERY = OFF
WRITE = OFF
DECIMAL = 2
*END_BADI
*WHEN CATEGORY
*IS "BUDGET"
*WHEN INTCO
*IS "Non_InterCo"
*WHEN JOB_TITLE
*IS "No_JobTitle"
*WHEN SALARY
*IS "Salary_Redis"
*WHEN RPTCURRENCY
*IS "LC"
*WHEN DATASRC
*IS "INPUT"
*WHEN EMPLOYEE.ABSENCE_DATE
*IS "1"
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-11,%TIME_SET%),SALARY=Salary_MO)
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-10,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.09615 LOOKUP(EXP),TIME=TMVL(-9,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-8,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-7,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.09615 LOOKUP(EXP),TIME=TMVL(-6,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-5,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-4,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.09615 LOOKUP(EXP),TIME=TMVL(-3,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-2,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.07692 LOOKUP(EXP),TIME=TMVL(-1,%TIME_SET%),SALARY="Salary_MO")
REC(EXPRESSION=.09615 LOOKUP(EXP),TIME=%TIME_SET%,SALARY="Salary_MO")
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
Thanks and Regards,
Krishna. -
Testing for abnormal disconnect
I maintain a VPN between two sites using the VPN Client 5.0.07.0290.
The clients are running on Windows server 2003.
The connection is started with a script using the command line.
I need to know when the connection goes down. Currently I use a timed script that attempts to reconnect the VPN and if the client returns a 200 I assume it remains connected otherwise the client reconnects, if possible, and the connection is maintained. I log the success or failure of the reconnection event.
This is kind of a kluge. Polling with another process is not a reliable tool in my environment.
Is there a better way I can monitor the connection?
Will the client terminate in some manner I can test in a script or some othere more deterministic means to notify a process that the connection has failed?
Thanks in advance.
Mikemy understanding is: if you param something you are actually
setting a
default value if no value exists........which in your case is
"" or rather
nothing........so if you param with a value of nothing
.......... than go to
check its value.......it will be exactly what you set in the
param.........
"Karen_Little" <[email protected]> wrote in message
news:em53f6$507$[email protected]..
>I need advice on testing for cookies.
>
> I want to test for the presence of a cookie. Rather than
use
> isdefined("cfcookie.mycookie"), I've been setting a
<cfparam
> name="cookie.mycookie" default="" .... for the cookie,
then testing to see
> if
> anything is in it. Since doing that, I seem to whip out
the real cookie.
>
> I just wouldn't think cfparam could do that (but if it
does, it's the most
> effective way to get rid of cookie information in the
world).
>
> Anyway, I am now confused. I want to see if a cookie is
set. Is
> "isDefined"
> the way to go?
>
> -
I have upgrade 2 of my Macbook air 11" models. Both have major slow functionality in allmost every programs. slow mail, safari, pages. Allmost nothing of the funksjonalitys can being uses in numbers. Slow functionality when jumping between programs. Allover i have BIG problems with mac for my first time. And why do not Apple send a fix for all fails there is after upgrading to Yosemite. When thousand of users have the same problem with major slow mac`s.
Here is a test for my mac.
EtreCheck version: 2.1 (101)
Report generated 4. desember 2014 kl. 22.48.33 CET
Hardware Information: ℹ️
MacBook Air (Verified)
MacBook Air - model: MacBookAir6,1
1 1.7 GHz Intel Core i7 CPU: 2-core
8 GB RAM Not upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en0: 802.11 a/b/g/n/ac
Video Information: ℹ️
Intel HD Graphics 5000 -
Color LCD 1366 x 768
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 0:12:8
Disk Information: ℹ️
APPLE SSD SM0512F disk0 : (500,28 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 496.30 GB (371.41 GB free)
Core Storage: disk0s2 499.42 GB Online
USB Information: ℹ️
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store
Kernel Extensions: ℹ️
/Applications/Parallels Access.app
[not loaded] com.parallels.virtualsound (1.0 18 - SDK 10.6) [Support]
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hypervisor (10.1.1 28614 - SDK 10.7) [Support]
[not loaded] com.parallels.kext.netbridge (10.1.1 28614 - SDK 10.7) [Support]
[not loaded] com.parallels.kext.usbconnect (10.1.1 28614 - SDK 10.7) [Support]
[not loaded] com.parallels.kext.vnic (10.1.1 28614 - SDK 10.7) [Support]
/Library/Application Support/Kaspersky Lab/KAV/Bases
[not loaded] com.kaspersky.kext.kimul.38 (38) [Support]
/Library/Extensions
[loaded] com.silex.driver.sxuptp (1.10.9 - SDK 10.8) [Support]
/System/Library/Extensions
[not loaded] com.devguru.driver.SamsungComposite (1.2.61 - SDK 10.6) [Support]
[not loaded] com.freecom.driver.BoulderScsi (1.0.0d1) [Support]
[not loaded] com.kaspersky.kext.klif (2.2.1d19) [Support]
[not loaded] com.zg.driver.ZGUSBCDCACMData (1.5) [Support]
[not loaded] com.zg.driver.ZGUSBMassStorageFilter (1.5) [Support]
[not loaded] com.zg.driver.cdc_ecm_qmi (1.9) [Support]
[not loaded] com.zg.driver.cdc_usb_bus (1.9) [Support]
/System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
[not loaded] com.devguru.driver.SamsungACMControl (1.2.61 - SDK 10.6) [Support]
[not loaded] com.devguru.driver.SamsungACMData (1.2.61 - SDK 10.6) [Support]
[not loaded] com.devguru.driver.SamsungMTP (1.2.61 - SDK 10.5) [Support]
[not loaded] com.devguru.driver.SamsungSerial (1.2.61 - SDK 10.6) [Support]
Launch Agents: ℹ️
[running] com.brother.LOGINserver.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[loaded] com.oracle.java.Java-Updater.plist [Support]
[running] com.parallels.mobile.prl_deskctl_agent.launchagent.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.google.keystone.daemon.plist [Support]
[failed] com.kaspersky.kav.plist [Support] [Details]
[loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
[loaded] com.oracle.java.Helper-Tool.plist [Support]
[loaded] com.oracle.java.JavaUpdateHelper.plist [Support]
[running] com.parallels.mobile.dispatcher.launchdaemon.plist [Support]
[failed] com.parallels.mobile.kextloader.launchdaemon.plist [Support] [Details]
User Launch Agents: ℹ️
[running] ca.indev.MailTagsHelper.agent.plist [Support]
[loaded] com.facebook.videochat.[redacted].plist [Support]
[loaded] com.genieo.completer.download.plist Adware! [Remove]
[loaded] com.genieo.completer.ltvbit.plist [Support]
[running] com.genieo.completer.update.plist Adware! [Remove]
[not loaded] com.macpaw.CleanMyMac.helperTool.plist [Support]
[not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist [Support]
[not loaded] com.macpaw.CleanMyMac.volumeWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
[loaded] com.parallels.mobile.startgui.launchagent.plist [Support]
User Login Items: ℹ️
iTunesHelper ProgramHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
fuspredownloader ProgramHidden (/Users/[redacted]/Library/Application Support/.FUS/fuspredownloader.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: Java 7 Update 71 Check version
FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
NP_2020Player_IKEA: Version: 5.0.94.1 - SDK 10.6 [Support]
Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
nplastpass: Version: 3.1.61 [Support]
JavaPlugin2_NPAPI: Version: Unknown
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
iPhotoPhotocast: Version: 7.0
userinternetplugins ℹ️
Google Earth Web Plug-in: Version: 7.1 [Support]
Safari Extensions: ℹ️
Facebook Cleaner
Pin It Button
LastPass
ResizeMe
OpenIE
3rd Party Preference Panes: ℹ️
Cineform [Support]
Flash Player [Support]
Java [Support]
Time Machine: ℹ️
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 496.30 GB Disk used: 124.90 GB
Destinations:
Data [Network]
Total size: 3.00 TB
Total number of backups: 65
Oldest backup: 2013-08-15 20:20:51 +0000
Last backup: 2014-12-04 17:20:31 +0000
Size of backup disk: Excellent
Backup size 3.00 TB > (Disk size 496.30 GB X 3)
Top Processes by CPU: ℹ️
4% WindowServer
1% fontd
1% cloudd
0% Safari
0% launchd
Top Processes by Memory: ℹ️
369 MB com.apple.WebKit.WebContent
155 MB Safari
103 MB Feedback Assistant
86 MB Finder
69 MB mds_stores
Virtual Memory Information: ℹ️
4.52 GB Free RAM
2.60 GB Active RAM
652 MB Inactive RAM
820 MB Wired RAM
1.04 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Dec 4, 2014, 10:37:00 PM Self test - passed[loaded] com.genieo.completer.download.plist Adware! [Remove]
[loaded] com.genieo.completer.ltvbit.plist [Support]
[running] com.genieo.completer.update.plist Adware! [Remove]
[not loaded] com.macpaw.CleanMyMac.helperTool.plist [Support]
[not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist [Support]
[not loaded] com.macpaw.CleanMyMac.volumeWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
Your machine is slow because you loaded a bunch of third party junk on it. -
How to test for existence of AcroXFA test objects?
Hi -
I'm writing scripts to test an XFA form with dynamic subforms. For example, at the end of Part 4, the user hits a Validate button, and if their data is correct, then the Validate button disappears and a Part 5 subform appears.
So my script looks something like this:
Function GetButtonPart4Validate()
Set GetButtonPart4Validate = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1")
.AcroXFAForm("sfPart4").AcroXFAButton("sfValidate")
End Function
Function GetPart5()
Set GetPart5 = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("sfPart5")
End Function
GetButtonPart4Validate().Click
PDFDoc( "TestForm" ).WaitProperty "ready", true, 60000 ' Wait for event processing complete
If DataTable("boolValidates", dtLocalSheet) = "TRUE" Then
If( GetPart5().Exist ) Then
' A: Checkpoint Succeeds: Validation was successful
Else
' B: Checkpoint fails: Validation failed
Endif
Else
If( GetPart5().Exist ) Then
' C: Checkpoint Fails: Validation was unexpected
Else
' D: Checkpoint Succeeds: Validation failed as expected
Endif
Endif
Unfortunately it appears that XfaSubForm.Exist always returns TRUE. In other QTP testing domains (eg "Exist Property (WinObject)" in QTP Help), the documented behaviour of the Exist property is to be true if the desired test object can be found in the application-under-test. Typically this means that when the script tries to access an XFA widget which doesn't exist (even something like GetPart5().getROProperty("visible") ), the script stops and thinks for a minute or so, and eventually produces a test error that the object doesn't exist then muddles onward. It is the "stops and thinks for a minute or so" which frustrates me, since these are delays which I am trying to avoid.
Another possible angle I looked into was counting the subforms under Part 5's parent.
PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").RefreshObject
PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("sfPart5").Refresh Object
' check to see if there is a 'sfPart5'
Dim MyChildren, i
Set MyChildren = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").ChildObjects
For i=0 to MyChildren.Count - 1
print i & " name=" & MyChildren(i).GetROProperty("name")
Next
This also seems to fail: Part5 doesn't appear among its parent's children (at least before QTP actually tries to use it).
The PDF Test Toolkit User Guide doesn't specifically mention that Exist or RefreshObject or ChildObjects are implemented, so I can't say AcroQTP isn't working as designed, but if you're looking for suggestions for improvement, I'll vote for fulfilling these parts to the QTP. Please confirm my conclusions that these are not properly implemented, or whether I'm missing something.
In the meantime, do you have any recommendation on how to proceed? My present workaround is to look for a "validation error" windows dialog that indicates Part 5 won't exist, but this won't work in future test scripts.
Cheers,
BrentHi,
816387 wrote:
... QUERY:- Find all customers who have at most one account at the Perryridge branch.
SOLUTION *1* :-
select customer_name
from depositor,account
where account.account_number=depositor.account_number and
branch_name='Perryridge'
group by customer_name
having count(account.account_number) <=1
ok running correctly
That finds customers who have exactly one account at Perryridge.
The assignment is to find customers who have at most one account at Perryridge. You need to include customers with 0 accounts at Perryridge, as well. You could use an outer join, or MINUS, or a NOT IN subquery, or a NOT EXISTS sub-query (as mentioned above) to do that.
Can there be customers who have no accounts at all, at any branch? If so, you'll need to use the customer table in this problem, as well as depositor and account.
>
SOLUTION *2* :-
select D1.customer_name
from depositor D1
where unique
(select customer_name
from depositor D2,account A1
where D1.customer_name=D2.customer_name
D2.account_number=A1.account_number and
branch_name='Perryridge'
gives error:-
where unique
..........*^*
ERROR at line 3:
ORA-00936: missing expression
Logic of both solution are correct . But Solution 2 gives error in oracle. I want unique construct to work.Sorry, it doesn't in Oracle. I don't know of anything like that in Oracle.
Does "WHERE UNIQUE (SELECT ...)" work in some other database system? Which?
How to do it. Or How can i test for the absence of duplicate tuples ??????
Your Solution 1 is the best way to find customers with exatly 1 account (rather than 0 or 1 accounts) at Perryridge. Is there any reason why you wouldn't want to use it, if you ever needed to find customers with exactly one account there? -
Hi Guys,
We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
We have tried testing in two instances ,Initially it worked in both instances.
Using the same API's multiple times we tested the same data set in these instances.
For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
Standard API's
=========
add_task
update_project
change_structure_status
create_draft_plan
Error:
ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
Please let us know if anyone of has come across the same situation.
Regards,
VijayBut have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
Please see if these docs help.
APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
Invoice Validation Program Is Erroring Out [ID 382844.1]
Error On Validation Of Invoices From Previous Periods [ID 412814.1]
Thanks,
Hussein -
How do I test for the presence of an active open document in Photoshop?
I’m new to Adobe scripting, and one of my first scripts deals with the activeDocument in Photoshop.
If there is no activeDocument, I want to display a message and terminate the script. My efforts
so far have been met with frustration. While developing the script in ExtendScript Toolkit,
I used the test expression "activeDocument in app", and everything worked as expected. And when I installed the script
in the Photoshop scripts folder and ran it from Photoshop with a document open, it also worked.
But when I ran the script from Photoshop with no document open, it failed.
Moreover, after that,the script failed when I tried to run it in ESTK.
I did some testing and found that my test expression, "activeDocument in app"
was returning true, even though no document was open.
Still in ESTK, I replaced the “app” with ”Application” in the test expression. That worked when
I stepped through the script. But when I tried to run it without stopping, it stopped at the
test expression, and displayed the error message, “Application is undefined.”
So how do I test for the presence of an open document in Photoshop ??After posting this, I discovered the Photoshop Scripting Forum, and I found my answer there.—
I should have used “app.Documents.length” as my test expression. -
Creation of Column view for Multiprovider failed
Dear Experts,
I'm facing an issue in TR import.
The TR failed with the below error message.
Creation of column view for XXXXX failed.
XXXXX - Multiprovider
System :BW on HANA (BW 7.4 SP06)
If there's a way to resolve this error, please let me know.
Appreciate your help.
Br, HarishHi,
Here's the workaround I have implemented for this issue.
Implemented the note 1955263 and made the below correction to the programSAP_RSADMIN_MAINTAIN.
Object = MPRO_CS_GEN_ERROR_IGNORE
Value = X
After the above customizations are done, TRs are imported without any issues.
For the OSS message I have raised, SAP has asked us to implement the note 2001969 to fix the issue.
Br, Harish
Maybe you are looking for
-
DBTransactionStateListener not working properly in JDeveloper 11g TP4
Hi All I've created a custom DCTransactionStateListener and implement transactionStateChanged(boolean state) method. When the db transaction state is being changed i set a parameter in the HttpSession. I need this in order to know if transaction is d
-
How to see how much hard drive space is free in my MacBook Pro
I have a lot of music and am starting to use lossless files. How can I check to see how much hard drive space I have free on my MacBook Pro?
-
Best way to uninstall FCP 5.0 and then install 5.1 on my MBP
hope this is not a dumb question... i installed FCP 5.0 on my MBP not knowing that i should have done the 'universal crossgrade' to 5.1 first. I'm kinda new to Mac, so how should i do the install of 5.1? should i completely uninstall all the FC Studi
-
Hello Experts, I have created one smartforms which containt some terms and condition which i want to send as a pdf to set of people. Now i am able to send the smartform as PDF . But when i am trying to open the PDF its shows me some error like 'PDF f
-
How to retrieve system Information on client machine Using Applets
How to retrieve video card information on client machine using applets and JNI, please suggest me on this Thanks GReddy