Forum Discussion
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.
Yes, that's exactly what I want! My test should create 6 different projects, where each project is == to a different button("Aliases.IsoSpeak.MainOptionsModule.centralWidget.uiLayoutWidget.NewProjectMenuModule.Widget3.Widget.ToolButton2"), in total there are 6 buttons. So, I will have 6 lines with values in my DB Table, later I plan to make it data driven loop.
I never used eval() will check it now.
Related Content
- 2 years ago
- 4 years ago
Recent Discussions
- 12 hours ago