Forum Discussion
rraghvani
Champion Level 3
I think I'm starting to understand the problem you are having. You have a table that has e.g. ToolButton2, ToolButton1, ToolButton3 etc. and you want to perform a click button action based on the value received from the table i.e. ToolButton2.ClickButton()
Similar to the code example,
Aliases.IsoSpeak.MainOptionsModule...Widget.ToolButton2.ClickButton()
Aliases.IsoSpeak.MainOptionsModule...Widget.ToolButton1.ClickButton()
Aliases.IsoSpeak.MainOptionsModule...Widget.ToolButton3.ClickButton()
You can use eval() function to evaluate JavaScript code represented, which means creating a function and calling the code from your keyword test.
Iso_Yura
2 years agoContributor
I found that I can do it under Operation Parameters:
This is how my test step looks like(it's a different button, but concept is the same):
When I run it I keep getting an Exception error: "Unable to evaluate the operation's "Shift" parameter. Error: RuntimeError: The specified object is not indexable"
Related Content
- 2 years ago
- 4 years ago
Recent Discussions
- 12 hours ago