NicolaFilosa_SE
11 months agoContributor
Variable or Test parameter using "If object" in Keyword test
Hi to everyone,
I have to verify the properties "Exists" and "Enabled" for various tabs and pages. To do it I wanted to use a keyword test, in order to run it every time I have to do the verification, specifying only the object. I thought that the "If object" was the better choice but I can't use a variable or a test parameter in it. I tried using the "if... else" function but I wasn't able to create a correct test.
Can anyone please help me?
Thanks in advance to everyone
Here's a JavaScript example, which captures the property values contentText, Text and Enabled of Aliases.panelTable.
Objects.Save(Aliases.panelTable, "config_table", "contentText Text Enabled", "", true); Objects.Items("config_table").Check(Aliases.panelTable);
It then checks Aliases.panelTable with the property values stored in Stores.