Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [maxq-users] how i begin with maxq ?

maxq
Discussion topic

Back to topic list

Re: [maxq-users] how i begin with maxq ?

Author christophe blin <cblin at tennaxia dot com>
Full name christophe blin <cblin at tennaxia dot com>
Date 2005-08-25 08:10:20 PDT
Message Hi,

1/ read the whole documentation especially
http://maxq.tigris.o​rg/docs/edit.html
2/ begin with simple examples. For example:
    - ask google to search maxq and verify that it is the first result
    - ask google to search maxq and verify that it the 3rd result of the
3rd page is XXX
3/ complexify the example. For example, try a form with a hidden field
which is randomly generated:
<?php
  $random_value = rand();
  echo '<form method="post" action="'.$_SERVER[​'PHP_SELF'].'">'.​"\n";
  echo '<input name= "hid" type="hidden" value="'.$random_value.'" />'."\n";
  echo '<input name="test" type="text" />'."\n";
  echo '<input type="submit"/>'."\n";
  echo '</form>'."\n";
  echo "Previous test was:". $_POST['test']."; previous hid was:".
$_POST['hid']
?>
now write the test that ask the page (imagine that the hidden field is
124), post the form with test=toto and verify that it writes Previous
test was toto; previous hid was 124.
This is not so easy as you must parse the response before posting it back.

Ask help when you need it (I do not know what you are testing so maybe
you do not need the step 3/)

regards,
chris

jay_teraiya at persistent dot co dot in wrote:

>hi
>
>i m new member of maxq project.
>
>i want to study whole thing and i want to know original
>mechenisam ?
>
>and i want to know original flow of project ?
>
>so from where i should read ?
>
>please give me some information
>
>thanks
>
>
>----------------​--------------------​--------------------​-------------
>To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
>For additional commands, e-mail: users-help at maxq dot tigris dot org
>
>
>
>
>

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

how i begin with maxq ? jay_teraiya jay teraiya 2005-08-25 07:12:22 PDT
     Re: [maxq-users] how i begin with maxq ? christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-08-25 08:10:20 PDT
Messages per page: