Binding of two different variables to two test recordings
Posted: Fri Mar 06, 2015 12:23 pm
Hi , I have a simple Test case as below for Calculator, showing recordings within this test case
Addition
OpenCalc
TypeNumber1 - Want to Bind variable 1 ( number1)
ClickAdd
TypeNumber2 - Want to Bind variable 2 ( number2 )
ClickEqualTo
CloseCalc
I have Data.xlsx that contains two columns in A and B , I plan to bind them to TypeNumber1 and TypeNumber2 recordings respectively using variables $number1 and $number2 , and execute the test case with 3 iterations
See below excel columns
A B
Number1 Number2
10 40
20 50
30 60
For this I create two Datasources as ExcelConnectors
ExcelConnector1 - Range = A:A - values 10,20,30
ExcelConnector2 - Range = B:B - values 40,50,60
This works fine .
As shown above I want to bind number1 to TypeNumber1 and number2 to TypeNumber2
But I am not able to do so using the Right Click Data Binding window on the recordings
Somehow when I try to bind Number1 to TypeNumber1 -> It gets bound
but when I do bind number2 to TypeNumber2 , TypeNumber1 binding gets disturbed
Not sure how to tackle this scenario. Please help.
Addition
OpenCalc
TypeNumber1 - Want to Bind variable 1 ( number1)
ClickAdd
TypeNumber2 - Want to Bind variable 2 ( number2 )
ClickEqualTo
CloseCalc
I have Data.xlsx that contains two columns in A and B , I plan to bind them to TypeNumber1 and TypeNumber2 recordings respectively using variables $number1 and $number2 , and execute the test case with 3 iterations
See below excel columns
A B
Number1 Number2
10 40
20 50
30 60
For this I create two Datasources as ExcelConnectors
ExcelConnector1 - Range = A:A - values 10,20,30
ExcelConnector2 - Range = B:B - values 40,50,60
This works fine .
As shown above I want to bind number1 to TypeNumber1 and number2 to TypeNumber2
But I am not able to do so using the Right Click Data Binding window on the recordings
Somehow when I try to bind Number1 to TypeNumber1 -> It gets bound
but when I do bind number2 to TypeNumber2 , TypeNumber1 binding gets disturbed
Not sure how to tackle this scenario. Please help.