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

Automate testing on mobile websites

3 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 24 Aug 2012, 10:30 AM
Hello,

Is there any way to do automated test for a mobile website whose content is created dynamically, depending on if site is running on desktop or mobile device? There is a JSP code that recognize device type that is based on browsers User-Agent (code is available on http://detectmobilebrowsers.com/ ). 

So basically, If I run test on Test Studio Express it will only run desktop version of the site because User-Agent is desktops one.
Is there any way to manually inject User-Agent string from a mobile device into Teleriks test scenario?

Best regards,
Michael

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 29 Aug 2012, 08:01 AM
Hello Michal,

I'm afraid that what you are trying to do is not possible.
However we have Test Studio for iOS which is an automated and ad-hoc testing solution for iPhone, iPod Touch, and iPad. Download Test Studio for iOS for free directly onto your iDevice from the App Store and start evaluating the product.
In order to get started with Test Studio for iOS check this article.

Regards,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Werner
Top achievements
Rank 1
answered on 27 May 2014, 12:27 PM
Hi, 

we also would like to test our app against different user agents. 
When will you release this kind of feature?

Selenium has this feature for more then a year already:
http://yizeng.me/2013/08/10/set-user-agent-using-selenium-webdriver-c-and-ruby/

0
Ivaylo
Telerik team
answered on 29 May 2014, 12:31 PM
Hello Werner,

Please note that you are updating a thread which was opened back in 2012 and it was related to Test Studio for iOS, product that we no longer develop and support.

We are now offering a Mobile Testing solution as a part of the Telerik Platform which you can review here.

Regarding web agents please check out the this article for more information.


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