This question is locked. New answers and comments are not allowed.
Hi.
I created a test that covers the standard flow of our application. This test is divided into multiple 'Test as Step'. In one of the first 'Test as step', I am selecting a RadComboBox item and then, I create an Extraction step for the text now appearing in the RadComboBox. I then added binding to this step to store the text in a variable to be used later on. This step is now looking like this: radcomboboxitem Extract text into DataBindVariable $(JOHNSMITHRadcomboboxitem) - DataDriven: [$(AssignTo)].
In the next 'Test as Step', I want to select an item in a RadComboBox based on $(AssignTo). Here are the 2 steps that I created in order to do so: radcombobox: drop down 'Open' action. and radcombobox: selecting item 'JOHN SMITH - ESTIMATOR' - DataDriven: [$(AssignTo)].
This is not working: I am getting the following error: Unable to find item with text '' to select!
Any idea of what is causing this issue? Is what I am trying to do doable? Please note that originally, I created the test with hardcoded steps for every radComboBox 'selecting item' step. This was working fine when running the test on my development machine but when I moved the test to another machine which is using a different database, the items selected were different from expected, although the item to be selected existed in the radComboBoxes of this other machine. It looks like if test studio was 'remembering' something else than the 'text' to find the item...
I created a test that covers the standard flow of our application. This test is divided into multiple 'Test as Step'. In one of the first 'Test as step', I am selecting a RadComboBox item and then, I create an Extraction step for the text now appearing in the RadComboBox. I then added binding to this step to store the text in a variable to be used later on. This step is now looking like this: radcomboboxitem Extract text into DataBindVariable $(JOHNSMITHRadcomboboxitem) - DataDriven: [$(AssignTo)].
In the next 'Test as Step', I want to select an item in a RadComboBox based on $(AssignTo). Here are the 2 steps that I created in order to do so: radcombobox: drop down 'Open' action. and radcombobox: selecting item 'JOHN SMITH - ESTIMATOR' - DataDriven: [$(AssignTo)].
This is not working: I am getting the following error: Unable to find item with text '' to select!
Any idea of what is causing this issue? Is what I am trying to do doable? Please note that originally, I created the test with hardcoded steps for every radComboBox 'selecting item' step. This was working fine when running the test on my development machine but when I moved the test to another machine which is using a different database, the items selected were different from expected, although the item to be selected existed in the radComboBoxes of this other machine. It looks like if test studio was 'remembering' something else than the 'text' to find the item...