I create a hybrid app using apache cordova and I want to run some test using APPIUM (pytest). Can I use the app build or the debug build for testing? I really don't know what is the effect if I use the two different builds. Thank you!
What is the recommended build of hybrid should I use in APPIUM testing?
74 Views Asked by Apollo Roman At
2
There are 2 best solutions below
1
Vighnesh Pai
On
One is built in Release mode and one in debug mode. Now, it depends on you if you are using any tools that catch the logs generated by the app.
In release mode, you cannot get the app's logs, in debug mode you can get the debug logs.
For ex, if you wanna make sure that one particular set of the code block is executed, the developer can put a line of code which writes into log-like 'This code block is executed' etc.
It's best that you use debug since sometime an android app having pro-guard enabled may cause some problems for automation.
Related Questions in APPIUM
- Run automated tests in parallel on desktop and mobile browser
- Run web tests in parallel on mobile and desktop with unique driver
- How to run Parallel tests by groups using Maven and TestNG?
- Selecting an option in the mobile app drop down which is not visible when the app is loaded for the first time
- Unresolved library: AppiumLibrary
- Server connection issue with appium server
- Appium - Unable to take the locators from Appium for Apple Sign-In popup in 16.x OS version
- Appium2, not able to identify android element after scrolling down on the mobile screen
- No keyword with name 'Open Application' found
- Unable to click on element though element is present in iOS
- I can't use appium after installation 'MODULE_NOT_FOUND'
- Appium simulator open in rosetta mode in m1 mac
- Interacting with the Instagram web app in an iOS app can be difficult to automate,
- I am new to Appium. I have written a script but it gives invalid syntax error
- Appium AWS devicefarm
Related Questions in PYTEST
- What's the best way to breakup a large test in pytest
- Alternatives to pytest-watch on python unit test with pytest
- Flask Application Testing with pytest Returns 404 for Routes
- pytest mock failing when mocking function from imported package
- Difficult to run pytest with a fastAPI and ODM beanie, I get the error: beanie.exceptions.CollectionWasNotInitialized
- How to create an improperly closed gzip file using python?
- how to mock default_factory in pydantic model
- How to write pytest tests for a FastAPI route involving dependency injection with Pydantic models using Annotated and Depends?
- Issue with pytest-bdd execution after python and pytest-bdd version upgrade
- Pytest: When writing many assert statements in the same test function, some of it fails, but how to know which assert statement/s is causing failure?
- How can I tell pytest that for a function it is the correct behaviour (and only the correct behaviour) to have a failed assertion?
- Pytest mocking SQLalchmey
- Pytest PropertyMock not returning different attribute values
- Sporadic Windows fatal error on Github Python CI (may be joblib related)
- Pytest: in memory data doesn't persist through fixture
Related Questions in APPIUM-ANDROID
- Appium2, not able to identify android element after scrolling down on the mobile screen
- Is it required to upgrade to appium 2.x from appium 1.x if the existing framework is developed in older appium version?
- location of an version number element in Appium selenium python (google play)
- WebView Automation Android - Capture Steps performed by the user & Repeat it automatically
- I am new to Appium. I have written a script but it gives invalid syntax error
- Swipe/scroll keywords are not working with appiumlibrary when appium server updated to 2.5.1
- Error: Failed to create session. All non-standard capabilities should have a vendor prefix. The following capabilities did not have one: 0
- How to scroll scroll date until the desired element is visible in Selenium Appium Python
- Appium - unknown server side error - cannot launch app
- Resource-id is not getting displayed in appium inspector
- Appium: Parallel execution on multiple devices - Failed to click on one device while happens in the other
- Android Emulator is only getting invoked when the test is getting failed
- How in Appium Python run tests on two connected android devices, and verify that actions on one have expected results on the other or both?
- An unknown server-side error occurred while processing the command. Original error: Cannot start the XY application
- NoClassDefFoundError and ClassNotFoundExceotion in Appium automation
Related Questions in APACHE-CORDOVA
- Cordova run browser on Internet Explorer or Microsoft Edge fails
- Apache Cordova Android App: Front end app isn’t hitting the back end API
- http post request not working inside ionic app, but the same post request works in postman
- Why does Android Play Protect security scan block a generic Ionic app from installing?
- I am able to curl to node.js server but unable to http request from javascript
- How to fix "build.gradle" problem in a Cordova project?
- Unexpected String in a Json file by removing the firebase plugin
- How to use aws-iot sdk in Cordova
- Apache cordova ios application floating cursor issue
- How do I import Firebase to my Apache Cordova project?
- Issues at Apache.org does not cantain Apache Cordova for create issue tab
- Websocket connection error - Visual studio apache cordova
- Simulate in browser option missing in Visual Studio Community 2017 version 15.7.5
- Is it possible to do a password input when using cordova-plugin-dialogs
- visual studio 2017 apache cordova app wont debug on physical device?
Related Questions in PYTHON-APPIUM
- Unresolved library: AppiumLibrary
- location of an version number element in Appium selenium python (google play)
- I am new to Appium. I have written a script but it gives invalid syntax error
- Swipe/scroll keywords are not working with appiumlibrary when appium server updated to 2.5.1
- How to scroll scroll date until the desired element is visible in Selenium Appium Python
- [Python][Appium][Uiautomator2]The requested resource could not be found
- I'm facing antivirus restrictions on installation of python appium client
- Using Parallels to run Appium Python automation. Getting error: [WebDriverAgentMac] Mac2Driver host process has exited with code null, signal SIGABRT
- Pytest appium tests on multiple devices
- How to fix Could not connect to Appium server issue
- Log to Console from an Appium Plugin
- AWS device farm audio injection
- Change the model(sdk_gphone64_x86_64) and serial number(EMULATOR32X1X15X0) of the virtual device
- Access Clipboard Data Via Appium+Python
- Why can't I run an Appium server in python?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Debug build is recommended for testing because the complete symbolic debug information is emitted to help while testing applications because the code optimization is not considered.