Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Mobile Test Automation
  • Table Of Contents Toc
Mastering Mobile Test Automation

Mastering Mobile Test Automation

By : Gaurav Gupta
4 (4)
close
close
Mastering Mobile Test Automation

Mastering Mobile Test Automation

4 (4)
By: Gaurav Gupta

Overview of this book

If you want a complete understanding of mobile automation testing and its practical implementation, then this book is for you. Familiarity with the basics of VB Script and Java along with knowledge of basic testing concepts is essential.
Table of Contents (10 chapters)
close
close
9
Index

User agent simulation for mobile

To overcome the problem of user agent sniffing, new browsers were designed to allow for spoofing or simulation of the user agent as a means of bypassing discriminatory server rules. This capability has since then persisted and all modern browsers today have the feature of user agent string simulation as an inbuilt capability. So, using this feature to our advantage, we can simulate the user agent of a mobile device while accessing any mobile web application through any browser. On sniffing the user agent, the server would take the request to be originating from a mobile device and hence would respond with the mobile view. Thus, we would be able to get the mobile web application interface from a desktop browser. The following diagram depicts this process:

User agent simulation for mobile

User agent simulation through desktop browsers

User agent plugin programs

Generally, all mobile browsers come with simple add-ons that enable the overriding of the user agent string. In the following table...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Mobile Test Automation
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon