Automate testing on mobile websites

4 posts, 0 answers
  1. Michal
    Michal avatar
    1 posts
    Member since:
    Aug 2012

    Posted 24 Aug 2012 Link to this post

    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
  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 29 Aug 2012 Link to this post

    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
  3. Werner
    Werner avatar
    8 posts
    Member since:
    Nov 2010

    Posted 27 May 2014 Link to this post

    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/

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 29 May 2014 Link to this post

    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
     
Back to Top