Friday, May 6, 2016

In detail about Assets View

Generally OpenScript consists of 4 types of Assets

1) Databanks
                Databanks can be .csv file or database using this we can store our test data and pass to the script.

Creation of Databank

Select Assets Tab -> Select Databanks ->Click Add ->Select CSV file ->Select My Repositories -> Default ->databanks then give File name (It can be any name) in File: text box and click OK. Your databank file will be created.

2) Object Libraries
                Object Library is a file where we can store all the xpaths of our application under test. Xpaths will be stored in this file in the form of name value pairs. Using object libraries we can avoid duplication of the xpaths and reuse the existing xpaths for same web elements.

Creation of Object Libraries

Select Assets Tab -> Select Object Libraries -> Click Add -> Select My Repositories -> Default then give File name (It can be any name) in File: text box and click OK. Your Object Library will be created.

3) JAR Files
                 If you want add any jar files for your script you can add in this section.

4) Scripts
                 If you want to add any child scripts and functional Libraries to your script you can add in this section. We can discuss more about functional libraries and child scripts in coming posts.

Next Topic : Data Tables

1 comment: