Testing sahi bundle and question about suite files

laurenthdl
Messages : 28
Inscription : mar. déc. 13, 2016 3:02 pm

Testing sahi bundle and question about suite files

Message par laurenthdl »

Hi,
I am testing sahi execution with bundle, e.g. adding an include and trying to execute the file.
It appears that it is not working.

the file are correctly loaded into the temp directory,
but the include is not done with the correct parameter I guess.
I have :
in my sahi file.

_include('dir/include.sah');

And ta file :

LOAD sahi.sah AS sahiParameteredTestSource

CONVERT sahiParameteredTestSource TO script.sahi(script) AS Testxxx.bundle

LOAD testfirefox.properties AS testff.file
CONVERT testff.file to properties(structured) AS ff.properties

TEST :

EXECUTE execute WITH _Testxxx.bundle ON jadetest USING ff.properties AS testxxx.result
ASSERT testxxx.result IS success

In the EXECUTE bundle, there is a parameter USING (mainpath....)
But I couldnot find what it should match.

I can see a dir_ta_XXXXX in the temp directory, but none in the sahi3928383236490042672bundle directory

So I am wondering if there is something I have to do in order to get it work.

Thanks for quick reply.

And btw, have any of you tested to load a sahi suite ?

I think it would be great to have it work. But one step at a time.
When I can LOAD Files from a directory and include properly, things will be great.
Répondre

Revenir à « Sahi Plugin »