This is a migrated thread and some comments may be shown as answers.

Chrome pop-up not working

3 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Asare
Top achievements
Rank 1
Asare asked on 23 Oct 2012, 04:55 PM
Using Telerik Test Studio standalone version 2012.1.7190.
I am running a Test list against all the major browsers. However, the tests are failing because of Chrome Version 22.0.1229.94 m

The actual problem is occurring when the test reaches a specific step, clicks on a link which creates a new tab instead of a pop-up window

This is an example of the link

HtmlAnchor:<a href="http://www.google.co.uk" target="_blank">

The code cannot be changed and because "_blank" is not guaranteed to be a new tab or window. It's implemented differently per-browser. I have implemented the workaround below;


My work around
            if(ActiveBrowser.BrowserType == BrowserType.Chrome)
            {
                ActiveBrowser.Manager.LaunchNewBrowser(BrowserType.Chrome,false);
                Log.WriteLine("URL of link: " + Pages.PropertyServicesSearch1.LCInventoryLink.HRef);   
                ActiveBrowser.NavigateTo(Pages.PropertyServicesSearch1.LCInventoryLink.HRef);
                ActiveBrowser.WaitForUrl(Pages.PropertyServicesSearch1.LCInventoryLink.HRef,false,30000);  
            }

Unfortunately, the newly launched browser gets stuck at for 30 seconds (30000) at  Preparing browser for automation...

Is there a better way?

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 26 Oct 2012, 11:45 AM
Hello Asare,

I am sorry to hear you are experiencing this issue. This looks to me more like your browser is not configured to run with Test Studio. For more information you can check this article. As of the 2012 R2 release, the Calibrate Browsers feature can configure your browsers automatically. You can upgrade to our R2 release following this link.
If your issue still persists after you make the corresponding changes we might need to reproduce this behavior locally in order to investigate further. For this we will need access to the application you are testing.

Looking forward to hear from you.

Regards,
Ivaylo
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Asare
Top achievements
Rank 1
answered on 31 Oct 2012, 04:54 PM
I had already tried the configuration steps. I then repeated them after your post.

Still no joy.

I will try the upgrade approach and let you know.
0
Accepted
Ivaylo
Telerik team
answered on 05 Nov 2012, 04:27 PM
Hello Asare,

Please give it a try and let me know. If this is still not working for you please provide me with a link to the application you are testing so we can review and repro this behavior. Please make sure you open a separate ticket where all the communication remains private since we are now posting in public accessible forum.

Greetings,
Ivaylo
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
Asare
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Asare
Top achievements
Rank 1
Share this question
or