How to check if the Web Adapter isRunning based on the StartPage URL
We have to automate a Web application that can be launched from different links (around 50). We are thinking of creating only one Web adapter and starting the web app by changing the url using "StartPage" property at runtime. If the link is already clicked we need to bring the app that was started previously. If its is not clicked then we need Start the web adapter with the clicked url.
The challenge however is, how do we keep track of the link that was started/clicked previously? Using IsRunning check on adaprer would return true for one default StartPage url if it is running.
Do we have to interrogate each link as different web adapters? This would be a maintenance nightmare. Please suggest.
If I'm understanding this correctly, no matter what link is clicked the same app is being booted. What you could potentially do, is set the web adapter to 'Monitor All' and boot the adapter before the links are clicked. What this would do, is cause the adapter to hook into the app once it is loaded onto the screen.
Each link points to a state specific URL of the application, but their UI is mostly the same. So we want to avoid creating so many adapters and interrogate similar controls as many times. If we use one adapter and change StartPage dynamically to start new link when needed, how do we manage the multiple IE windows/sessions launched? We did not find Wed Adapter methods/events supporting that.