Hi there,
Can you please help me, how to merge or create property list using to single list values. I was trying to merge or create property list using 2 single lists (testdataheader and testdatavalue) but actual result is differed with expected. Can you please help me.
For example: You can also set multiple properties at once, by specifying a list of keys:
set joe’s (height, weight) to ("5ft. 9in.", 143)
Script:
Put (: ) into currenttestdata
put file ScenarioFile as a list into MyDataFilePath
put line 1 of mydatafilepath into TestdataHeader
put testdataheader
put line 2 of mydatafilepath into testdatavalue
put testdatavalue
set currenttestdata's (TestdataHeader) to (testdataheader)
put currenttestdata
Expected Result:
TC_ID: TC2, TestData2: TestData2,…
Actual Result:
(“TC_ID, TestData2, TestData3, TestData4, TestData5, TestData6, TestData7, TestData8, TestData9, TestData10” : “TC2, TestData2, TestData3, , TestData5, , TestData7, , TestData9,”)