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

Troubleshooting and best practices

The following are some industry best practices:

  • An important aspect to consider with the user agent approach is that while switching user agents, a new session of the browser should be started every time in order to ensure that cookies are cleared, and the server is able to send the response as per the new user agent string.
  • Another aspect is to periodically clear all temporary files of the browser and also to clear its cache while running automation scripts. The following is a code snippet for VB Script that can be used with tools such as UFT, which do not have inbuilt constructs for deleting browser cookies or whose inbuilt cookie deletion functions do not work properly:
    Dim objFileSystem, objWshShell, objoFolder, oFile
    'Deleting temporary folders:
    Set objFileSystem = CreateObject("Scripting.FileSystemObject")
    'Create Window Shell object
    Set objWshShell = CreateObject("WScript.Shell")
    'get Folderpath under which file present...
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