Robotic testing of 4D

View: New views
11 Messages — Rating Filter:   Alert me  

Robotic testing of 4D

by Basil Bourque :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anyone have experience with robotic testing of 4D?

Preferably on the Windows platform.

We want to more closely simulate the production environment. Like most  
4D apps, ours in inherently gui-oriented with much of the code buried  
in scripts of buttons and other screen widgets. That means our app  
does not lend itself to "headless" non-gui testing.

In the past, I've seen professional testers use tools that replace a  
human in operating a GUI app. The "robot" software fakes the clicking  
of the mouse and the typing of the keyboard. The robot follows a  
script. Building that script is a tedious process. And if the gui  
changes, the script must be altered. So this work is not a ton of fun,  
but in our case may be worth the trouble.

Can anyone suggest such robotic software tools?

Any experience doing this kind of testing with 4D?

--Basil Bourque


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by David Dancy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have looked at it but decided that for the moment it's too hard for
us to do. The main issue is that (on Windows at least) 4D does not
draw controls in its windows in the same way as a "normal" Windows
application (everything in Windows is a "window", whether it's a
combo-box or a field or a tab control or an actual window). These
controls can be read by other applications that know how to query the
Windows controls API, but in the case of a 4D app they all fail
because 4D manages the controls by itself and the API calls return
nothing.

This means that the normal scripting-type automation tools have no
idea what's on the screen, despite the fact that all controls in a 4D
window look like the standard ones you get in Windows. This in turn
means that if you want to script a window in 4D, you have to do it in
terms of clicks-at-a-position or a series of keystrokes interspersed
with TABs to get around the field list.

There are tools out there that can do this. But for us as I say this
was just too hard, so for now I'm sticking with Unit Tests as the next
best thing.

For me the truly best option is to re-engineer my forms so that they
use a "form controller" approach (all objects on the form just call
the form controller with their form event and their identity). This
will allow the form to be driven by a scripting system that you can
build yourself. But it's a non-trivial job, and doubly so if the forms
in your app haven't been designed with that in mind from the start.

Of course, much of this would be moot if 4D would allow object methods
to be called from within the 4D language... :)

David Dancy
Sydney, Australia



2009/11/3 Basil Bourque <basil.bourque.inug@...>:

> Does anyone have experience with robotic testing of 4D?
>
> Preferably on the Windows platform.
>
> We want to more closely simulate the production environment. Like most 4D
> apps, ours in inherently gui-oriented with much of the code buried in
> scripts of buttons and other screen widgets. That means our app does not
> lend itself to "headless" non-gui testing.
>
> In the past, I've seen professional testers use tools that replace a human
> in operating a GUI app. The "robot" software fakes the clicking of the mouse
> and the typing of the keyboard. The robot follows a script. Building that
> script is a tedious process. And if the gui changes, the script must be
> altered. So this work is not a ton of fun, but in our case may be worth the
> trouble.
>
> Can anyone suggest such robotic software tools?
>
> Any experience doing this kind of testing with 4D?
>
> --Basil Bourque
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Jack des Bouillons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you write your 4D code directly in the buttons, popups, ect., this is
true.  If, however, you create project methods that run within the scripts,
and pass parameters such as SELF and FORM EVENT to this methods, you can
simulate user actions through code.

But this, too, is a lot of work.

Jack des Bouillons


On 11/2/09 1:43 PM, "Basil Bourque" <basil.bourque.inug@...> wrote:

> Like most  
> 4D apps, ours in inherently gui-oriented with much of the code buried
> in scripts of buttons and other screen widgets.



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Rikard Sagnér :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

We have started doing this for benchmarking simulating multiple users.  
We do this using "post key" and a text file that decides which key to  
"press" to drive the test case. To make this work all functions must  
have some kind of associated shortcut key. When, in our case, the  
client is started it look for a file called "scripts.txt", if it is  
found a new local process is created that types out the content of the  
file using post key. Special keys like ESC, Enter, up arrow, down  
arrow, we store in the file using self invented tagt like "[ESC]",  
[ARROWUP] ...... We also had to make it possible to set delays in the  
scripts since certain functions takes longer time to execute. By  
adding simple "goto line" syntax we can also do loops.

To simulate using many client (+100) you have to use something like  
Amazon Cloud or a big terminal servers to launch many clients without  
having to manually start every client.

