I have a XML file with all the values I need for data driven test. Now I can't figure out how can I read one specific value from XML file, which I would use in coded step. For example if I create extracted step and then GetExtractedValue in the code, I can save this value as a string and use it in the code. Now I want the same, but this time I want to use a specific value from XML file. I have data binded XML file to the test case, but how can I now read only the value I need?
Snippet of the XML file is as follows:
<events>
...
<event keyword="Test event" eventName="Test Event 2014" ssoUrl="https://<domain>/?guid=<something>&number=1&username=<username>" ssoLogin="<domain>/?token=" />
</events>
From the XML file I would like to read ssoLogin value and use it in the code as a string.
BR, Jurij
Why does it not let you have 1 test list for your testing activities?
During our sprints we create automated and manaual test cases that need to be executed and right now we are creating 2 test lists to accomplish this. Why cannot it no handle all the of the testing activities in one combined list?
Heya,
I'm trying to record load tests to test our sites functionality that sits behind a login screen, however whether i record the test or load a recorded test the user profile returns only a series of HEAD calls with a URL that is a small encoded GUID, eg Http://sdfsvdFEDE/ this clearly isnt even a link to our site, and with it not being a POST call i cant add in the login details.
Any ideas how to solve this?
Thanks,
Hi when using the schedule test list option to send out notification emails, the attached excel just lists which test case passed or failed.
Is there a way of sending out the notification emails with the excel sheets that display the results step by step. This can be outputted manually in the results tab but would like this automated.
Thanks.
Hi,
I was working with Telerik test Execution extension following below link.
http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/execution-extensions
I have added logic to this method public void OnAfterTestCompleted(ExecutionContext executionContext, TestResult result)
I was able to print complete log using result.Message statement.
But I was unable to find any list or collection which holds, test step details.
Now i want to iterate through individual test step contents. I mean, test step execution status, logs pertaining to that test step,test step duration, test step exception etc.
Any way we can achieve this?
Thanks,
VVP
We are using the web tests to create contect driven test sessions during our sprints and we want use the results of the testing of those sessions but we do not want rerun them. We wqoul like to just pass them.
Or in the case were we have 10 automated test cases in a list and 2 fail how do I rerun just the 2 without creating a entirley new list with just those 2 test cases. OR is there a way to just set them to pass when they are working again.
Hi All,
I was following this link :http://docs.telerik.com/teststudio/testing-framework/using-nunit and trying to execute test using NUnit.
I can't use this.ExecutionContext.DeploymentDirectory, But i am unable to find a similar function like "this.ExecutionContext.DeploymentDirectory;".
Is there anything we can use for Nunit execution.
I tried AppDomain.CurrentDomain.BaseDirectory; and getting directory.But when i tried
Console.WriteLine("currentExecutionDirectory is :" + ArtOfTest.WebAii.Design.Execution.ExecutionContext.Current.DeploymentDirectory);
I am getting object reference not set to instance of an object.
Kindly let me know.
Thanks,
VVP