Você está na página 1de 5

How to Install and run Web-King in Browser Recording Mode

1. Download and install Web-King from: https://knowledgecommunity.raleigh.ibm.com/KnowledgeWeb/protect/command.wss/doU TSubmissionDisplay? icID=122&ukc_system=WEBKING#Windows_none__step6Windows (Goto the Web-King home link and download the latest. Also download the updater. NOTE: Install updater before running Web-King, otherwise you will face licensing and password issues). 2. Open WebKing. Goto File -> New -> Project -> Select Empty Project and click on Finish.

3. A project called New Project will be created. Select the Project tab on the left panel.

4. Right click New Project and from the menu select Create Paths

5. Choose Record Using Browser option and Record Only options.

6. The loading depth should be 1 be default. If not, then change it to 1 and click OK. 7. Read the warning message and click Yes button. (Normally your IE/Mozilla should have the feature enabled and hence you can ignore the warning. But if not, then you have to

follow the instructions given in the warning message).

8. Do not click on the OK button in the Record Using Browser window. 9. A new browser will open displaying the page given in the URL text box. For example: http://sapw1cdb.bhdev1.ibm.com:52500/b2b_ibm/b2b/init.do? scenario.xcm=E_WW_STANDARD_ZDC220 10. Browse all the pages that you need to test. 11. After you are done with browsing, click on the OK button in the Web-King window. NOTE: It will show Creating Paths. It may take few minutes to create all the paths. Give a name to the path and click OK. 12. In the left panel select the Paths tab. From the left navigation, select a page and see its corresponding view in the Rendered View tab on the right.

13. Now you can begin running the compliance tests. For example, select the common standard code wizard button (magicians hat icon) from the top panel and click on step 1a (Check Industry Web Standards). 14. The errors will appear at the bottom under Test Results tab. 15. Right click the results list and change the view of the Test Results tab to table view. 16. Right click the test results table and save as a CSV file in your local machine. 17. Repeat steps 14 to 17 for other compliance tests like (2, 3a, 3b, 5, 6, 7, etc. as needed) 18. Repeat steps 14 to 18 for all the pages that you need to test. 19. If you need help on details of a particular error and its suggested solution, then select the row from the Test Results window and right-click and choose View Help File. (as shown in the below screenshot).

It will open the help page in a separate browser.

20. You may also run aggregate tests from the aggregate tool. Goto Tools -> Customize -> and open the Aggregate menu.

21. Check the steps that you want to execute and click OK. 22. Now goto Tools and select Aggregate Tool. It will run all the steps for the selected page. 23. You may or may not choose to save the project before closing Web-King.

Você também pode gostar