Forum Discussion
What you have described, reminds me of Refresh Name Mapping Cache.
Lines 1 - 5 extracts some sort of record number?
Lines 10 - 11 find the element that contains that record number?
How is Aliases.browser.page defined?
For example, the website https://www.w3schools.com/ has two common buttons '< Home' and 'Next >' for each page i.e. https://www.w3schools.com/html/default.asp and https://www.w3schools.com/js/default.asp.
If Aliases.browser.page is defined as https://www.w3schools.com/html/default.asp, then I can find buttons '< Home' and 'Next >'. But I won't be able to find buttons on https://www.w3schools.com/js/default.asp as the parent object is different. However, if I define Aliases.browser.page as https://www.w3schools.com/* (note the wildcard), then I can find buttons '< Home' and 'Next >' on all pages.
When you log out and in again, is this all in the same automated process? I.e. you are not running the second test by clicking the play button?
Your understanding of Line 1 - 5 and Line 10 - 11 are correct. Also, the Alias.browser.page is defined "pretty general" so to speak (URL is not different at the page I'm currently having issues on. For example: https://statement1/statement2/html/statement3.html*).
Regarding your question about if my script is all the same automated process, it is. It's a general flow, but due to my issues I'm running into the flow isn't working as well as hoped.
Regarding your suspicion about it being a name mapping caching issue, I did try calling the RefreshMappingInfo against my recordNo variable right before Line 10 (I.E. recordNo.RefreshMappingInfo();), but my test failed saying "recordNo.RefreshMappingInfo is not a function." It's possible I'm using the function incorrectly, but based off the examples listed in the help document you gave me I think I'm using it right.
Hope I'm answering your questions well.
Related Content
Recent Discussions
- 49 minutes ago
- 6 days ago
- 10 days ago