In Selenium IDE, I need to call the command assertValue
of an input field on data coming from a table <td>
(which only allows storeText
, not storeValue
) from a different page.
Right now the data is being stored correctly, but I think the assertValue
command requires a value variable, not a text variable. I found out from past situations that these are different things to the IDE.
I tried the following, but it didn't work:
Store text variable from table <td>
tag:
Command: storeText
Target: //table[@id='AddressList_List_ListGrid']/tbody/tr[2]/td[5]
Value: var_source_client_billing_address_city
Store text variable into value variable:
Command: storeValue
Target: ${var_source_client_billing_address_city)
Value: var_source_client_billing_address_city_value
Crashes on command above, so I can't even use the value variable to assert the value
Assert value variable in text input field:
Command: assertValue
Target: id=AddressEditor_TxtCity
Value: ${var_source_client_billing_address_city_value}
This also did not work:
Store text variable from table <td>
tag:
Command: storeText
Target: //table[@id='AddressList_List_ListGrid']/tbody/tr[2]/td[5]
Value: var_source_client_billing_address_city
Assert value variable in text input field:
Command: assertValue
Target: id=AddressEditor_TxtCity
Value: ${var_source_client_billing_address_city}