Hi All,
I understand how SetExtractedValue and GetExtractedValue work, but I would like to know if it is possible to create a SetExtractedValue in VB Code Behind without first creating a GetExtractedValue in the main script. For Instance.
I could create a line in the test script such as this:
Extract input 'DesignRequiredUKText' value into DataBindVariable $(DayNum).
In the Code Behind I could then have something like:
colValue = TryCast(DirectCast(inputSheet.Cells(rowNum, colNum), Microsoft.Office.Interop.Excel.Range).Text, String)
SetExtractedValue("DayNum", colValue)
and everything works fine.
However, could I execute the SetExtractedValue line in the Code Behind window without first having created the DataBindVariable in the test script? And then could I still use the "DayNum" variable later in the test script? If so, would I still use it via the data driven binding $(DayNum)?
Hope the question makes sense!
Thanks,
Nigel Edwards, Transition Computing.
I understand how SetExtractedValue and GetExtractedValue work, but I would like to know if it is possible to create a SetExtractedValue in VB Code Behind without first creating a GetExtractedValue in the main script. For Instance.
I could create a line in the test script such as this:
Extract input 'DesignRequiredUKText' value into DataBindVariable $(DayNum).
In the Code Behind I could then have something like:
colValue = TryCast(DirectCast(inputSheet.Cells(rowNum, colNum), Microsoft.Office.Interop.Excel.Range).Text, String)
SetExtractedValue("DayNum", colValue)
and everything works fine.
However, could I execute the SetExtractedValue line in the Code Behind window without first having created the DataBindVariable in the test script? And then could I still use the "DayNum" variable later in the test script? If so, would I still use it via the data driven binding $(DayNum)?
Hope the question makes sense!
Thanks,
Nigel Edwards, Transition Computing.