The idea comes from Thomas Maul who also has written a tech note which  
includes two parts:

1. Making you 4D app scriptable
2. Running benchmarks using Amazon

Hopes this helps to get you started.

Best,

Rikard - Metodika


2 nov 2009 kl. 22.43 skrev Basil Bourque:

> Does anyone have experience with robotic testing of 4D?
>
> Preferably on the Windows platform.
>
> We want to more closely simulate the production environment. Like  
> most 4D apps, ours in inherently gui-oriented with much of the code  
> buried in scripts of buttons and other screen widgets. That means  
> our app does not lend itself to "headless" non-gui testing.
>
> In the past, I've seen professional testers use tools that replace a  
> human in operating a GUI app. The "robot" software fakes the  
> clicking of the mouse and the typing of the keyboard. The robot  
> follows a script. Building that script is a tedious process. And if  
> the gui changes, the script must be altered. So this work is not a  
> ton of fun, but in our case may be worth the trouble.
>
> Can anyone suggest such robotic software tools?
>
> Any experience doing this kind of testing with 4D?

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Sujit Shah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nMacro Recorder is a useful tool. Using native 4D it would be easy to
simulate POST CLICKs however drop downs, lists, drag drop would be
really tough I imagine.


--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"The butterfly does not count years, but moments, and therefore has
enough time." - Rabindranath Tagore
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There was demoed at last years summit or was it the previous years
summit??) such a test system -
I dont remember the name of the system though...

I did some quick searching in gmane - but wasnt able to find what I was
looking for...


 
On Mon, 02 Nov 2009 13:43:28 -0800, Basil Bourque wrote:

> Does anyone have experience with robotic testing of 4D?
>
> Preferably on the Windows platform.
>
> We want to more closely simulate the production environment. Like
> most 4D apps, ours in inherently gui-oriented with much of the code
> buried in scripts of buttons and other screen widgets. That means our
> app does not lend itself to "headless" non-gui testing.
>
> In the past, I've seen professional testers use tools that replace a
> human in operating a GUI app. The "robot" software fakes the clicking
> of the mouse and the typing of the keyboard. The robot follows a
> script. Building that script is a tedious process. And if the gui
> changes, the script must be altered. So this work is not a ton of
> fun, but in our case may be worth the trouble.
>
> Can anyone suggest such robotic software tools?
>
> Any experience doing this kind of testing with 4D?
>
> --Basil Bourque
>
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>  
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Silver Surfer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eggplant!

http://www.testplant.com/

There was a presentation on it at the Realbasic conference a few years ago.
  4D should invite these guys to present it at he next summit.  Really good
stuff.  (But $$$$$)

I know it does not answer Basils question but al there is web tester called
Selenium.    http://seleniumhq.org/  Open Source but is web stuff only.




On Mon, Nov 2, 2009 at 4:44 PM, Chip Scheide <4d_Only@...>wrote:

> There was demoed at last years summit or was it the previous years
> summit??) such a test system -
> I dont remember the name of the system though...
>
> I did some quick searching in gmane - but wasnt able to find what I was
> looking for...
>
>
>
> On Mon, 02 Nov 2009 13:43:28 -0800, Basil Bourque wrote:
> > Does anyone have experience with robotic testing of 4D?
> >
> > Preferably on the Windows platform.
> >
> > We want to more closely simulate the production environment. Like
> > most 4D apps, ours in inherently gui-oriented with much of the code
> > buried in scripts of buttons and other screen widgets. That means our
> > app does not lend itself to "headless" non-gui testing.
> >
> > In the past, I've seen professional testers use tools that replace a
> > human in operating a GUI app. The "robot" software fakes the clicking
> > of the mouse and the typing of the keyboard. The robot follows a
> > script. Building that script is a tedious process. And if the gui
> > changes, the script must be altered. So this work is not a ton of
> > fun, but in our case may be worth the trouble.
> >
> > Can anyone suggest such robotic software tools?
> >
> > Any experience doing this kind of testing with 4D?
> >
> > --Basil Bourque
> >
> >
> > **********************************************************************
> > Get the speed and power of 4D v11 SQL
> > before upgrade prices increase - http://www.4d.com
> >
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4D.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4D_Tech-Unsubscribe@...
> > **********************************************************************
> >
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Nigel Greenlee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chip

