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

Testing framework is not working on IIS.

3 Answers 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bhavin
Top achievements
Rank 1
Bhavin asked on 13 Jan 2017, 07:33 AM

Hello,

I am doing research on web automation. I have found Testing Framework during my research. I have tested it using ASP.NET and it is working sometime on development and it was throwing error sometime also when I hosted this site on IIS it was not working completely.

Can anybody help me please how to configure application on IIS? 

Does it work on IIS?

Below code is working for Chrome only. It is not working on IE and Firefox 

                Settings settings = new Settings();
                settings.Web.DefaultBrowser = BrowserType.Chrome;
                Manager manager = new Manager(settings);
                manager.Start();
                
                manager.LaunchNewBrowser();
                manager.ActiveBrowser.NavigateTo("http://www.google.com");

Please help.

Thanks,

Bhavin Panchal

3 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 17 Jan 2017, 03:30 PM
Hello Bhavin,

Where the tested application is hosted is not something that could prevent Test Studio to access it. If the navigation to the web page is possible and successful then a test will also access it. The configuration of the application host is not a subject of Test Studio. Please share further details about the errors you get. 

Thanks!

Regards,
Elena Tsvetkova
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Bhavin
Top achievements
Rank 1
answered on 18 Jan 2017, 07:01 AM

Hello Elena,

I want to auto login into the any website using Web Application and Windows application. First I need to launch browser from client side.

For that I have wrote above code in ASP.NET and hosted on IIS in our Web Server. 

Can you please provide me example of ASP.NET and how to host on IIS?

How to configure Telerik Test Studio or Testing framework include IIS?

Does it require any thing on client side?

How to launch browser from server to client?

Please advise.

Thanks,

Bhavin Panchal

0
Elena
Telerik team
answered on 20 Jan 2017, 02:43 PM
Hi Bhavin,

If the hosted application is accessible via a browser on the machine which you use to write your tests on there is no reason that the Testing framework tests will not access it. 

How to host an application on IIS and the rest related questions are out of Testing Framework support team authority and I will not be able to provide a proficient advice. However I would like to share an article explaining further details for the Setting class you would like to use. 

Regards,
Elena Tsvetkova
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Bhavin
Top achievements
Rank 1
Answers by
Elena
Telerik team
Bhavin
Top achievements
Rank 1
Share this question
or