Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2341,15 +2341,16 @@ def save_attribute_values_in_list(data_set):
right = right.strip()
if "target parameter" in mid:
target.append([[], "", [], []])
temp = right.strip(",").split(",")
temp = right.strip(",").split('",\n')
data = []
temp[-1] = temp[-1][:-1]
for each in temp:
data.append(each.strip().split("="))
data.append(each.strip().split("=", 1))
for i in range(len(data)):
for j in range(len(data[i])):
data[i][j] = data[i][j].strip()
if j == 1:
data[i][j] = data[i][j].strip('"') # dont add another strip here. dont need to strip inside quotation mark
data[i][j] = data[i][j][1:] # dont add another strip here. dont need to strip inside quotation mark

for Left, Right in data:
if Left == "return":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4058,15 +4058,16 @@ def save_attribute_values_appium(step_data):
right = right.strip()
if "target parameter" in mid:
target.append([[], [], [], []])
temp = right.strip(",").split(",")
temp = right.strip(",").split('",\n')
data = []
temp[-1] = temp[-1][:-1]
for each in temp:
data.append(each.strip().split("="))
data.append(each.strip().split("=",1))
for i in range(len(data)):
for j in range(len(data[i])):
data[i][j] = data[i][j].strip()
if j == 1:
data[i][j] = data[i][j].strip('"') # do not add another strip here. dont need to strip inside quotation mark
data[i][j] = data[i][j][1:] # do not add another strip here. dont need to strip inside quotation mark

for Left, Right in data:
if Left == "return":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2730,15 +2730,16 @@ def save_attribute_values_in_list(step_data):
right = right.strip()
if "target parameter" in mid:
target.append([[], [], [], []])
temp = right.strip(",").split(",")
temp = right.strip(",").split('",\n')
data = []
temp[-1] = temp[-1][:-1]
for each in temp:
data.append(each.strip().split("="))
data.append(each.strip().split("=",1))
for i in range(len(data)):
for j in range(len(data[i])):
data[i][j] = data[i][j].strip()
if j == 1:
data[i][j] = data[i][j].strip('"') # dont add another strip here. dont need to strip inside quotation mark
data[i][j] = data[i][j][1:] # dont add another strip here. dont need to strip inside quotation mark

for Left, Right in data:
if Left == "return":
Expand Down