The system shown last year or was it the year before..was using  
Eggplant.

As i remember from discussions with people, the issue in implementing  
this is that it does work by clicking at position x y and doing action  
z. If I am wrong about that i am sure someone will chip in(no pun  
intended!).  As soon as you start having dynamic forms with bits  
hiding or repositioning themselves creating the test scripts becomes  
more complicated by all accounts....

So I am here i am with this preference screen that has 20 check boxes  
of options..each of those is going to affect how a form is going to  
behave in my system, and for V12 i am going to create a nice new form  
with one object on it to use for all forms in all tables, anyone care  
to script the tests!....





On 2 Nov 2009, at 22:44, Chip Scheide wrote:

> There was demoed at last years summit or was it the previous years
> summit??) such a test system -
> I dont remember the name of the system though...
>
> I did some quick searching in gmane - but wasnt able to find what I  
> was
> looking for...
>
>
>
> On Mon, 02 Nov 2009 13:43:28 -0800, Basil Bourque wrote:
>> Does anyone have experience with robotic testing of 4D?
>>
>> Preferably on the Windows platform.
>>
>> We want to more closely simulate the production environment. Like
>> most 4D apps, ours in inherently gui-oriented with much of the code
>> buried in scripts of buttons and other screen widgets. That means our
>> app does not lend itself to "headless" non-gui testing.
>>
>> In the past, I've seen professional testers use tools that replace a
>> human in operating a GUI app. The "robot" software fakes the clicking
>> of the mouse and the typing of the keyboard. The robot follows a
>> script. Building that script is a tedious process. And if the gui
>> changes, the script must be altered. So this work is not a ton of
>> fun, but in our case may be worth the trouble.
>>
>> Can anyone suggest such robotic software tools?
>>
>> Any experience doing this kind of testing with 4D?
>>
>> --Basil Bourque
>>
>>
>> **********************************************************************
>> Get the speed and power of 4D v11 SQL
>> before upgrade prices increase - http://www.4d.com
>>
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4D.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4D_Tech-Unsubscribe@...
>> **********************************************************************
>>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Robotic testing of 4D

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That the one I was thinking of

Thanks Nigel
On Tue, 3 Nov 2009 11:34:41 +0000, Nigel Greenlee wrote:
> The system shown last year or was it the year before..was using Eggplant.
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Parent Message unknown Robotic testing of 4D

by Loperfido, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Robotic Testing
http://www.tethyssolutions.com/macro-automation.htm

WorkSpace Macro Pro has a free trial.

It would work like this -
You macro record a little bit of what you want to do,
Save it,
Then edit it ... Add pauses, waits, etc.
Then you can call it from another macro, have a macro that calls a macro, etc.
What seems to work best with forms,
Simulate mouse click in the upper left corner of a form then
Tab repeat number of times till you get to the field you want to work with,
Code in the value or Pause and manual enter, then program a keystroke etc...

In order to work well, your forms need to be consistent and
all menu items and buttons need to be accessible by tab.

There are other tools that do this, but this has a free trial, and offers a low cost entry.
They also offer a full scale edition, should you see progress and need more code control.

Mike Loperfido
714 896 3685
Michael.Loperfido@...

-----Original Message-----
From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On Behalf Of 4d_tech-request@...
Sent: Tuesday, November 03, 2009 12:00 AM
To: 4d_tech@...
Subject: 4D_Tech Digest, Vol 30, Issue 6

Send 4D_Tech mailing list submissions to
        4d_tech@...

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.4d.com/mailman/listinfo/4d_tech
or, via email, send a message with subject or body 'help' to
        4d_tech-request@...

You can reach the person managing the list at
        4d_tech-owner@...

When replying, please edit your Subject line so it is more specific than "Re: Contents of 4D_Tech digest..."


Today's Topics:

   1. Re: need some immediate help dealing with old DBs (Walt Nelson)
   2. Re: Robotic testing of 4D (Jack des Bouillons)
   3. Re: Robotic testing of 4D (Rikard Sagn?r)
   4. Re: Robotic testing of 4D (Sujit Shah)
   5. Re: need some immediate help dealing with old DBs (Ortwin Zillgen)
   6. Re: Robotic testing of 4D (Chip Scheide)
   7. Re: Error -20001? (Bill Weale)
   8. RE: v11 List Box sorting (David Ringsmuth)
   9. HTML Email Component crashing (Just In Time)
  10. RE: HTML Email Component crashing (Thomas Maul)


