jsmiley
14 years agoOccasional Contributor
Can't compare a variable to an onscreen object
So, I am trying to say following in a checkpoint but am getting a type mismatch error:
Anyone have any ideas on how to get this checkpoint to work?
The Checkpoint code in question is as follows (using the GUI):
Variables.Grouping, "innerText", 6, Sys.Process("iexplore", 2).Page("*").... blah blah blah .... .TextNode("Category_Title").innerText, false
The "blah blah blah" part is the tree structure of the site and isn't really needed here to make my point.
- Load page 1
- Set variable to onscreen object inner text property
- Load page 2
- Variable contains value of an onscreen object inner text property <--- Error occurs here.
Anyone have any ideas on how to get this checkpoint to work?
The Checkpoint code in question is as follows (using the GUI):
Variables.Grouping, "innerText", 6, Sys.Process("iexplore", 2).Page("*").... blah blah blah .... .TextNode("Category_Title").innerText, false
The "blah blah blah" part is the tree structure of the site and isn't really needed here to make my point.