Forum Discussion

narender_1's avatar
narender_1
Contributor
13 years ago

How to automate on second page of IE browser

Hi,

 In my project Iam working on IE8 in windows7 operating system.

 1.) Here in my application when  Iam recording to  simulate a signal which will open in a new page but in the second page Iam unable to record the objects.



 2.) while Iam mapping the object in the second page Iam facing with this error

Error:- The specified mapping criteria do not provide unique identification of the object



Can you please let me know how to overcome from this?



Thanks,

Narender

1 Reply

  • chicks's avatar
    chicks
    Regular Contributor
    Are you doing record & playback?  My experience has been that objects on another tab are still recognized, although I am not using  name mapping.



    Here's a function I wrote in JavaScript to make sure that we have selected the  correct tab for multiple browsers in IE.



    function SetTabVisible(aTab) {

          var tabButton = Sys.Process("iexplore").FindChild("Name","TabButton*"+aTab+"*", FIND_DEPTH);

          tabButton.Click();

          Sys.Process("iexplore").Page("*").Wait();

    }