Forum Discussion

philyoung99's avatar
philyoung99
Occasional Contributor
9 years ago

Run VBscript from keyword test

Hi, 

 

I have looked everywhere and I guess this is something simple I cannot find. I have a VBscript that I am able to run by using the "Run Current routine" button that appears when I double click on my script unit.

 

I want to be able to run this from a Keyword test directly..

 

I have experimented with trying to call from a code snippet and also trying to use "Run Script routine" and receive "there is no appropriate test to choose" 

 

I have tried to add the script as a test to test items, but cannot seem to get my vbscript selectable form the list of tests. 

 

Can someone give me a quick pointer/screenshot please? I am new to vbscript as well which probably isn't helping.

 

thanks a lot

phil