cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple tab Process

Anonymous
Not applicable
Hi , I am working on IE , when i click on a button , the respective page opens in a new tab , i have given the child index as 1 , but it is not recognizing the element in the new tab ? Someone Help with this. Thank you in advance.
4 REPLIES 4

david.l.morris
Level 15
Assuming you're using IE 11, it doesn't by default act as the Browser Automation guide indicates. I think the guide is meant as more of a starting point on understanding IE processes/tabs. My suggestion is to see if you can make the link open in a new window, deal with the new page in that new window, and then close that window when you're done. You could do this by doing a Read stage on that button to get the link, assuming the link is in the HTML. Then you just navigate to that link in a new IE window. Otherwise, you could simply continue to use the child index of 0, which for me simply interacts with the active tab in IE. At the moment, I can think of two ways to handle it. (1) You do a Send Key of CTRL+TAB to switch to the new tab after clicking the link. OR (2) You change the setting in the Tabbed Browsing Settings of IE to ""Always switch to new tabs when they are created"". This might work well especially if there is a button on that new page that will give you the ability to close only that tab without closing IE, because after closing the tab by clicking a ""Done"" or ""Save"" button or whatever, you'd be back on your original tab. Of course, you could mess around with the TabProcGrowth registry settings indicated in the Browser Automation guide and see if that will help you come up with a solution.

Dave Morris, 3Ci at Southern Company

Anonymous
Not applicable
Hi David, Thanks for your suggestion, I have opened the page in new window and spied the elements, but when i tried running the object its not performing any of the click actions . Its not even throwing any error instead just completes the process. Any suggestion for this why it is behaving in such manner ? Would be much helpful for me to proceed on this if its resolved . Thanks.

david.l.morris
Level 15
Which click actions are you using?

Dave Morris, 3Ci at Southern Company

Anonymous
Not applicable
Its a button , so click centre actions i tried performing but to vain , instead i found an alternative way to perform the actions.Thanks.