----------------------------------------------------------------------

Message: 1
Subject: Re: need some immediate help dealing with old DBs
Date: Mon, 2 Nov 2009 22:05:15 +0000
From: "Walt Nelson" <walt@...>
To: "4D iNug Technical" <4d_tech@...>
Message-ID:
        <208531841-1257199517-cardhu_decombobulator_blackberry.rim.net-565178834-@...>


Glenn,

Have you tried opening older data files with later structures?

Walt Nelson - Guam

Glenn said:
So... The older Mac I was able to bring up is running os 9.  I found my 4D 3.5.3 CD and serial number, and tried and tried to install it.
It had already been installed on that machine I believe -- during the install process, when telling it to use the electronic registration process it said it was already licensed and knew the serial number.

Sent from my BlackBerry? wireless device

------------------------------

Message: 2
Subject: Re: Robotic testing of 4D
Date: Mon, 02 Nov 2009 14:18:56 -0800
From: Jack des Bouillons <jack.desbouillons@...>
To: 4D iNug Technical <4d_tech@...>
Message-ID: <C7149AD0.44FEA%jack.desbouillons@...>

If you write your 4D code directly in the buttons, popups, ect., this is true.  If, however, you create project methods that run within the scripts, and pass parameters such as SELF and FORM EVENT to this methods, you can simulate user actions through code.

But this, too, is a lot of work.

Jack des Bouillons


On 11/2/09 1:43 PM, "Basil Bourque" <basil.bourque.inug@...> wrote:

> Like most
> 4D apps, ours in inherently gui-oriented with much of the code buried
> in scripts of buttons and other screen widgets.





------------------------------

Message: 3
Subject: Re: Robotic testing of 4D
Date: Mon, 2 Nov 2009 23:40:58 +0100
From: Rikard Sagn?r <rikard@...>
To: 4D iNug Technical <4d_tech@...>
Message-ID: <82D24CDA-6835-41D1-9024-026BC9049D46@...>

Hi,

We have started doing this for benchmarking simulating multiple users.
We do this using "post key" and a text file that decides which key to
"press" to drive the test case. To make this work all functions must
have some kind of associated shortcut key. When, in our case, the
client is started it look for a file called "scripts.txt", if it is
found a new local process is created that types out the content of the
file using post key. Special keys like ESC, Enter, up arrow, down
arrow, we store in the file using self invented tagt like "[ESC]",
[ARROWUP] ...... We also had to make it possible to set delays in the
scripts since certain functions takes longer time to execute. By
adding simple "goto line" syntax we can also do loops.

To simulate using many client (+100) you have to use something like
Amazon Cloud or a big terminal servers to launch many clients without
having to manually start every client.

The idea comes from Thomas Maul who also has written a tech note which
includes two parts:

1. Making you 4D app scriptable
2. Running benchmarks using Amazon

Hopes this helps to get you started.

Best,

Rikard - Metodika


2 nov 2009 kl. 22.43 skrev Basil Bourque:

> Does anyone have experience with robotic testing of 4D?
>
> Preferably on the Windows platform.
>
> We want to more closely simulate the production environment. Like
> most 4D apps, ours in inherently gui-oriented with much of the code
> buried in scripts of buttons and other screen widgets. That means
> our app does not lend itself to "headless" non-gui testing.
>
> In the past, I've seen professional testers use tools that replace a
> human in operating a GUI app. The "robot" software fakes the
> clicking of the mouse and the typing of the keyboard. The robot
> follows a script. Building that script is a tedious process. And if
> the gui changes, the script must be altered. So this work is not a
> ton of fun, but in our case may be worth the trouble.
>
> Can anyone suggest such robotic software tools?
>
> Any experience doing this kind of testing with 4D?



------------------------------

Message: 4
Subject: Re: Robotic testing of 4D
Date: Tue, 3 Nov 2009 09:44:02 +1100
From: Sujit Shah <sujit.au@...>
To: 4D iNug Technical <4d_tech@...>
Message-ID:
        <50a60dc00911021444s29a06644t76891b4b150072f@...>

nMacro Recorder is a useful tool. Using native 4D it would be easy to
simulate POST CLICKs however drop downs, lists, drag drop would be
really tough I imagine.


