on 2023 Feb 15 10:25 AM
Hi All,
I am trying to create a wdi5 test case for an application developed in BAS. But after doing the initial config by using the npm init wdi5@latest -- --ts command and creating a test file in the test folder not able to run the application. in the debugger console, I am getting below error :
Request that anyone can help me in resolving this issue.
Regards:
Mayank Thakur
Request clarification before answering.
SAP Business Application Studio and SAP Build Code do not come with Chrome pre-installed, and it cannot be installed via the CLI. However, you can use Firefox, which will be installed once you add the "Headless Testing Framework." as an additional SAP Extension.
To do this, go to SAP Business Application dev space management. First, stop your development space and enter edit mode. You should see a screen similar to what is shown below. Select "Headless Testing Framework" and Save Changes.
Now you need to configure WDI5 as per doc https://ui5-community.github.io/wdi5/#/usage?id=using-bas-with-wdi5
by the way, now you can also run UI5 Test Runner, too, to test:
Now you need to select 'Automation Library' which supports Firefox, e.g.
More about UI5 Test Runner - https://arnaudbuchholz.github.io/ui5-test-runner/
More about WDI5 and BAS https://github.com/ui5-community/wdi5/issues/329#issuecomment-1536121097
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI mayank_09
I am still facing this issue as of October,2023.
Only work around I found was developing the same in vscode.
Thanks & Regards,
Akhil Das
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The Headless Testing Framework extension installs the Firefox browser which allows you to use the wdi5 capabilities when working in SAP Business Application Studio.. Please check here https://ui5-community.github.io/wdi5/#/usage?id=using-bas-with-wdi5
KR,
Sanjoy
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.