How to Switch focus from one tab to another on the Internet explorer in Pega Robotics Studio 8.0 ?
I am working with a web app. How do we shift the focus on a new tab that is created from the older tab? Basically, I want to pass a value to a textfield in the new tab that is created ( upon clicking on a hyperlink on the first one ), but Openspan says control is not matched. I guess this is happening because of the 2 tabs that are open. Any Inputs on how can I shift focus or activate the new tab ?
I didn't understand which tab are you referring to as hidden ?
I guess I did not explain it properly. So, I have a base website that I have added as a web adapter to my automation. This base website contains a set of URLs. When the automation clicks on one of those URLs, Internet Explorer opens the website specific to that URL as a new tab. Now, I have added this new website separately as a web adapter and also interrogated the controls for the same.
However, when I am trying to pass a value on this new URL ( open on the second tab ) from a win form ,Openspan is throwing some match rule error for controls created for this new URL. Hope this makes it clear
Is the other web adapter started? What is the StartMethod property of the second adapter? If it is the default "Start" the you can only ever automate the window opened by the adapter when it started. Changing the StartMethod property to MonitorAll may fix the issue.
I don't believe Pega Robotics support any methods for using the tabs in IE. You may have to use some C# scripts using UIAutomation to change focus on tabs in IE. There's certainly no out-of-the-box method to do it.