--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"The butterfly does not count years, but moments, and therefore has
enough time." - Rabindranath Tagore


------------------------------

Message: 5
Subject: Re: need some immediate help dealing with old DBs
Date: Mon, 2 Nov 2009 23:48:09 +0100
From: Ortwin Zillgen <info@...>
To: 4d_tech@...
Message-ID: <EB73D05D-E370-476E-82DA-FB534D614FD8@...>

> So, I still have these old DBs (ok, a couple might be from 4D ver 1,
> I know a few are 4D ver 2, and then up from there) that I can't
> access yet.
>
> Any ideas?

the demo-versions for 3.5 should help converting v1 and v2 (both
international counting).
did you try 6.8 to open the 3.5 DBs?


for older versions I use Mac-on-Stick, sometimes
<http://www.linuxbeacon.com/doku.php?id=minivmac>



Regards
Ortwin Zillgen
___________________________________________________
Stadt Land Flu? * Geographic Informationsystems
<mailto:info@...>   <http://dddd.mettre.de?4713>
RSS <feed://dddd.mettre.de/dddd.xml>
RSS <feed://dddd.mettre.de/f/DDDD_Links.xml>





------------------------------

Message: 6
Subject: Re: Robotic testing of 4D
Date: Mon, 2 Nov 2009 17:44:06 -0500
From: Chip Scheide <4d_Only@...>
To: 4D iNug Technical <4d_tech@...>
Message-ID: <20091102174406370724.4a34e65e@...>

There was demoed at last years summit or was it the previous years
summit??) such a test system -
I dont remember the name of the system though...

I did some quick searching in gmane - but wasnt able to find what I was
looking for...



On Mon, 02 Nov 2009 13:43:28 -0800, Basil Bourque wrote:

> Does anyone have experience with robotic testing of 4D?
>
> Preferably on the Windows platform.
>
> We want to more closely simulate the production environment. Like
> most 4D apps, ours in inherently gui-oriented with much of the code
> buried in scripts of buttons and other screen widgets. That means our
> app does not lend itself to "headless" non-gui testing.
>
> In the past, I've seen professional testers use tools that replace a
> human in operating a GUI app. The "robot" software fakes the clicking
> of the mouse and the typing of the keyboard. The robot follows a
> script. Building that script is a tedious process. And if the gui
> changes, the script must be altered. So this work is not a ton of
> fun, but in our case may be worth the trouble.
>
> Can anyone suggest such robotic software tools?
>
> Any experience doing this kind of testing with 4D?
>
> --Basil Bourque
>
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>


------------------------------

Message: 7
Subject: Re: Error -20001?
Date: Mon, 2 Nov 2009 18:51:11 -0500
From: Bill Weale <Bill.Weale@...>
To: 4D iNug Technical <4d_tech@...>
Message-ID: <F33DEDCD-55CD-4208-9169-6B5ECBBADA07@...>

My mistake; I'm looking for the meaning/text explanation of error
#-20001. The range check error was my bad--from the error handler.

8-|

--Bill


On Nov 2, 2009, at 12:18 PM, Bill Weale wrote:

> Mac OS 10.4/4D server/client v11 r4
>
> While running compiled I'm trapping an error number -20001 which
> says it's an array range check error. The symptom is that the cpu is
> flooded and the app has to be forced quit. I'm not altogether sure
> exactly what user action is prompting the error, but no others on
> the system are experiencing it.
>
> Anyone have more details on this error number?
>
> Thanks,
>



------------------------------

Message: 8
Subject: RE: v11 List Box sorting
Date: Mon, 2 Nov 2009 20:44:56 -0600
From: "David Ringsmuth" <davidinug@...>
To: "'4D iNug Technical'" <4d_tech@...>
Message-ID: <003201ca5c2f$a21ae3d0$e650ab70$@com>

Chip,

While displaying a selection in an output form on [Table1], if your form
attempts

Query([Table2];[Table2]Field1=Value;*)
Query([Table2];&;[Table1]FieldAny=Value),

...this Query will NOT work because you are currently in the output form for
[Table1].

This is what I was trying to say. I encountered this and corrected it by
spawning the process doing the query.

I made the untested deduction that because of this, if you enter your form
through an output form (like [Table1]) and then do a query on a different
table (like [Table2]) that cross-relational searches back to your first
table, the query may be failing because you are "in" an output form.

