Switching Script Driver

3 views
Skip to first unread message

steven.yetter

unread,
Sep 10, 2011, 5:16:16 AM9/10/11
to selenesse-users
Nat, I have the Selenium script driver and I wanted to write a script
driver in java that would send an order to a POS terminal on a COM
port. So I want to execute |script|start selenium etc.| to do web
page commands related to the non-POS terminal actions, and the POS
terminal script to sell an order. I was wondering if I will be able
to do this because START in selenium fires up the browser with a new
session.

|Script|
|Start Selenium|
blah blah blah

|Script|Check Orders|
|blah blah blah

|Script|
|Start Selenium...|
| blah blah blah


The Fitnesse User Guide shows scripts as defined on the script tag,
but Seleesse uses the START tag, and that's a confusion, but in any
case I want to "switch back" not start the selenium driver.

There is a post on here about using two drivers, but they use the
"other" driver on startup, then start selenium and never switch out of
selenium after that, so the switch back question isn't answered.

I have successfully used a decision table with java code to access
JSON but the decision table uses a different java class that isn't a
Script table so I never had the problem of using two distinct script
tables.
Reply all
Reply to author
Forward
0 new messages