|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Two PCs one RobotHi every one!
I have a serious trouble and I need you help to solve it. I have: Windows XP SP 3 Rational Robot Version 2003.06.13.402.000 RRAFSRelease2007.04.18 STAF2611-setup-win32 java version 1.5.0_06-b05 I have two computers and I did the same procedures in both(PC1 & PC2): I uninstalled STAF332-setup-win32 and I did Upgrade RRAFSRelease2007.04.18 to SAFSRelease2009.10.09 I don't have any problem with PC1 but PC2 have the next diagnostic: (both PCs worked ok before the changes) I have the Application constant in ObjectMap.MAP: [ApplicationConstants] ProgramaEXE="C:\Archivos de programa\ApplicationDirectory\ApplicationName.exe" I have an step file (.SDD) with the next sentences C SetApplicationMap ^ApplicationMap = "MapaObjetos.MAP" Provide the Application Map for the DDE to use C LaunchApplication ^ApplicationID = "PROGRAMA_AC" ^ExecutablePath = "ProgramaEXE" ^WorkDir = "" ^CMDLineParam = "" ^AppMap = "MapaObjetos.MAP" Identify and Launch a specified application When I run a robot in PC2 I get the message: START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd COMMAND DEBUGGING ENABLED (in debug mode) Application Map set to>Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\MapaObjetos.MAP LAUNCHING PROGRAMA_AC **FAILED**Launch App Error in table Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd at Line 4 C LaunchApplication "PROGRAMA_AC" "ProgramaEXE" "" "" "MapaObjetos.MAP" Identify and Launch a specified application Look the attached images and variables values. The same robot works very good and fastest in PC1. I don't know what's the problem Thanks for advanced ![]() ![]() |
|
|
Re: Two PCs one RobotComments embedded:
-----Original Message----- I have: Windows XP SP 3 Rational Robot Version 2003.06.13.402.000 RRAFSRelease2007.04.18 STAF2611-setup-win32 java version 1.5.0_06-b05 [CARL:] Do not forget to apply the RRAFSPatch2009.09.18 to these machines. http://sourceforge.net/projects/safsdev/files/ I have two computers and I did the same procedures in both(PC1 & PC2): I uninstalled STAF332-setup-win32 and I did Upgrade RRAFSRelease2007.04.18 to SAFSRelease2009.10.09 [CARL:] Note, upgrading SAFS does not make any changes to RRAFS. You still need the RRAFSPatch2009.09.18 mentioned above. I don't have any problem with PC1 but PC2 have the next diagnostic: (both PCs worked ok before the changes) [CARL:] I note two different AppMap names below. In one case you say you are using "ObjectMap.Map", but your test logs look like they are trying to use "MapaObjetos.MAP". The problem could very likely be that you have SetApplicationMap to the wrong map and, thus, the constants being sought are not present. I have the Application constant in ObjectMap.MAP: [ApplicationConstants] ProgramaEXE="C:\Archivos de programa\ApplicationDirectory\ApplicationName.exe" I have an step file (.SDD) with the next sentences C SetApplicationMap ^ApplicationMap = "MapaObjetos.MAP" Provide the Application Map for the DDE to use C LaunchApplication ^ApplicationID = "PROGRAMA_AC" ^ExecutablePath = "ProgramaEXE" ^WorkDir = "" ^CMDLineParam = "" ^AppMap = "MapaObjetos.MAP" Identify and Launch a specified application When I run a robot in PC2 I get the message: START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd COMMAND DEBUGGING ENABLED (in debug mode) Application Map set to>Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\MapaObjetos.MAP LAUNCHING PROGRAMA_AC **FAILED**Launch App Error in table Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd at Line 4 C LaunchApplication "PROGRAMA_AC" "ProgramaEXE" "" "" "MapaObjetos.MAP" Identify and Launch a specified application Look the attached images and variables values. The same robot works very good and fastest in PC1. I don't know what's the problem Thanks for advanced http://www.nabble.com/file/p25918438/Image1.jpg http://www.nabble.com/file/p25918438/Image2.jpg -- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Two PCs one RobotHi Carl, thankyou for answer
You are right, in this message I mentioned two Objet Map, but in the applications file (suite & steps) I have it good, excuse me. I applied RRAFSPatch2009.09.18 to PC2, but I have the same diagnostic. PC1 is working ok but PC2 doesn't work well. In PC1 I have not yet installed this Patch I note, in AULaunchApplication function in line taskid = Shell(apppath &" "& appcommand) the variable values are not correct. ![]() I have the Application constant in MapaObjetos.MAP: [ApplicationConstants] ProgramaEXE="C:\Archivos de programa\ApplicationDirectory\ApplicationName.exe" I have an step file (.SDD) with the next sentences C SetApplicationMap ^ApplicationMap = "MapaObjetos.MAP" Provide the Application Map for the DDE to use C LaunchApplication ^ApplicationID = "PROGRAMA_AC" ^ExecutablePath = "ProgramaEXE" ^WorkDir = "" ^CMDLineParam = "" ^AppMap = "MapaObjetos.MAP" Identify and Launch a specified application what do you sugest to me. Thanks for advanced Fabio |
|
|
Re: Two PCs one RobotThe problem here is that you have 1 PC on which this works, and one on which it does not. That tells us that there is nothing wrong or different between these two machines.
The symptom is that "ProgramaEXE" is NOT getting looked up or resolved from the App Map. So there is something preventing this from happening, or causing it to fail. And there isn't enough information here to know what that is. You will have to check and make sure the App Maps and Test Tables are truly identical. That STAF and SAFS are correctly getting launched. That DDVariableStore.DLL is properly registered. That the application paths and directories exist identically on both machines...etc... If you can provide a link to a full test log for both the machine that is working, and the machine that is not--that might be helpful. Carl -----Original Message----- From: Fabio Andrés [mailto:rockfavc@...] Subject: Re: [safs-rrafs] Two PCs one Robot Hi Carl, thankyou for answer You are right, in this message I mentioned two Objet Map, but in the applications file (suite & steps) I have it good, excuse me. I applied RRAFSPatch2009.09.18 to PC2, but I have the same diagnostic. PC1 is working ok but PC2 doesn't work well. In PC1 I have not yet installed this Patch I note, in AULaunchApplication function in line taskid = Shell(apppath &" "& appcommand) the variable values are not correct. http://www.nabble.com/file/p25926857/Image3.jpg I have the Application constant in MapaObjetos.MAP: [ApplicationConstants] ProgramaEXE="C:\Archivos de programa\ApplicationDirectory\ApplicationName.exe" I have an step file (.SDD) with the next sentences C SetApplicationMap ^ApplicationMap = "MapaObjetos.MAP" Provide the Application Map for the DDE to use C LaunchApplication ^ApplicationID = "PROGRAMA_AC" ^ExecutablePath = "ProgramaEXE" ^WorkDir = "" ^CMDLineParam = "" ^AppMap = "MapaObjetos.MAP" Identify and Launch a specified application what do you sugest to me. Thanks for advanced Fabio -- View this message in context: http://www.nabble.com/Two-PCs-one-Robot-tp25918438p25926857.html Sent from the safsdev-rrafs mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Two PCs one RobotHi Carl, hope you are fine.
Thank you for answer. I thinking about the error on PC2, both machines acces to network site, there is the repository project. Trying understand the problem I did the next procedures: I executed the C:\SAFS\Project\SAFSTESTLOG_Startup.bat in both computers, in PC2 shows the next message: "Exception in thread main java.lang.noClassDefFoundError: com/ibm/staf/STAFException". So I installed jdk jdk-6u15-windows-i586, and I executed the robot again, the result was: Although show the message "*** STAF Service Loader may not be operational ***", the next sentences are working ok. C SetApplicationMap ^ApplicationMap = "MapaObjetos.MAP" Provide the Application Map for the DDE to use C LaunchApplication ^ApplicationID = "PROGRAMA_AC" ^ExecutablePath = "ProgramaEXE" ^WorkDir = "" ^CMDLineParam = "" ^AppMap = "MapaObjetos.MAP" Identify and Launch a specified application Followed you'll find logs the machine that is working, and the machine that is not (the logs are just until the application must be launched). ---------------------------------- MACHINE IS WORKING WELL LOG: ---------------------------------- ------ START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std Begin Block "INICIO" ------ START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd Application Map set to>Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\MapaObjetos.MAP LAUNCHING PROGRAMA_AC ------ END DATATABLE: STEP TABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd ------ END DATATABLE: SUITE TABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std ======== BEGIN STATUS REPORT: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std TOTAL RECORDS: 4 SKIPPED RECORDS: 0 TEST RECORDS: 1 TEST FAILURES: 0 TEST WARNINGS: 0 TESTS PASSED: 1 GENERAL FAILURES: 0 GENERAL WARNINGS: 0 IO FAILURES: 0 ======== END STATUS REPORT: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std ---------------------------------- MACHINE NOT WORKING WELL LOG: ---------------------------------- ================================================================================ SQARobot Test Log: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\Logs\AC_INT_CTCAMBIOMIN.txt Version 1.1 Log OPENED 16-10-2009 18:57:16 ------ START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std Begin Block "INICIO" ------ START DATATABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd Application Map set to>Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\MapaObjetos.MAP LAUNCHING PROGRAMA_AC **FAILED**Launch App Error in table Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd at Line 4 C LaunchApplication "PROGRAMA_AC" "ProgramaEXE" "" "" "MapaObjetos.MAP" Identify and Launch a specified application ------ END DATATABLE: STEP TABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\T_ABRIRAPLICACION.sdd ------ END DATATABLE: SUITE TABLE: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std ======== BEGIN STATUS REPORT: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std TOTAL RECORDS: 4 SKIPPED RECORDS: 0 TEST RECORDS: 1 TEST FAILURES: 0 TEST WARNINGS: 0 TESTS PASSED: 1 GENERAL FAILURES: 1 GENERAL WARNINGS: 0 IO FAILURES: 0 ======== END STATUS REPORT: Z:\Soportes Choucair\Comcel\Choucair\Testing\Proyectos Testing\En Proceso\AC\P2898 - COM - Automatización AC\Funcionales\AC_AUTOMATION\Datapool\SUITE_ABRIRSISTEMA.std ---------------------------------- what do you think about... :( Thanks for advanced. Fabio |
|
|
Re: Two PCs one RobotThe error message(s) suggest STAF did not install properly. The most likely case is because STAF V2 will not install with Java 1.6. You have to use Java 1.4 or 1.5 to INSTALL it. Java 1.6 can be used for runtime AFTER the successful install with a lower version.
Carl -----Original Message----- From: Fabio Andrés [mailto:rockfavc@...] Subject: Re: [safs-rrafs] Two PCs one Robot Hi Carl, hope you are fine. Thank you for answer. I thinking about the error on PC2, both machines acces to network site, there is the repository project. Trying understand the problem I did the next procedures: I executed the C:\SAFS\Project\SAFSTESTLOG_Startup.bat in both computers, in PC2 shows the next message: "Exception in thread main java.lang.noClassDefFoundError: com/ibm/staf/STAFException". So I installed jdk jdk-6u15-windows-i586, and I executed the robot again, the result was: Although show the message "*** STAF Service Loader may not be operational ***", the next sentences are working ok. <snipped> ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Two PCs one RobotHi Carl
I hope you are fine. Thank you for all answers. I Uninstalled all software (step by step) including environment variables and the regedit keys(all Staf and SAFS keys). I installed again and all works very good. Thank you. favc
|
| Free embeddable forum powered by Nabble | Forum Help |