well, I'm not sure i fully understand what you're looking for but you have
some pseudocode:

open list
go through names
 move to next record if person has no name
 otherwise see if record is found
 if record is found then wait a long time    #this seems odd, but not
knowing your business domain, who knows
  otherwise enter another name
  and check if the record exists again


Your basic logic is there more or less. Then translate that into code.
Nathan has the basic code for what you described below. If you have specific
questions, that'd be more helpful.

-Charley

On 2/8/07, lianagi <[EMAIL PROTECTED]> wrote:

Please help me make a script that is going to make a background check of
all the persons in the list (filename:wanted.txt location c:\names) one by
one.

If the person doesn't have a record, it will enter the next name.

If there's a record found, it will take 10 minutes  before you can enter a
name again to be searched.

example:
ie.text_field(:name, "searchname").set("Edgar")

then what?

sorry I'm just a beginner.
Thanks to those who will help! =)
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6488&messageID=18424#18424
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to