|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
OCX Type ObjectHello every one
I have an Visual Basic application, Rational Robot version 2003.06.13.402.000 I have a problem to recognize a Button OCX object type. In ObjectMap I have: BT_SALIR="Type=OCX;Name=BT_SALIR" When the script is running in GenericObjectFunctions, Sub GenericClick(Optional action), the cursor enters to: CASE ELSE GenericObject action, .compGUIID, parameter but GenericObject 1301, "Type=OCX;Name=BT_SALIR","" doesn't work ok. could help me please, what must I do? Thanks in advanced. Fabio Valencia ![]() |
|
|
Re: OCX Type ObjectSorry no one has tried to answer this one for you. I was out on vacation all last week.
What action are you trying to run? What does "doesn't work" mean? What kind of error are you getting? Are you getting no error? Does everything say "success", but the action did not really happen? Does the action correctly playback if you record it in a script? What are the recognition string(s) recorded if you make a Robot script? Carl -----Original Message----- From: Fabio Andrés [mailto:rockfavc@...] Subject: [safs-rrafs] OCX Type Object Hello every one I have a problem to recognize a Button OCX object type, in ObjectMap I have: BT_SALIR="Type=OCX;Name=BT_SALIR" When the script is running in GenericObjectFunctions, Sub GenericClick(Optional action), the cursor enter to: CASE ELSE GenericObject action, .compGUIID, parameter but GenericObject 1301, "Type=OCX;Name=BT_SALIR","" doesn't work ok. could help me please, what must I do? Thanks in advanced. Fabio Valencia ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: OCX Type ObjectHi Carl, I hope you enjoyed the vacation. My problem was solved, all it ocurred was: the robot does clic on saved button, but inmediatly appears an msgbox causing a lost of focus into windows, so any object is does not recognize any more. when the robot going to make clic on exit button but is not found. I solved it using (X,Y) coordinates to make clic on exit button. however when the frame work do not found any object, many times follow on and the message log is: example. "the Click performed on BConexion" but this is false. ¿what solution exists for this? I have another question, what must I do, when new objects are made thanks for advanced |
|
|
Re: OCX Type ObjectFrom: Fabio Andrés [mailto:rockfavc@...]
Subject: Re: [safs-rrafs] OCX Type Object 1. My problem was solved, all that ocurred was: the robot does a click on Save button, but immediately appears an msgbox causing a loss of focus to other windows. So Robot does not find underlying components any more. When Robot tries to click on Exit button it is not found. Carl asks: Exit is not found? What recognition string are you using? What is recorded in a Robot script when you click the Exit button? Does such a script properly play back? 2. I can use (X,Y) coordinates to click on Exit button. However when the frame work does not find an object, many times in the message log is: "Click performed on BConexion", but this is false. ¿what solution exists for this? Carl responds: Usually this means we found the component and we told Robot to Click it. However, if Robot is unsuccessful in Clicking we may not be made aware of it. Usually this would occur if the component is being obstructed or covered by another component or window. Make sure your automation handles whatever windows or obstructions that might be getting in the way. Also, make sure your Robot settings for "Unexpected Active Window" and "Error Recovery" in Tools->GUI Playback Options are configured as documented in the SAFS setup documents. Primarily, these types of runtime issues must be configured to "Continue Execution". 3. I have another question, what must I do, when new objects are made. Carl asks: I'm going to need you to clarify this one. I don't know what you mean by "when new objects are made". Explain more fully what you are referring to and what you think you have to do or want to do. What is the scenario in which new objects are made? As a wild guess I will point you to some info on Dynamic Object Recognition: http://safsdev.sourceforge.net/sqabasic2000/CreateAppMap.htm#ddv_lookup ------------------------------------------------------------------------------ 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 |
| Free embeddable forum powered by Nabble | Forum Help |