On Thu, 2009-11-19 at 13:15 -0800, Daevid Vincent wrote:
> I have a form with probably 100+ elements from input, checkbox, select
> boxes, textareas, etc. It's extremely tedious to fill these in all the time
> and submit while developing/testing.
>
> Anyone know of a plugin to Firefox (or IE for that matter) that will fill in
> the fields, select stuff, check stuff, etc. with some modicum of
> predictability. Random text only goes so far when debugging as you don't
> necessarily know what the field SHOULD contain.
>
> It seems the auto-fill-in plugins I found so far are designed for the
> average user and do mostly, name, email, password, address, etc... Stuff the
> average user would fill in often.
>
> My form is nothing like that. It's for submitting incidents, and I'm sure
> I'm not the only one who makes forms that aren't just user registration or
> product order forms.
>
> I found this bookmarklet which is close, but as you see by my comment there,
> it isn't all that useful.
> http://www.phpied.com/form-auto-fill-bookmarklet/#comment-71 802
>
> ----
> Daevid Vincent Says: November
> 18th, 2009
> at 10:41 pm
>
> This is awesome, however I would like it to be a bit more "predictable".
> Could you make it so that any text fields (input,textarea,etc) are the
> _name_ of the tag. so if I have:
>
>
>
> Then your script would put the string "serial_number" or "Serial Number" or
> something in the text box. This way, in debugging, I know what to expect in
> that $_POST['serial_number'] value.
>
>
Couldn't you just fill it in once, and then let your browser remember it
for you?
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-/TmCWpfTqqEkq+XWE4ns--
need browser auto-form predictable fill-in randomizer addon
I have a form with probably 100+ elements from input, checkbox, select
boxes, textareas, etc. It's extremely tedious to fill these in all the time
and submit while developing/testing.
Anyone know of a plugin to Firefox (or IE for that matter) that will fill in
the fields, select stuff, check stuff, etc. with some modicum of
predictability. Random text only goes so far when debugging as you don't
necessarily know what the field SHOULD contain.
It seems the auto-fill-in plugins I found so far are designed for the
average user and do mostly, name, email, password, address, etc... Stuff the
average user would fill in often.
My form is nothing like that. It's for submitting incidents, and I'm sure
I'm not the only one who makes forms that aren't just user registration or
product order forms.
I found this bookmarklet which is close, but as you see by my comment there,
it isn't all that useful.
http://www.phpied.com/form-auto-fill-bookmarklet/#comment-71 802
---- Daevid Vincent Says: November 18th, 2009
at 10:41 pm
This is awesome, however I would like it to be a bit more "predictable".
Could you make it so that any text fields (input,textarea,etc) are the
_name_ of the tag. so if I have:
Then your script would put the string "serial_number" or "Serial Number" or
something in the text box. This way, in debugging, I know what to expect in
that $_POST['serial_number'] value.
------=_NextPart_000_0485_01CA691A.6C34DB70--
Re: need browser auto-form predictable fill-in randomizer addon
am 20.11.2009 00:01:58 von olavell
Daevid Vincent wrote:
> I have a form with probably 100+ elements from input, checkbox, select
> boxes, textareas, etc. It's extremely tedious to fill these in all the
> time and submit while developing/testing.
If it is tedious for you it will be tedious for your future users. And as
a rule, they have far less patience than you have...
> Anyone know of a plugin to Firefox (or IE for that matter) that will
> fill in the fields, select stuff, check stuff, etc. with some modicum of
> predictability. Random text only goes so far when debugging as you don't
> necessarily know what the field SHOULD contain.
Long time ago that I used it, but I think what you want should certainly
be possible with this:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: need browser auto-form predictable fill-in randomizer addon
am 20.11.2009 10:24:11 von Nathan Rixham
Daevid Vincent wrote:
> I have a form with probably 100+ elements from input, checkbox, select
> boxes, textareas, etc. It's extremely tedious to fill these in all the time
> and submit while developing/testing.
>
> Anyone know of a plugin to Firefox (or IE for that matter) that will fill in
> the fields, select stuff, check stuff, etc. with some modicum of
> predictability. Random text only goes so far when debugging as you don't
> necessarily know what the field SHOULD contain.
>
why not kill two birds with one stone and use selenium to test properly
and automate the process?
http://seleniumhq.org/
bit of integration testing certainly won't harm you.
however - to take O.Lavell's comment on board if you can ("If it is
tedious for you it will be tedious for your future users. And as
a rule, they have far less patience than you have.")
regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: need browser auto-form predictable fill-in randomizer addon
am 20.11.2009 14:31:50 von Bob McConnell
From: Daevid Vincent
> I have a form with probably 100+ elements from input, checkbox, select
> boxes, textareas, etc. It's extremely tedious to fill these in all the
time
> and submit while developing/testing.
>=20
> Anyone know of a plugin to Firefox (or IE for that matter) that will
fill in
> the fields, select stuff, check stuff, etc. with some modicum of
> predictability. Random text only goes so far when debugging as you
don't
> necessarily know what the field SHOULD contain.
The Selenium IDE plug-in records a macro when you fill out the form. You
can run, edit and save that macro, or export it to a half dozen
different languages, then copy and edit those scripts, etc. I record
whole session scenarios, export them to Perl and run them through the
Selenium Remote Control server. I manage them with Perl's Test::Harness.
I am slowly building up a regression test suite for a commercial site. I
tried to do it in PHP, but couldn't find a functional test harness that
wasn't OO based. (Unfortunately, after 40 years of procedural
programming, mostly in assembly languages, I have no class.)
One note, the IDE will not import scripts once they are exported. You
can only load scripts that were saved. These appear to be an xhtml
format.
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Upgrading PHP versions
am 20.11.2009 16:49:31 von David Stoltz
Hi,
We are currently using PHP version 5.2.6. in production, and I'd like to
upgrade to the latest 5.3.1
My Assumptions:
- I can simply download the Windows binary file, and install it.
- None of the 5.2.6 code will break
Will there be a momentary interruption of web services during the
install? Will the current PHP applications stop working during the
upgrade?
Thanks for any info.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Upgrading PHP versions
am 20.11.2009 16:50:29 von Bob McConnell
Assumption 2 is invalid. You need to take a close look at the change
log. Many "features" from 5.2 are no longer available and will break
code that depends on them.
Bob McConnell
-----Original Message-----
From: David Stoltz [mailto:Dstoltz@SHH.ORG]=20
Sent: Friday, November 20, 2009 10:50 AM
To: php-general@lists.php.net
Subject: [PHP] Upgrading PHP versions
Hi,
We are currently using PHP version 5.2.6. in production, and I'd like to
upgrade to the latest 5.3.1
My Assumptions:
- I can simply download the Windows binary file, and install it.
- None of the 5.2.6 code will break
Will there be a momentary interruption of web services during the
install? Will the current PHP applications stop working during the
upgrade?
Thanks for any info.
--=20
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread Safe?
am 20.11.2009 16:51:24 von David Stoltz
Forgot to ask:
On the Windows download page, there are options like:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Upgrading PHP versions
am 20.11.2009 16:59:06 von David Stoltz
Bob - I checked the changelog - 99% of it are bug fixes....
I don't see anything about 5.2.x features not being available as you
suggest.
But thanks for the reply.
-----Original Message-----
From: Bob McConnell [mailto:rvm@CBORD.com]=20
Sent: Friday, November 20, 2009 10:50 AM
To: David Stoltz; php-general@lists.php.net
Subject: RE: [PHP] Upgrading PHP versions
Assumption 2 is invalid. You need to take a close look at the change
log. Many "features" from 5.2 are no longer available and will break
code that depends on them.
Bob McConnell
-----Original Message-----
From: David Stoltz [mailto:Dstoltz@SHH.ORG]=20
Sent: Friday, November 20, 2009 10:50 AM
To: php-general@lists.php.net
Subject: [PHP] Upgrading PHP versions
Hi,
We are currently using PHP version 5.2.6. in production, and I'd like to
upgrade to the latest 5.3.1
My Assumptions:
- I can simply download the Windows binary file, and install it.
- None of the 5.2.6 code will break
Will there be a momentary interruption of web services during the
install? Will the current PHP applications stop working during the
upgrade?
Thanks for any info.
--=20
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Thread Safe?
am 20.11.2009 17:08:05 von Shawn McKenzie
David Stoltz wrote:
> Forgot to ask:
>
> On the Windows download page, there are options like:
>
> VC9 Thread Safe
> VC9 Non-Thread Safe
> VC6 Thread Safe
> ...etc
>
> What is the VC, and what is thread safe?
>
> Thanks!
VC = Microsoft Visual C. 9 and 6 are the versions.
http://en.wikipedia.org/wiki/Thread_safety
Thread Safe PHP on Linux isn't recommended because some extensions may
not be thread safe but I think on Windows it's ok if you need it.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Upgrading PHP versions
am 20.11.2009 17:20:52 von Brady Mitchell
> We are currently using PHP version 5.2.6. in production, and I'd like to
> upgrade to the latest 5.3.1
Before upgrading production, upgrade your staging server and do QA.
Any big changes like this should be tested in staging before being
pushed to production. Also take a look at
http://php.net/ChangeLog-5.php to be sure you know what has changed
between 5.2.6 and 5.3.1.
> My Assumptions:
> - I can simply download the Windows binary file, and install it.
I don't use PHP on Windows, but I would never make this assumption.
Things never seem to be as easy as I expect them to be. Try on a
staging server before making a change like this in production.
> - None of the 5.2.6 code will break
That's a big assumption. The only way I know of to test it is running
the code on a box with 5.3.1 and test it.
> Will there be a momentary interruption of web services during the
> install? Will the current PHP applications stop working during the
> upgrade?
I've never used IIS, so I may not be helpful here. If you're using
Apache on Windows you'll need to restart Apache is generally a very
fast operation.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Upgrading PHP versions
am 20.11.2009 17:23:38 von Bob McConnell
You may be right, I keep thinking of the bugs that were dropped out of
6.0, like magic quotes and register globals. They're only deprecated in
5.3.
bm
-----Original Message-----
From: David Stoltz [mailto:Dstoltz@SHH.ORG]=20
Sent: Friday, November 20, 2009 10:59 AM
To: Bob McConnell; php-general@lists.php.net
Subject: RE: [PHP] Upgrading PHP versions
Bob - I checked the changelog - 99% of it are bug fixes....
I don't see anything about 5.2.x features not being available as you
suggest.
But thanks for the reply.
-----Original Message-----
From: Bob McConnell [mailto:rvm@CBORD.com]=20
Sent: Friday, November 20, 2009 10:50 AM
To: David Stoltz; php-general@lists.php.net
Subject: RE: [PHP] Upgrading PHP versions
Assumption 2 is invalid. You need to take a close look at the change
log. Many "features" from 5.2 are no longer available and will break
code that depends on them.
Bob McConnell
-----Original Message-----
From: David Stoltz [mailto:Dstoltz@SHH.ORG]=20
Sent: Friday, November 20, 2009 10:50 AM
To: php-general@lists.php.net
Subject: [PHP] Upgrading PHP versions
Hi,
We are currently using PHP version 5.2.6. in production, and I'd like to
upgrade to the latest 5.3.1
My Assumptions:
- I can simply download the Windows binary file, and install it.
- None of the 5.2.6 code will break
Will there be a momentary interruption of web services during the
install? Will the current PHP applications stop working during the
upgrade?
Thanks for any info.
--=20
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php