Friday, January 19, 2024

Academy of Mobile Testing

 

1. What are the key challenges in mobile testing?

Different screen sizes

Different physical devices

Different operating systems

Different network conditions

2. What are the tools used for automated mobile testing?

Appium

Espresso

3. What are security concerns related to mobile testing?

insecure data storage

personal data leakage

inadequate encryption

insecure network communication

4. Explain the emulator and simulator

Emulator: it acts as a real device which has hardware and software.

Simulator: It has the behavior of device-like configurations

5. What are the firewalls?

  1. they are proxies
  2. They stand between server and client
  3. They have a set of defined rules
  4. They are monitor the threats and deny access to our web site
  5. Proxies:

  • Definition: In computer networking, a proxy serves as an intermediary between a client and a server. It acts on behalf of the client, forwarding requests to the server and returning responses to the client. Proxies can be used for various purposes, including improving security, caching content, and providing anonymity.
  • Use Cases:
  • Anonymity: Proxies can hide a client’s IP address, providing a level of anonymity.
  • Content Filtering: Proxies can filter or block specific content based on defined rules.
  • Caching: Proxies can cache content to improve performance by serving cached data to clients without forwarding requests to the server.


  1. Cookies:

  • Definition: Cookies are small pieces of data stored on the client’s device by the web browser. They are commonly used to store information about the user’s interactions with a website. Cookies help in maintaining session information, tracking user preferences, and personalizing content.
  • Use Cases:
  • Session Management: Cookies are often used to manage user sessions, allowing users to stay authenticated across multiple requests.
  • Tracking and Analytics: Cookies can be used to track user behavior and gather analytics data.
  • Personalization: Websites use cookies to remember user preferences and personalize the user experience.


  1. Pagination:

  • Definition: Pagination is a technique used in web development to divide content into discrete pages. It is commonly employed in scenarios where a large set of data needs to be displayed, and showing all of it at once is impractical. Users can navigate through different pages to view additional content.
  • Use Cases:
  • Large Data Sets: Pagination is useful when dealing with large datasets to avoid overwhelming users with too much information at once.
  • Improved Performance: Loading a smaller subset of data at a time can improve page load times.
  • User Experience: Pagination provides a clear and organized way for users to navigate through content.




Tuesday, November 19, 2019

Find xpath Using Inspect Option

Here is a simple example to understand the XPath.



XPath = /Shoe store/Shoe[@Category='Gents']/size

Below example describe how to find XPath of 'Username' field in Gmail Login

Step 01 : Navigate into gmail login page

Step 02: Select  username /email text box

Step 03 : Right click -> Inspect -> Select Elements tab

Step 04 : Ctrl + F

Step 05: Write XPath as below

//Input[@id='identifierId]

XPath Declaration


  • // - double  front slash means within this page
  • input - tag name (Ex: input, img, div....)
  • Id - attribute name
  • 'identifiedId' - Value of the attribute
Further Declaration

  • We can select attribute values as mentioned below
  • src, Aria-label, Id
  • Ex: // button[@aria-label='Create video or post']