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

TestStudio doesn't work with Chrome 45 & Firefox 37

14 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chandresh
Top achievements
Rank 1
Chandresh asked on 25 Jun 2015, 01:26 PM

Hello,

I have a test that I need to run against Chrome & Firefox. I created WebTest which I need to run and I am using that WebTest as Step in other test as per TestSteps.png. When I execute this test it fails while preparing Chrome for automation. (Chrome.jpg) I have attached the error log as well.

Same thing happens for Firefox.

I have configured my browsers as per instruction given for Chrome and Firefox

Let me know if more information is required.

Thanks,

Chandresh

14 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 30 Jun 2015, 08:01 AM
Hi Chandresh,

What revision of Test Studio do you use?

Please install the latest version (528) and give that a try.

You can download it from here.

Also remove all Telerik extensions in Chrome and install the latest one. Here are direct links.

Let me know if this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 01 Jul 2015, 08:44 AM

Hi Boyan,

Thanks for the update. I installed the latest version (528) and normal record & execute works fine for Firefox & Chrome.

However; I want to execute a test in below manner. 

Steps: 

1. Start execution of a test in Internet Explore. (WebTest2)

2. Open Chrome & execute an another Test (WebTest1) as Teststep in Chrome from here.

3. Open Firefox & execute an another Test (WebTest1) as Teststep in Firefox from here.

It fails after opening Chrome browser and gives same TimeOut exception which I mentioned earlier. Is there something I am missing here ?

I have attached my DemoProject for reference. 

Thanks,

Chandresh

0
Chandresh
Top achievements
Rank 1
answered on 01 Jul 2015, 08:45 AM
Here is the Project.
0
Ivaylo
Telerik team
answered on 03 Jul 2015, 12:53 PM
Hello,

It is not possible the same test to be executed with 3 browsers successively. The best way to proceed is to add them in a test list and have the test list executed. Here is short video demonstration.

I am returning the project.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 08 Jul 2015, 09:52 AM

Thanks Ivaylo. I got bit busy so could not reply.

So there is only one way to execute a test in three browser successively and it is by create three different WebTests. Correct me if I am wrong.

Also, can you help me with below issue I am facing with my Test List ?

I have a global function for Login under Utility Class. I have create two different Web Tests in which I am using this Login function. Now when I execute each test individually it works fine. But when I add them to Test List and run that List, first test gets executed successfully, however; it doesn't execute Login function for second test.

I have attached my Demo Project. You can run "List 1" test list to see the problem.

Let me know if you want me to create a separate thread for this.

Thanks,

Chandresh

0
Ivaylo
Telerik team
answered on 13 Jul 2015, 07:22 AM
Hello,

Yes it is a good practice to submit new issues in new tickets. Please proceed that way next time.

Regarding the behavior the easier way to proceed is to create a sample login test and use it as a test as step in both tests.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 13 Jul 2015, 08:20 AM

Thanks Ivaylo. I'll follow that.

As for the issue, I can't use Test As Step feature as I have role based users and I need to login with different users for each test. So is there any other way around that I can resolve this ? 

Thanks,

Chandresh

0
Ivaylo
Telerik team
answered on 16 Jul 2015, 08:42 AM
Hello Chandresh,

We need some more time investigating this problem.

Thank you for your patience.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 16 Jul 2015, 09:10 AM

Hello Ivaylo,

Sure, no problem.

Thanks,

Chandresh

0
Accepted
Ivaylo
Telerik team
answered on 16 Jul 2015, 10:43 AM
Hello,

We have found the reason why this is failing, this is because the manager is recreated on each run, so in order to overcome this problem whenever you have the following code:

if (_pages == null)
{
​
_pages = new Pages(Manager.Current);
       }
return _pages;


You should change it to:

//if (_pages == null)
//{
_pages = new Pages(Manager.Current);
//}
   return _pages;


Thank you for your patience and understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 16 Jul 2015, 11:49 AM

Thanks Ivaylo. It works now! :)

However; I am still wondering why it was recreating manager even if it is exist ?

Thanks,

Chandresh

0
Boyan Boev
Telerik team
answered on 21 Jul 2015, 07:45 AM
Hi Chandresh,

I am very happy to hear that it works now.

It happens because we are killing the manager after the first execution so you need create it again.

Let me know if you need further assistance.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chandresh
Top achievements
Rank 1
answered on 24 Jul 2015, 12:48 PM

Hi Boyan,

Sure, thanks a lot! :)

Thanks, 

Chandresh

0
Ivaylo
Telerik team
answered on 28 Jul 2015, 11:45 AM
Hello,

I am closing this case now.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Chandresh
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Chandresh
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or