Hi Telerik,
I want to create a stand alone test that can be included to the other tests so that it can use the ExtractedValue or execute itself without the extractedvalue step
So i wrote this code
Then i got this error
InnerException:
System.ArgumentException: The extracted variable 'Name' does not exist in the store. Make sure there is an extract step that has executed before executing this step.
at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.GetValue(String name)
at ArtOfTest.WebAii.Design.BaseWebAiiTest.TestData.get_Item(String column)
I thought of adding a step to the other test so that the extracted variable can exist. But it may overwrite the real extracted variable when executed.
Also i would like to ask if this is possible:
I have a TestList that contains Test A and Test B
Test A contains a extracted variable TestVar
Is it possible that Test B can use the extracted variable TestVar? Without setting Test B as a Test step in Test A?
Thanks
I want to create a stand alone test that can be included to the other tests so that it can use the ExtractedValue or execute itself without the extractedvalue step
So i wrote this code
if
(Data[
"Name"
].ToString() ==
""
)
{
Item0Caret0.SetText(
true
,
"Hello"
, 1, 10,
false
);
}
else
{
Item0Caret0.SetText(
true
, Data[
"Name"
].ToString(), 1, 10,
false
);
}
Then i got this error
InnerException:
System.ArgumentException: The extracted variable 'Name' does not exist in the store. Make sure there is an extract step that has executed before executing this step.
at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.GetValue(String name)
at ArtOfTest.WebAii.Design.BaseWebAiiTest.TestData.get_Item(String column)
I thought of adding a step to the other test so that the extracted variable can exist. But it may overwrite the real extracted variable when executed.
Also i would like to ask if this is possible:
I have a TestList that contains Test A and Test B
Test A contains a extracted variable TestVar
Is it possible that Test B can use the extracted variable TestVar? Without setting Test B as a Test step in Test A?
Thanks