Forum Discussion
Where exactly in your 8 steps does it fail?
And what is the error it fails with?
Looking at the 8 steps, I'm not clear which bits are on the main page and which parts are on the popup? Also, is this a dialog type popup or some sort of modal popup window generated by the application?
From what you're saying, it does sound like an identification issue. Do any of the identification properties used to identify your problem object (and all it's parents all the way up the tree) look likely to be varying at runtime? Like they contain big longs strings of random looking characters or something?
@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.
- Colin_McCrae9 years agoCommunity Hero
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.
Related Content
- 9 years agojbiss