15:03:21 <catohornet> #startmeeting Robot Happy Hour 15:03:21 <odl_meetbot> Meeting started Wed Jun 3 15:03:21 2015 UTC. The chair is catohornet. Information about MeetBot at http://ci.openstack.org/meetbot.html. 15:03:21 <odl_meetbot> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:03:21 <odl_meetbot> The meeting name has been set to 'robot_happy_hour' 15:27:06 <lori> catohornet, or anyone else around for some robot questions? 15:28:21 <catohornet> Yes 15:34:20 <lori> I have a set of JSON files with the filename encoding the datatype, and I would loke to create a loop where I send the JSON in each of the files to the controller, to the same URL 15:34:36 <lori> so I would like to have a list of strings over which I iterate 15:34:45 <lori> and fill inside the filename 15:34:50 <lori> is that possible? 15:35:10 <catohornet> You can use a For loop in your robot test case. 15:40:46 <catohornet> @lori: https://blog.codecentric.de/en/2013/05/robot-framework-tutorial-loops-conditional-execution-and-more/ 15:41:04 <lori> catohornet: thanks, I'll look into it 15:42:37 <catohornet> @lori yw 15:45:18 <PhilShea> @lori as far as the reading of the filenames in a folder it may be cleaner to use call a python function from robot. I think doing things like that keep the robot tests more readable. 15:47:01 <jamoluhrsen> lori, PhilShea, can you repeat the filenames in a folder question? I just logged on. 15:47:12 <catohornet> As long as you receive information about what the python function is doing I agree. 15:47:50 <catohornet> ori: I have a set of JSON files with the filename encoding the datatype, and I would loke to create a loop where I send the JSON in each of the files to the controller, to the same URL 15:47:50 <catohornet> (08:34:36 AM) lori: so I would like to have a list of strings over which I iterate 15:47:50 <catohornet> (08:34:45 AM) lori: and fill inside the filename 15:47:50 <catohornet> (08:34:49 AM) lori: is that possible? 15:48:10 <lori> and the first line was: I have a set of JSON files with the filename encoding the datatype, and I would loke to create a loop where I send the JSON in each of the files to the controller, to the same URL 15:51:16 <jamoluhrsen> so: "for each file in your list", you want to take the contents and send to controller? is that the gist? I didn't quite follow the "filename encoding the datatype" 16:02:45 <lori> jamoluhrsen: yes 16:04:10 <jamoluhrsen> ok. try this kind of thing. obviously not tested, but super simple and keeps you away from having to dive in to the deep end with python: http://pastebin.com/jPH45a2n 16:05:16 <jamoluhrsen> IMHO, once the automation goes to python we lose a lot of use and visibility at the robot level. I've rarely (like almost never) have to go down to the python level. 16:07:28 <PhilShea> @jamoluhrsen: nice. I'll stash that code snippet away for myself, too. 16:08:23 <jamoluhrsen> :) I hope it works.. just typed it from memory. 16:09:59 <odp-gerritbot> Daniel Farrell proposed a change to integration: Packer config to build a CentOS 7 VBox image https://git.opendaylight.org/gerrit/21712 16:15:37 <catohornet> Thanks @jamoluhrsen 16:17:45 <lori> jamoluhrsen: thanks, I'll check it (sorry for the slow responses, I had to join a meeting) 16:18:06 <jamoluhrsen> no worries… 16:18:41 <catohornet> #endmeeting