Forum Discussion
it's a Table Variable.
What I was hoping to be able to achieve is essentially
Login as user#1
Check the user can see what they're supposed to be able to see (Exists = TRUE)
Check the user cannot see what they're not supposed to be able to see (Exists = FALSE)
Login as user#2
etc...
There doesn't seem to be a way to change the data type in the cells of the table variable itself?
Refer to https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html
Here's an example in JavaScript code, where I use the method toString() to convert the value into a string value, which can then be used in the Compare method to compare two strings.
This approach can solve your issue, but ideally, you need to ensure your data is correctly defined.
Related Content
Recent Discussions
- 4 days ago
- 4 days ago
- 7 days ago