Write Data to Data connector to use that data in test

Best practices, code snippets for common functionality, examples, and guidelines.
eldorado25
Posts: 39
Joined: Tue Aug 06, 2019 4:14 pm

Write Data to Data connector to use that data in test

Post by eldorado25 » Tue Feb 23, 2021 1:17 pm

Hi All,

I use an ID number that is autogenerated by the application upon creating a profile - I used to be able to just write to a simple data connector but since 9.4 I have been unable to write to it.

I need to use this ID number that I CANNOT predict - however, this ID is important across documents that the profile can produce - as the ID is present on them of which I use to verify that we are on the correct Profile's documents.

Any help would be greatly appreciated, thank you

eldorado25
Posts: 39
Joined: Tue Aug 06, 2019 4:14 pm

Re: Write Data to Data connector to use that data in test

Post by eldorado25 » Wed Feb 24, 2021 4:19 pm

Have I written this badly or does no one know?

Fergal
Certified Professional
Certified Professional
Posts: 455
Joined: Tue Feb 18, 2014 2:14 pm
Location: Co Louth, Ireland
Contact:

Re: Write Data to Data connector to use that data in test

Post by Fergal » Thu Mar 04, 2021 5:36 pm

Have you tried using the Get Value action, to assign the value to a variable?
https://www.ranorex.com/help/latest/ran ... t-actions/