Write value (innertext) to csv
Posted: Mon Dec 12, 2016 5:49 pm
Hi
Hope you can help me...
I am a tester dabbling in C#, but when I get stuck I do enlist the help of a developer, and I have been scouring the forum for information on this but don't see a clear picture about whether this can be done and if so, how.
Anyway, I know that I can use the 'Get' and 'Set' actions to grab and use a variable, which I can use and set as a Global Parameter, however I would assume that this would be over-written in each iteration.
What I would like to do is use the captured value in subsequent tests, but these may or may not be run alongside the tests in which the value I wish to capture is found, if this makes sense?
I hope you're still with me so far!?
So, my ideal scenario would be to capture the inner text value from the UI (an application Id, a unique Id generated for each of my iterations) and append to a csv or text file. I can then use this as a data sheet for the subsequent tests.
Is this something which can be done?
Any advice/help appreciated. Thank you.
Hope you can help me...
I am a tester dabbling in C#, but when I get stuck I do enlist the help of a developer, and I have been scouring the forum for information on this but don't see a clear picture about whether this can be done and if so, how.
Anyway, I know that I can use the 'Get' and 'Set' actions to grab and use a variable, which I can use and set as a Global Parameter, however I would assume that this would be over-written in each iteration.
What I would like to do is use the captured value in subsequent tests, but these may or may not be run alongside the tests in which the value I wish to capture is found, if this makes sense?
I hope you're still with me so far!?
So, my ideal scenario would be to capture the inner text value from the UI (an application Id, a unique Id generated for each of my iterations) and append to a csv or text file. I can then use this as a data sheet for the subsequent tests.
Is this something which can be done?
Any advice/help appreciated. Thank you.