Application cache is one of the new technologies that is coming from the HTML 5 specification. It allows web applications to specify files that are downloaded when the browser accesses the page. The browser will look at the files in the application cache before opening any network connections to the server. This means if the computer or mobile device goes offline, then those files are still available and loaded straight away.
To know if your application has an application cache file, you will need to have a look at the source of the HTML document. It should have a manifest attribute in the html tag as follows:
When items are downloaded, we can then make calls to the application cache object that is attached to the window object in the browser.
Selenium WebDriver has an AppCacheStatusenum that represents the current status of the application cache. The current statuses are:
Let's try using this.
Selenium Related Interview Questions
|SILK TEST Interview Questions||QTP Interview Questions|
|JMeter Interview Questions||Automation Testing Interview Questions|
|Software testing Interview Questions||JUnit Interview Questions|
|TestNG Interview Questions||SAP Testing Interview Questions|
|Selenium WebDriver Interview Questions||Selenium IDE Interview Questions|
|QUnit Testing Interview Questions||Performance Testing Interview Questions|
|Hadoop Testing Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.