Forum Discussion
fazlook
Frequent Contributor
Any help on this one for the best scenario ?
fazlook
5 years agoFrequent Contributor
Here is the JSON I got, I converted my XML to JSON......should I still save it as jason.js in test complete ?
{
"Mappings": {
"Test": [
{
"-id": "Test_1000_test",
"TestIdMapping": [
"Test_1001_test1",
"Test_1002_test2"
]
},
{
"-id": "Test_2000_test",
"TestIdMapping": [
"Test_2001_test1",
"Test_2002_test2",
"Test_2003_test3"
]
}
]
}
}
Now, How could I read look for id = Test_1000_test and once found, I loop into the childs and push them into an array ?
- SangeetNenwani4 years agoContributor
Hello fazlook ,
Did you find any solution? I want to convert a xml file into json using testcomplete.- fazlook4 years agoFrequent Contributor
- SangeetNenwani4 years agoContributor
hey fazlook
According the requirement of task, I can't use external website. I have to make a function within testcomplete that could take a js or xml file from given folder and convert into json
Related Content
- 8 years ago
- 5 years ago
Recent Discussions
- 4 days ago
- 4 days ago
- 8 days ago