I have a selenium script which creates a financial profile on a financial web application. Now i need to check whether added financial stuff appears in the profile.
For example i added a Retirement account to the profile and want to see if added retirement account appears in the profile. I have checked UI elements to verify that it appears in the profile. But i am wondering if there is a way to check same using javascript variables.
I found javascript executor function that can be used in Selenium but i am not sure how to check which variable or function to check for a particular account(Retirement).
I also read about some extensions that can show you java script variables called real time but have had no luck with using those efficiently.
Any help would be appreciated and an example small code would be very helpful. Thanks!