How can we store a dynamic value in Tosca? - tosca

I am working on Tricenties Tosca Tool. I need to overcome one challenge of storing dynamic values.
Scenario is:
I am working on healthcare domain project and we have to do registration of a patient. Once all the details of the patients are filled and we confirm then its generating the Medical Record Number (MRN). This MRN is dynamic and unique for every patient. This MRN number is also used in other flow.So my challenge is how can I store this Dynamic number.
Thanks in advance.

You can store it in a so called Buffer. Find all about it here: https://support.tricentis.com/community/manuals_detail.do?lang=en&version=13.0.0&url=articles/buffer_this.htm

The below is the format is use to capture and maybe use later in the test.
{XB[Valuename]}

Related

Talend for Master Data Management

I am working on a project to extract Master Data from a Database that gathers data from many departments, and this should be done using Talend.
I did some researches to understand what is Master Data exactly and I have some modest experience in working with Talend, the problem is how to detect unchangeable data (Master Data) ?
I can check dates, but what dates exactly? taking example of a sales department, I work based on order date or delivery date and see if the columns keep their values for a long time, but that doesn't sounds right because:
First of all, the values can be updated but not dates.
Secondly, this rule will work only if the database deals with transactions, but if a column has a distinct values this solution won't work, even though if it is a Master Data.
It is easy to deal with it manually and analyze type of column and then decide if it is a master data or not, but this process should be automated.
I hope my idea is clear and I did clarify the problem I am facing, any peace of advise can really help me a lot, if you have any other method in mind which is better, be my guest!

Firebase architecture for my app

Here is what I want to do:
Users are getting logged in and then save data (such as thier e-mail, their work, their adress and so on). I saved this data at „/userProfile/exampleUID“. This works as I wnat it to.
Then every user should create his or her own story. Within this stories, mostly strings should be stored. A friend of mine told me, that it would be better to normalize my data, so I thought of saving the stories to „/storyData“. He also told me, that every Story has to have a unique identifier as well, which i create with .push(). Under this identifiers I want to store the users unique id (auth().currentUser.uid) to assign the story to the user who has created it. The strings for the stories should also be stored under the unique ID created by .push(). („/storyData/exampleStoryID/exampleUID“)
The problem is now that i can’t find a method to access this strings or the "/exampleUID". In this case I would need to skip the „/exampleStoryID“-child when creating a query, because without saving I would not know its name. Am I right or did I oversee the method for this?
There would be solutions to this:
I have to save the „.key“ of the „/exampleStoryID“ to the „/userProfile/exampleUID“. With this key I would not need to skip one child while querying, because I can enter this key to Access the data in /“storyData“.
I have to denormalize my data. For me, this would mean that I have to create a new child: „/userProfile/exampleUser/storyData“. Here I could save all the strings.
It may be possible that there will be more data like „/storyAnalysis“ and „/storyComments“. Having that in mind: Which solution should I prefer?
Or do you have other suggestions?
Thanks in advance.
MfG

Unique job data in beanstalkd

I've been testing beanstalkd today and I am wondering is there anyway possible to make job data unique on beanstald tube? In other words, is it possible to make the tube have only unique values? If no, maybe someone could suggest me similar MQ system which have this feature.
Thank you in advance for your answers!
Well what you are looking for is a SET and not a QUEUE.
Sets doesn not allow duplicate members.
Redis has Sorted Sets if you want to keep an order as in the queue
You can achieve what you want with Redis, read about Data types here:
http://redis.io/topics/data-types

Firebase IDs - can I extract the date/time generated?

I need to date/timestamp various transactions, and can add that explicityly into the data structure.
Firebase creates an ID like IuId2Du7p9rJoT-BARu using some algorithm.
Is there a way I can decode the date/time from the firebase-created ID and avoid storing a separate date/timestamp?
Short answer: no.
I've asked the same question previously, because my engineer instincts tell me I can never duplicate data. The conclusion that I came to after I thought this through to the logical end, is that even in a SQL database there exists tons of duplication. It's simply hidden under the covers (as indices, temporary tables, and memory caches). This is a part of large and active data.
So drop the timestamp in the data and go have lunch; save yourself some energy :)
Alternately, skip the timestamp entirely. You know that the records are stored by timestamp already, assuming you haven't provided your own priority, so you should be good to go.

how to update a table and get the updated value for further use in a multi user web environment

I am working with asp.net 2.0 and sql server 2005. I have a problem and need some help, so trying to describe it below:
THE SITUATION
I have a few tables to hold data for billing information. The first table has each dedicated to each location, and a serial number that can be incremented. The concept is to update this data based on location, every time there is a new bill, so may be location A has serial 25 since it is doing well but location B has serial 5.
THE PROBLEM
SO based on this requirement I need to update a table to get the latest serial for a particular location and then use that serial for other tables which will be holding the billing details. The second part is as regular as it can be, but generating a new number, and getting this value is my problem. Since this will be multi user system, so I want some robust solution. Can some one help please. I do not know whether I can use a identity field for this purpose or not. Please help.
Regards
arunendra
Use an identity on your actual bill table. Whenever you insert a new record, go update the table that contains the location/last used serial number.

Resources