Forum Discussion
@colin_mccrae - when it is failing, it fails when trying to find the first checkbox, so step 2. It fails with objects do not exist error.
Hopefully this will clear up the steps as to where the actions/checks occur
- Right click on main page to open the right click menu
- Click two check boxes on right click menu
- Confirm the columns were removed on main page
- Refresh the main web page
- Confirm the columns are still removed on the main page
- Right click on the main page to open the right click menu
- Click Refresh on the right click menu to bring back all columns on main page
- Confirm all the columns appear on main page
I think if it is an identification issue, it is a really funky one. I use the type and the Full name as the identification properties. That seems to work best for my page. Every time it fails, I use the Display Object Spy to confirm that the fields are still mapped as expected and they are. Every freaking time.
I think if it was something as simple as that, then it would always fail and not just when it was run with other code.
Weird.
Which object does it fail to identify? The checkbox itself or the menu container it lives in?
Are you able to verify the checkboxes? (Is the right click menu one that vanishes as soon as focus moved off the page ... if it is, the Point + Fix method should get it)
- blbdt369 years agoContributor
@colin_mccrae - Yea, I find weird things all the time - lol. It's why I've stuck with testing for so long! When I look at the error, it says that it can't find the direct parent of the checkbox.
The menu disappears as soon as the mouse is moved.
When I use the object spy, the checkbox shows the mapped name correctly.
I need to try this again, but our data system is down and the page isn't rendering correctly without the data.