I believe this works the same way in v11.

David Ringsmuth



------------------------------

Message: 9
Subject: HTML Email Component crashing
Date: Mon, 2 Nov 2009 20:27:15 -0800 (PST)
From: Just In Time <jleavens@...>
To: 4d_tech@...
Message-ID: <26159964.post@...>


I'm trying to integrate the HTML Email component into a v11.4 (unicode)
database. I've installed the component and copied forms & required methods
into the new host database. Everything displays properly, but as soon as I
click into the web area displaying the tinyMCE editor and make a change
(type a letter or try to delete a character) I getting a spinning pinwheel
and 4D Client crashes. If I throw it into trace mode, I get no 4D event
before the crash. And the example database seems to work OK, so it doesn't
seem to be anything with the overall setup.

Is there something simple I'm missing?

-----
-----
Justin Leavens
Just In Time Consulting, Inc
4D Application Consulting and A4/Foresight Financials/AcctVantage
customization
justin@... / www.justintimebusiness.com / (818) 986-7298
--
View this message in context: http://old.nabble.com/HTML-Email-Component-crashing-tp26159964p26159964.html
Sent from the 4D Tech mailing list archive at Nabble.com.



------------------------------

Message: 10
Subject: RE: HTML Email Component crashing
Date: Tue, 3 Nov 2009 08:18:31 +0100
From: "Thomas Maul" <Thomas.Maul@...>
To: <4d_tech@...>
Message-ID:
        <761C7149B253E046AED5D16890F38659E55D84@...>

> click into the web area displaying the tinyMCE editor and make a change
(type a letter or try to delete a character) I getting a spinning pinwheel
and 4D Client crashes.

without informations about used system and used 4D version it's hard to answer.

"spinning pinwheel" sounds like a Mac. If yes, maybe you use Safari 4?

If yes: there are known issues with Safari 4, specially with JavaScript, which could lead to a crash.

11.4 hotfix 7 solves some of them, for me it does not crash in the described enviornment (at least not in the original example).
I can reproduce with tinyMCE and the original example crashes if I click on the "image manager" button. (open another window on top of the html editor) with 10.6.2 and Safari 4.0.3. Work on that is in progress.

Note: you need to update tinyMCE (details how to do that are described at the end of the tech note) to their latest version for Safari 4 in any case, else some features such as changing font/size/color, will not work. The tech note was published/written before Safari 4 was available and similar for tinyMCE, so not compatible to Safari 4.


If you have these issues with Safari 3 or on Windows, we need more informations.
best regards
Thomas Maul


------------------------------

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

End of 4D_Tech Digest, Vol 30, Issue 6
**************************************
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com


4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Parent Message unknown RE: Robotic testing of 4D

by Joshua Fletcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FWIW (and based on the description below, I have no experience with
WorkSpace Macro Pro) Autohotkey will do all of this for free:

http://www.autohotkey.com/

This is not an official endorsement from 4D, just something I've used for
automated testing on a small scale.

Kind regards,
 
Josh Fletcher
 
--
Josh Fletcher
4D Technical Services Team Member
http://www.4d.com

> -----Original Message-----
> From: Loperfido, Michael [mailto:michael.loperfido@...]
> Sent: Tuesday, November 03, 2009 9:37 AM
> To: 4d_tech@...
> Subject: Robotic testing of 4D
>
>  Robotic Testing
> http://www.tethyssolutions.com/macro-automation.htm
>
> WorkSpace Macro Pro has a free trial.
>
> It would work like this -
> You macro record a little bit of what you want to do,
> Save it,
> Then edit it ... Add pauses, waits, etc.
> Then you can call it from another macro, have a macro that calls a macro,
> etc.
> What seems to work best with forms,
> Simulate mouse click in the upper left corner of a form then
> Tab repeat number of times till you get to the field you want to work
> with,
> Code in the value or Pause and manual enter, then program a keystroke
> etc...
>
> In order to work well, your forms need to be consistent and
> all menu items and buttons need to be accessible by tab.
>
> There are other tools that do this, but this has a free trial, and offers
> a low cost entry.
> They also offer a full scale edition, should you see progress and need
> more code control.
>
> Mike Loperfido
> 714 896 3685
> Michael.Loperfido@...

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************