Daydream (automated testing script writer) skipping random clicks, why is this? - automated-tests

Daydream is a chrome extension (by /segmentio on github) that records your actions into a Nightmare (automated testing) script.
I'm trying to create a tutorial for how to use it but it is not producing a consistent/accurate script when I repeat a simple user journey. Some actions are being missed from the end script in some instances and then being recorded successfully on another occasion.
This is the issue documenting my exploration on github: https://github.com/dwyl/learn-daydream-and-nightmare/issues/8
Initially I recognised the issue when navigating to a new tab in a test and so I commented on an existing issue on the subject on Segment's repo: https://github.com/segmentio/daydream/issues/31
The issue was first raised by another user in September 2016 and has not received any response so I think it's unlikely they will respond.
- Has anyone come across this problem using Daydream? and did you find a solution?
- Is there a specific action which may be causing this bug?
- Can anyone see any issues in the segmentio code that could be causing this?
Thanks :)

Related

Unable to access the sample dataset for Google Analytics in BigQuery

Goolge very kindly offer a sample dataset of Google Analytics data in BigQuery, so you can run some tests before setting up the actual export to BigQuery.
This is detailed at the following page https://support.google.com/analytics/answer/3416091?hl=en&ref_topic=3416089
However when you try to add the project google.com:analytics-bigquery as shown in step 5 of the guide. The following error is shown:
Project IDs may contain letters, numbers, and dashes, with an optional
"domain:" prefix.
As you can see the project ID conforms to this, but you are unable to submit the form.
Google is this just a bug?
Does anyone else have the same issue?
I am confirming - just tried and got the same.
Some-when recently - this dialog form was changed (added options to choose from - display in nav vs. make a current project) and looks like the bug was introduced. previous versions didn't have this bug.
At the same time - confirming that nothing wrong with project name itself - with the internal tool that I am using - I was able to add this project successfully
You should report this bug in BigQuery issue tracker.
Thanks for reporting this issue. We actually already have a fix checked in for this, but we are currently waiting for an opportunity to push this to production, hopefully soon.
In the meantime, you can try one of these workarounds:
navigate directly to the project: https://bigquery.cloud.google.com/queries/<project_id>
navigate to a dataset on the project, which will display it in the left nav: https://bigquery.cloud.google.com/dataset/<project_id>:<dataset_id>

Wrong reports by fastreport

We are using fastreport as report-engine for our asp.net-mvc-webapplication. Since months we are encountering heavy problems in using fastreport. Reports are shown in a seperate tab. They always include the fastreport-bar containing the refresh-button. This fastreport-refresh button refreshs the report by using the internal cache of fastreport. But at this point something is going wrong:
When the user refreshs the report a completely different report is shown. This refresh is a fastreport-function and does not involve any of our sourcecode. Users using the reports seems also having trouble with their session. They are regular asked to relogin since the session/authentication is not valid any more - users don't using any reports do not have these issues. Refreshing by browser is no problem.
Since we have not yet found a solution in collaboration with fastreport we are looking for other users encountering this issue and may have a solution.
You can send your message on support.fast-report.com. Also attach test project there.

Does any one implemented latest Google Analytics with iOS

I used step by step instruction here :
https://developers.google.com/analytics/devguides/collection/ios/v2/#initialize
But still my hit is not being recorded. I can see in the debugging window its say something about dispatching number and start tracking again.
My another concern it what they assigned to tracker and then never used it.
Am I missing something. Someone please shed some light.
I have looked over the internet, there are all old and referring to old google analytics library which is having only two files. GANTracker.h and libGoogleAnalytics.a
New library got bunch of files hence the way they have implemented.
Code is pretty straight forward I dont know what it is not tracking the hits.
And Yes I have created tracking ID and I am familiar with the Google Analytics as I used it in past to track my websites and blogs.
I would appreciate if someone can give me some right pointers. Thanks.
As log window was having quite a lot info I have created a "paste"
http://pastie.org/7468881

Aviarc Cannot Create Null Databroker

Just wondering if any one might now how to fix this issue.
Every part of the databroker is created and also all the database connectivity is functional.
But once we try to place them together we come up with a error saying cannot create Null Databroker.
The thing that is really strange is that we have databrokers that are basicly the exact same working.
Can any one shine some light on this issue?
We worked on this together today. We did three things to troubleshoot and fix the problem:
we changed the calling workflow so that the dataset is refreshed inside the show-screen tags (previously, this was done before the screen was called).
we refreshed the dataset (a H2 db) and connected the database (before, it showed as pool not open)
we changed the database name to main
It is working now.
"Null databroker" suggests that the broker was not created correctly, although it doesn't look like that was the case since you don't mention having to modify it to get it to work.
In these cases it can be useful to look at the error logs through the admin app to see if there are errors being thrown at some time other than compile time.

ASP.NET Long Process and Sending updates to Browser

I've asked this before but I was hoping for another answer and perhaps some code samples because I've been having a difficult time with this. I have an asp.net page. The user hits the "Run" button and I have code IN AN ASSEMBLY, not in the APP_CODE folder that is called and runs a long process that moves product info from a file into the database. While the user waits, I would like them to see status updates like what product the import process in on and status info. I'm assuming I'd break off into another thread and use Ajax but I have no idea how to do this. Some code samples would be very helpful, thanks.
A simpler way to do this without needing to go into multi threading (which can cause all sorts of nasty, hard to track down bugs) is to use AsyncResults in .NET and AJAX which allow you to query a process.
A good example to start you off can be found here.
found it by using HttpResponse.Flush

Resources