How to Apply UIAutomator API in Webdriver-io - android-uiautomator

I'm trying to figure out how to apply the UiAutomator API found here https://developer.android.com/topic/libraries/testing-support-library/index.html#uia-apis in WebdriverIO. In particular how would I do something like getChildCount https://developer.android.com/reference/android/support/test/uiautomator/UiCollection.html.

Related

How To Create a Custom Mount Function

Im trying to make a custom mount function to mount my own custom components but the example i found is no longer working.
The example i tried is from https://www.npmjs.com/package/#cypress/mount-utils#user-content-example-mount-adapter-web-components
It seems that ROOT_SELECTOR does not match to anything anymore? Is this code perhaps outdated?
Does anyone know how to do something like this on the latest cypress version?

Setting up s.campaign parameter string in adobe DTM

I am trying to set s.campaign via Adobe DTM using the google analytics parameters which would look like this:
s.campaign=s.getQueryParam('utm_source,utm_medium,utm_term,utm_campaign',':');
However I can't get this to work via DTM implementation where I have the s.campaign dropdown to "query param" and have this typed:
utm_source,utm_medium,utm_term,utm_campaign,:
Am I missing some syntax? Do I need that in DTM?
If you're trying to do it directly in the DTM interface, I don't believe it will let you do multiple parameters at once like that- it's expecting just something like "cid". It may be that the easiest way to accomplish what you're trying to accomplish would be to keep the getQueryParam plugin that you have and just add it to your library (s_code) or your Adobe Analytics tool Custom Code in DTM.

Is there any way to get a non-iOS tablet's geolocation using FileMaker?

FileMaker Go has Location and LocationValues functions available for getting geolocation data. I have a client who is using FileMaker Pro on Microsoft Surface tablets, and would like to find some way to get this same data, basically latitude and longitude, into FileMaker.
I've looked for plugins without success, but perhaps someone else here knows of one that will do the job. Other solutions I've thought of but not yet found specifics for include using Java via the ScriptMaster plugin or using a website via the Insert from URL script step.
HTML5 has built in support for geolocation, so you could get this with a web viewer and return the result to FileMaker via an FMP url.
The geolocation function is documented here:
http://www.w3schools.com/html/html5_geolocation.asp

Google Apps "AdminReports" is not defined.

I'm trying to run the sample script from here:
https://developers.google.com/apps-script/advanced/admin-sdk-reports#reference
but it looks like the API isn't enabled / included.
I've enabled the AdminAPI in the Developer Console, have I missed something? I'm able to make calls to UserManager without changing anything, but as this is now depreciated I'd like to use the new API.
Found it. In the script editor, select Resources > Advanced Google Services. It needs to be enabled in there as well

Overriding plugin behaviour in SonarQube 4.0

I'm trying to modify the behaviour of the NewIssuesEmailTemplate in SonarQube 4.0. I want to put richer information into the generated emails. It looks as if everything I need is put in the Notification by IssueNotifications.
What I want to know is if it's possible to override the fact that NewIssuesEmailTemplate is the handler for Notifications of type "new-issues".
I'm going to hazard that this can be done by creating a new plugin that overrides the specific behaviour of CorePlugin, and making sure that this gets loaded first, but I don't really know how to go about it.
Has anyone done anything like this before? I don't seem to be able to find any hints to get me started.
You cannot change the fact that NewIssuesEmailTemplate is the handler for notifications of type "new-issues".
All you can do is to add new channels or dispatchers using the extensions available in the notification API. You can check how this is done by the Core Email plugin.

Resources