Forum Discussion
Thanks for the reply, this works pretty well so far.
Follow-up question;
Is there a way to implement wild cards or ignore specific comparisons?
I keep getting a failure because a ViewState value changes, dynamically, whenever the site is loaded. I have tried to enable the "Read content from a server" option with no luck, and it seems wild card (*) does not apply to this checkpoint.
Looking at your mapping that you're using... you're mapping text boxes on screen straight off the browser. I'm assuming, though, that they are actually child objects of a page...and if they are child objects of a page, they are possibly also child objects of other objects on the page (DIV panels, Tables, etc.).
Now, this is going to take a bit of rework, but if you remap your objects to not be straight off the browser but actually be "contained" in some other object, you can do an Object check point and have it capture child objects and check properties of the whole object tree at once. A bit more granular than a full page comparison... but, again, it's going to take a bit of re-engineering on your part of your mapping configuration.
- MyG0t8 years agoOccasional Contributor
Hi Robert, you are correct - my NameMapping is setup with tables/forms/div, I removed them to simplify the example.
Here is an example of a 'Submit' button that lives on the page:
NameMapping.Sys.browser.StoreDemo_HomePage.StoreDemo_FORM.StoreDemo_Content_PANEL.Quantity_TABLE.Submit_BUTTON
If I'm understanding you correctly, I'd need to create an Object Store, map out all the properties of the object/child-objects, then do an Object.<ObjectStore_Name>.check(<NameMapping Object>). Is that right?
Related Content
- 4 years agobwolsleben
- 5 years agodouglasv
Recent Discussions
- 3 days agoMW_Didata