Creating 'Tags' with Silk4J
1. The new string variables are not available across projects.
2. There is no intellisense, so you need to keep scrolling back to the string source and copying them into the line you are currently coding.
Fig.3 – GMO OnLine welcome page
Fig.6 – The completed GMO OnLine welcome page class
Fig.7 – Browser common objects project
1. From the Silk4J menu select File | Export.
2. When the Export dialog comes up, select ‘Next’
3. On the JAR Export page select your class library project from the lefthand pane, then enter an export destination in the ‘JAR file’ textfield.
4. Under ‘Options’ uncheck the ‘Compress the contents of the JAR file’ checkbox if required.
5. Select ‘Finish’.
1. Right-click on the project name and select ‘Build Path | Configure Build Path’
2. In the ‘Properties for ’ dialog select ‘Add External JARs...’
3. Navigate to your class library jarfile, select it, then click ‘Open’.
4. Repeat (2) and (3) for any additional class libraries.
5. Select ‘OK’.
Fig.8 – A recorded test
Fig.9 – Replacement in progress - Intellisense
· GMORawLocators – the original recorded testcase against the GMO website
· GMOTags – the class library code for the GMO website tags
· Common Browser Objects – the class library code for the browser and browser dialog tags
· GMOwithTags – the raw locators exchanged for the new tags
· WPFSampleApp – local string conversion for the WPF sample application