I am getting below error while running the script, please help me to solve the issue -
ERROR ] [ DataDriver ] Error in robot file: File
"C:'filepath'.robot", line 0 [ ERROR ] In source file: File
"C:'filepath'../TestData/Data.csv", line 0 [ ERROR ] Calling method
'_start_suite' of listener 'DataDriver' failed: AttributeError: No
"Test Template" keyword found for first test case.
The below format fixed the issue with the testdata ----------
*** Settings ***
Library DataDriver ../TestData/data.csv
Test Template Login scenarios
*** Test Cases ***
Login to appl username password
*** Keywords ***
Login scenarios
[Arguments] ${username} ${password}
pageLogin.Login ${username} ${password}
Related
I have error to run yarn or other comand.
error An unexpected error occurred: "Failed to replace env in config: ${GITHUB_TOKEN}".
Error
when I enter the token everything works but when I reopen visual studio code I have to enter the token again.
Can you help thanks
I am running a selenium script on EC2 amazon linux 2, which run well, but after many hours of it doing it's job, I get the following error:
selenium.common.exceptions.UnexpectedAlertPresentException: Alert Text: error:
Message: unexpected alert open: {Alert text : error:}
(Session info: headless chrome=103.0.5060.114)
I am using ChromeDriverManager
How can I know why it fail after long time of running well?
''' An unknown server-side error occurred while processing the
command. Original error: Error executing adbExec. Original error:
'Command 'D:\program\android-sdk\platform-tools\adb.exe -P 5037 -s
f8cb3e08 install -g
E:\appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
exited with code 1'; Stderr: 'adb: failed to install
E:\appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk:
Security exception: You need the
android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use
the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag
java.lang.SecurityException: You need the
android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use
the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag at
com.android.server.pm.PackageInstallerService.createSessionInternal(PackageInstallerService.java:596)
at
com.android.server.pm.PackageInstallerService.createSession(Package';
Code: '1' '''
I've turned on administrator mode
Usb debugging is also enabled
And other environments are already configured
This is my parameter
{
"platformName": "Android",
"platformVersion": "7.0",
"deviceName": "f8cb3e08",
"appPackage": "com.tencent.qqlive",
"appActivity": "ona.activity.SplashHomeActivity",
"noReset": "true",
"autoGrantPermissions": "true"
}
Use automation name as capability.
"automationName":"UiAutomator2"
You can use appium instead UiAutomator2 as default.
I am getting an error which in turns return test failed. Not able to find out the solution to it. Have checked but did not found an appropriate answer for it
I have tried following things:
1. Check babel version :using 7.5.5
2. https://github.com/GeekyAnts/NativeBase/issues/977
3. https://gist.github.com/iamvery/4d4b0ef68cd1f2de81b858fe3a2d08c5
4. https://github.com/GeekyAnts/NativeBase/issues/2579
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import connectStyle, { clearThemeCache } from "./src/connectStyle";
SyntaxError: Unexpected identifier
at ScriptTransformer._transformAndBuildScript (../../node_modules/#jest/transform/build/ScriptTransformer.js:471:17)
at ScriptTransformer.transform (../../node_modules/#jest/transform/build/ScriptTransformer.js:513:25)
at Object.<anonymous> (../../node_modules/native-base/src/index.js:1:1)
Test Suites: 1 failed, 1 passed, 2 total
Tests: 4 passed, 4 total
Snapshots: 1 passed, 1 total
Time: 2.022s
Ran all test suites.
npm ERR! Test failed. See above for more details.
Actual result is test failed as have shown above
Expected result is test should pass
you can add this to your jest config file
"transformIgnorePatterns": [ "node_modules/(?!react-native|#shoutem|react-clone-referenced-element|native-base-shoutem-theme)" ]
I have a small GUI program in Red language that runs very well but is not compiling for Android. I am using following command on Debian Stable Linux (which successfully makes applications for Windows and for Mac):
$ wine red-063.exe -c -r -t Android-x86 myapp.r
But I get following error messages:
Target: Android-x86
Compiling to native code...
*** Warning: OS_TYPE macro in R/S is redefined
*** Compilation Error: invalid path value: image/encode
*** in file: %environment/codecs/png.red
*** in function: exec/ctx259~encode
*** at line: 1
*** near: [as cell! image/encode img where IMAGE_PNG]
I get same error messages if I use Android instead of Android-x86. Where is the problem?
GUI for Android is planned for 0.65