I am using the Selenium and Request library for my work, but when I run the work related to Selenium, I run the work related to the request, this part is running very well to fix it. Everyone help
I could not do anything
Related
I'm building a crypto payments solution using Coinbase API. I've tested it in my development environment it works just fine.
Problem is when I push to production. I can't seem to figure out what is wrong. No build errors. Nothing. (It should at least throw errors!)
I'm using API_KEY and API_SECRET to handle authentication.
Send help.
I tried a refactoring and rewriting the code (I thought it was a problem with NextRouter, but no it wasn't).
I've setup Google App Engine to run my AdonisJS API for my website. I update the code using the CLI for google cloud services ("gcloud app deploy"). I get a success message from the terminal, and I have checked both the cloud build and version number, and both are the most recent deployment. However, when I try to use my website, I get an error due to the API using old code and trying to access table columns from my database that no longer exist. I have downloaded the most recent cloud build file and checked the codebase within it and the updated code is there. I have also tried deploying multiple times, and it still is using the old code. Does anyone know why this is happening and/or how to fix this?
If you need more information, let me know. Thanks
ANSWER:
Fixed this a while ago, but wanted to update here just in case others ran into this. I discovered that when deploying to GAE through the command line, my build command wasn't running prior to the deploy since my script had an error, so it was uploading updated code, but not an updated build. So just make sure to run the build command prior to uploading to GAE and everything should work.
In console.cloud.google.com, go to your GAE project and check which version of your project is running I.e. which one is receiving traffic
Clear your cache.
I created the smoke test cases using selenium c#. My code is working fine on local browser but when I switched to remote web driver test cases are failed only the landing page test case is passing.
I think there might be some setting I am missing.
Can anyone one help me on this if faced same issue.
Hi i dont find any related info about this, my question is simple, is there any way
Plugin
Code (Java ,C)
etc
to make a cURL call in an apache cordova app to a custom web service, i know it sound weird but the thing is we have a service from a partner office and they didnt want/know to configure the CORS so i need to make a subservice that call they service via cURL and the send the data to the device, and seems like a lot i want to know if theres any way to achieve that in cordova, i know it cant be done in pure JS but maybe a guide or something to acomplish my goal with java or c will help, regards
Use the following process to setup a proxy service to make the call indirectly:
Use java.net.URL to map the URL
Use java.net.URLConnection to make the connection
Use java.net.Proxy to make a proxy connection
Use the CLI in conjunction with node.js and the ex-curl module for a platform agnostic solution.
References
Networking with Android
Cordova Guide: The Command Line Interface (CLI)
I need to write some automated tests for our AngularJS apps with Protractor. Currently I am facing two problems:
before the page is fully rendered some calls to services are made that require user name and password. These are prompted with a basic auth popup. I am not able to get my hands on this popup as all attempts to get the window handles fail. (or more explicit: the callback for the promise is never executed)
for a different case I am getting the "select certificate" popup which I am also unable to get my hands on.
For both cases I have now the question if I am even able to ever capture them somehow or is it just that these are not accessible via automated tests via WebDriver? Currently I am trying to test the app with Chrome and PhantomJS but I would prefer to have them running with PhantomJS for an easier integration to our build environment.
There is a possibility to automatically select the certificate with Chrome. Just have a look at the documentation:
http://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls
I had the problem and when such security pop-up occurs I couldn't handle them with WebDriver. PhantomJS of course is even worse in such case.
You have 2 or 3 options here :
deploy in a environment where security is not a concern, test with WebDriver the app, and test security manually in a prod-like env.
test with sikuli, there is zero adherence with the app under test, I did test this way, combined with Jenkins Jacoco etc it was very powerful once you build a DSL on top of the jar (don't use the GUI tool)
a third way is to combine sikuli and WebDriver, letting sikuli do the job only when required, but I didn't follow that way since mixing up approaches is somehow ugly.