This is a migrated thread and some comments may be shown as answers.

LoadFromXmlFile

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bhaskar
Top achievements
Rank 1
Bhaskar asked on 23 Jan 2013, 12:45 PM
Hi,
  I tried using executioncontext.params.loadfromxmlfile to load the testlist setting file dynamically but to no avail as it is always returning false.
  then i saw the code of loadfromxmlfile and found that it is expecting WebAii.Settings and WebAii.Settings.Web section in the xml file.
  Can somebody please share the format xml so that we can have a xml file with testlist setting params and custom params.

Thanks,
Ravi

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 25 Jan 2013, 08:16 AM
Hello Ravi,

Thank you for contacting us!

You are correct, it is looking for those configurations. You can check this article for the format of the XML. I have also attached a sample file for your convenience.

Please let us know if you have further assistance.

Regards,
Konstantin Petkov
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Bhaskar
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or