Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • GfG 160: Daily DSA
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
  • SQL
  • Web Development
  • System Design
  • Aptitude
  • GfG Premium
Open In App
Next Article:
Mobile Testing Tools - Software Testing
Next article icon

Mobile Testing Tools - Software Testing

Last Updated : 03 Oct, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

In today's digital world, mobile testing tools play a crucial role in ensuring the quality and performance of mobile applications. With the increasing use of smartphones, mobile apps must function seamlessly across different devices, platforms, and network conditions. Mobile testing tools help automate the testing process, allowing testers to validate app functionality, UI/UX, performance, and security efficiently.

Whether it's testing on Android or iOS devices, these tools streamline the mobile testing process, making it easier to detect and fix bugs early in the development cycle.

Table of Content

  • What are Mobile testing tools?
  • What questions to ask while Selecting automation tools for mobile testing?
  • Detailed Comparison of Top Mobile Testing Tools
  • Which Mobile testing tool is most suitable for you?
  • Conclusion
  • Frequently Asked Questions on Mobile Testing Tools

What are Mobile testing tools?

Mobile testing tools are programmed to test portable applications. This classification incorporates cloud-based testing devices, application conveyance instruments, crash-revealing tools, execution testing instruments, mobile phone emulators, mechanized UI analyzers, portable enhancement, A/B testing tools, and defect logging instruments.

Top-Mobile-Testing-Tools
Mobile testing tools

What questions to ask while Selecting automation tools for mobile testing?

1. Does the tool support both Android and iOS?

Answer: Choose a tool that supports both platforms if cross-platform testing is required (e.g., Appium, LambdaTest).

2. Is the tool open-source or commercial?

Answer: Open-source tools like Appium or Espresso are free but may require more setup, while commercial tools like TestComplete offer support and additional features.

3. Does it support real devices and emulators/simulators?

Answer: Tools like LambdaTest, Kobiton, and TestGrid support both real devices and emulators, while others may focus on one.

4. What programming languages does it support?

Answer: Verify the supported languages (e.g., Appium supports Java, Python, C#, while Espresso supports Java).

5. Is the tool easy to integrate with CI/CD pipelines?

Answer: Ensure the tool integrates with Jenkins, Git, or CircleCI to enable continuous testing (e.g., Katalon Studio, Appium).

Detailed Comparison of Top Mobile Testing Tools

This comparison provides a comprehensive look at the leading automation testing tools for mobile and web applications, including their platforms, key features, integration options, and ease of use.

ToolPlatformLanguageKey FeaturesIntegrationEase of Use
LambdaTestAndroid, iOS, WebN/ACloud-based testing, Parallel execution, Real-device accessJenkins, CircleCI, GitHub, Jira, Azure DevOpsHigh
AppiumAndroid, iOS, WebJava, Python, C#, RubyOpen-source, Supports cross-platform, No app modificationJenkins, Git, Jira, Selenium GridHigh
KobitonAndroid, iOSN/AReal-device cloud, Parallel execution, Visual testingJenkins, GitHub, Jira, SlackHigh
EspressoAndroidJava, KotlinUI testing, Integrated with Android Studio, Fast executionGradle, Git, Jenkins, Bitbucket, Firebase Test LabMedium
Katalon StudioAndroid, iOS, Web, DesktopGroovy, JavaRecord & playback, Cross-environment execution, Built-in reportingJenkins, Git, Jira, CircleCI, Kobiton, Sauce LabsHigh
RobotiumAndroidJavaBlack-box UI testing, Works with Android SDKJenkins, GitHub, JiraMedium
TestGridAndroid, iOS, WebN/AReal-device cloud testing, Advanced analyticsJenkins, GitHub, Jira, CircleCIHigh
RanorexAndroid, iOS, Web, DesktopC#, VB.NETCross-platform, Image-based testing, CI/CD supportJenkins, Jira, GitHub, Azure DevOpsHigh
CalabashAndroid, iOSRubyBDD testing, Cross-platform, Easy to learnJenkins, Jira, GitHub, Travis CIMedium
TestCompleteAndroid, iOS, Web, DesktopJavaScript, Python, VBScriptObject recognition, Keyword-driven testing, Parallel testingJenkins, GitHub, Jira, Azure DevOpsMedium

LambdaTest

LambdaTest is an AI-powered test orchestration and execution platform that allows developers and QA engineers to perform mobile app testing at scale. It offers an online device farm of real Android and iOS devices for testing alongside built-in emulators and simulators. LambdaTest supports both manual and automated testing with features like parallel execution and AI-powered visual regression testing.

  • Platform: Android, iOS, Web
  • Language: N/A

Key Features:

  • You get access to a bunch of real Android and iOS devices, letting you see exactly how your app behaves on different phones and tablets.
  • It lets you use not only real devices but also virtual ones like simulators and emulators. This means you can test your app on a wide range of devices without needing to physically have them all.
  • It offers App Automation, making it easy to automate your tests. Therefore, you can set up tests to run automatically using different frameworks like Appium, Espresso, and XCUITest, across multiple devices, saving you time and effort.
  • It works in the cloud, so you can access it from anywhere. This makes it super convenient for teams to collaborate on testing, and you can scale up or down as needed without any hassle.
  • Integration: Jenkins, CircleCI, GitHub, Jira, Azure DevOps, etc.
  • Ease of Use: High

Appium

Appium is an open-source automation framework widely used for testing native, hybrid, and mobile web applications on both Android and iOS platforms. It’s highly flexible and supports multiple programming languages.

  • Platform: Android, iOS, Web
  • Language: Java, Python, C#, Ruby, JavaScript

Key Features:

  • Supports multiple platforms (iOS, Android, Windows).
  • Cross-platform testing.
  • No need to modify the app code.
  • Supports Selenium WebDriver for mobile.
  • Integration: Jenkins, Git, Jira, Selenium Grid, etc.
  • Ease of Use: High

Kobiton

Kobiton is a mobile testing platform offering real-device testing in the cloud and on-premise. It provides both manual and automated testing on a wide variety of devices.

  • Platform: Android, iOS
  • Language: N/A

Key Features:

  • Real-device cloud.
  • Parallel execution.
  • Visual testing.
  • Appium and Selenium-based automation.
  • Integration: Jenkins, GitHub, Jira, Slack, CircleCI, Travis CI.
  • Ease of Use: High

Espresso

Espresso is Google’s official test automation framework for native Android apps. It’s tightly integrated with Android Studio, which makes it a popular choice for Android developers.

  • Platform: Android
  • Language: Java, Kotlin

Key Features:

  • Fast execution for native Android apps.
  • Provides UI testing.
  • Integrated with Android Studio IDE.
  • Minimal setup required.
  • Integration: Gradle, Git, Jenkins, Bitbucket, Firebase Test Lab.
  • Ease of Use: Medium

Katalon Studio

Katalon Studio is an all-in-one automation testing tool designed for mobile, web, API, and desktop applications. It’s one of the most user-friendly platforms for non-technical users and supports various scripting modes.

  • Platform: Android, iOS, Web, Desktop (Windows)
  • Language: Groovy, Java

Key Features:

  • Record & playback for easy test creation.
  • Built-in keywords and project templates.
  • Supports cross-environment execution.
  • Advanced reporting and analytics.
  • Integration: Jenkins, Git, Jira, CircleCI, Kobiton, Sauce Labs, etc.
  • Ease of Use: High

Robotium

Robotium is an open-source framework specifically designed for testing Android applications. It is often used for automated UI and functional testing, especially for older versions of Android.

  • Platform: Android
  • Language: Java

Key Features:

  • Supports black-box UI testing.
  • Tests native and hybrid apps.
  • Simple API for fast test creation.
  • Works with Android SDK.
  • Integration: Jenkins, GitHub, JIRA.
  • Ease of Use: Medium

TestGrid

TestGrid offers an end-to-end platform for mobile and web application testing with cloud access to real devices. It supports parallel test execution across different devices.

  • Platform: Android, iOS, Web
  • Language: N/A

Key Features:

  • Real-device testing on the cloud.
  • Manual and automated testing.
  • Supports Appium and Selenium.
  • Advanced reporting and analytics.
  • Integration: Jenkins, GitHub, GitLab, Jira, CircleCI.
  • Ease of Use: High

Ranorex

Ranorex is a powerful automation testing tool that supports mobile, web, and desktop applications. It’s user-friendly for beginners, providing record-and-playback functionality along with robust scripting options.

  • Platform: Android, iOS, Web, Desktop (Windows)
  • Language: C#, VB.NET

Key Features:

  • Cross-platform testing.
  • Image-based testing for dynamic UIs.
  • Supports CI/CD pipelines.
  • Built-in reporting features.
  • Integration: Jenkins, Jira, GitHub, Azure DevOps, etc.
  • Ease of Use: High

Calabash

Calabash is an open-source framework used for automated testing of Android and iOS applications. It allows tests to be written in Cucumber and is particularly favored for behavior-driven development (BDD).

  • Platform: Android, iOS
  • Language: Ruby

Key Features:

  • Cross-platform mobile testing.
  • BDD testing with Cucumber.
  • Open-source and easy to learn.
  • Supports native and hybrid apps.
  • Integration: Jenkins, Jira, GitHub, Travis CI.
  • Ease of Use: Medium

TestComplete

TestComplete is a comprehensive automation tool that supports web, desktop, and mobile applications. It provides record-and-playback features and allows scripting in various languages like JavaScript, Python, and VBScript.

  • Platform: Android, iOS, Web, Desktop
  • Language: JavaScript, Python, VBScript, JScript

Key Features:

  • Cross-platform testing.
  • Object recognition engine for dynamic UIs.
  • Parallel testing and CI/CD integration.
  • Supports keyword-driven and script-based testing.
  • Integration: Jenkins, GitHub, Jira, Azure DevOps, etc.
  • Ease of Use: Medium

Which Mobile testing tool is most suitable for you?

The best mobile testing tool ultimately depends on factors such as the nature of testing, the target OS, and the competencies of your development team. Here's a brief guide to help you choose:

  • If you need Comprehensive Testing Across Platforms: You can consider using LambdaTest. It offers a cloud-based platform with access to a wide range of real Android and iOS devices, as well as emulators and simulators. LambdaTest supports various automation frameworks like Appium, Espresso, and XCUITest, making it a versatile choice for comprehensive cross-platform testing.
  • If you need cross-platform support (Android & iOS): Best Choice: Appium or Katalon Studio (both support multiple platforms and frameworks).
  • If you need an open-source solution: Best Choice: Appium or Espresso (for Android only).
  • If ease of use and low-code functionality is important: Best Choice: Katalon Studio or TestComplete (user-friendly with built-in features for beginners).
  • If you need support for real devices and cloud testing: Best Choice: LambdaTest, Kobiton, or TestGrid (provide access to real devices and cloud-based testing).
  • If you want tight integration with CI/CD pipelines: Best Choice: Appium, TestComplete, or Katalon Studio (integrate easily with tools like Jenkins, CircleCI, and Git).
  • If you are focusing on Android-only testing: Best Choice: Espresso or Robotium (both are designed for Android).

Conclusion

Choosing the right mobile testing tool is essential for delivering high-quality mobile apps in a competitive market. With options like Appium, LambdaTest, Katalon Studio, and Espresso, teams can automate testing across various platforms and devices, ensuring app reliability and performance.

By applying these mobile automation testing tools, developers and testers can enhance productivity, reduce manual efforts, and release error-free apps faster, ultimately improving the user experience.


Next Article
Mobile Testing Tools - Software Testing

M

manasamoh6xvn
Improve
Article Tags :
  • Software Testing
  • Spotlight

Similar Reads

    Software Testing Tutorial
    Software testing is an important part of the software development lifecycle that involves verifying and validating whether a software application works as expected. It ensures reliable, correct, secure, and high-performing software across web, mobile applications, cloud, and CI/CD pipelines in DevOp
    10 min read
    What is Software Testing?
    Software testing is an important process in the Software Development Lifecycle(SDLC). It involves verifying and validating that a Software Application is free of bugs, meets the technical requirements set by its Design and Development, and satisfies user requirements efficiently and effectively.Here
    11 min read
    Principles of Software testing - Software Testing
    Software testing is an important aspect of software development, ensuring that applications function correctly and meet user expectations. In this article, we will go into the principles of software testing, exploring key concepts and methodologies to enhance product quality. From test planning to e
    10 min read
    Software Development Life Cycle (SDLC)
    Software development life cycle (SDLC) is a structured process that is used to design, develop, and test good-quality software. SDLC, or software development life cycle, is a methodology that defines the entire procedure of software development step-by-step. The goal of the SDLC life cycle model is
    11 min read
    Software Testing Life Cycle (STLC)
    The Software Testing Life Cycle (STLC) in which a process to verify whether the Software Quality meets to the expectations or not.STLC is an important process that provides a simple approach to testing through the step-by-step process, which we are discussing here. Software Testing Life Cycle (STLC)
    7 min read
    Types of Software Testing
    Software testing is a important of software development life-cycle that ensures a product works correctly, meets user expectations, and is free of bugs. There are different types of software testing, each designed to validate specific aspects of an application, such as functionality, performance, se
    15+ min read
    Levels of Software Testing
    Software Testing is an important part of the Software Development Life Cycle which is help to verify the product is working as expected or not. In SDLC, we used different levels of testing to find bugs and errors. Here we are learning those Levels of Testing in detail.Table of ContentWhat Are the Le
    4 min read
    Test Maturity Model - Software Testing
    The Test Maturity Model (TMM) in software testing is a framework for assessing the software testing process to improve it. It is based on the Capability Maturity Model(CMM). It was first produced by the Illinois Institute of Technology to assess the maturity of the test processes and to provide targ
    8 min read

    SDLC MODELS

    Waterfall Model - Software Engineering
    The Waterfall Model is a Traditional Software Development Methodology. It was first introduced by Winston W. Royce in 1970. It is a linear and sequential approach to software development that consists of several phases. This classical waterfall model is simple and idealistic. It is important because
    13 min read
    What is Spiral Model in Software Engineering?
    The Spiral Model is one of the most important SDLC model. The Spiral Model is a combination of the waterfall model and the iterative model. It provides support for Risk Handling. The Spiral Model was first proposed by Barry Boehm. This article focuses on discussing the Spiral Model in detail.Table o
    9 min read
    What is a Hybrid Work Model?
    Hybrid means a thing made by a combination of two different elements and the resulting hybrid element acquires characteristics of both underline elements. The following topics of the hybrid model will be discussed here:What is the Hybrid Model?Why the Hybrid Model?When To Use a Hybrid ModelProcess o
    13 min read
    Prototyping Model - Software Engineering
    Prototyping Model is a way of developing software where an early version, or prototype, of the product is created and shared with users for feedback. The Prototyping Model concept is described below: Table of ContentWhat is Prototyping Model?Phases of Prototyping ModelTypes of Prototyping ModelsAdva
    7 min read
    SDLC V-Model - Software Engineering
    The SDLC V-Model is a Types of Software Development Life Cycle (SDLC), which is used in Software Development process. In V-Model is the extension of the Traditional Software Development Model.It is creating a Structure like the "V" which includes the different phases which we are discussing here in
    10 min read

    TYPES OF TESTING

    Manual Testing - Software Testing
    Manual testing is a crucial part of software development. Unlike automated testing, it involves a person actively using the software to find bugs and issues. This hands-on approach helps ensure the software works as intended and meets user needs. In this article, we'll explain what manual testing is
    12 min read
    Automation Testing - Software Testing
    Automated Testing means using special software for tasks that people usually do when checking and testing a software product. Nowadays, many software projects use automation testing from start to end, especially in agile and DevOps methods. This means the engineering team runs tests automatically wi
    15+ min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

'); // $('.spinner-loading-overlay').show(); let script = document.createElement('script'); script.src = 'https://assets.geeksforgeeks.org/v2/editor-prod/static/js/bundle.min.js'; script.defer = true document.head.appendChild(script); script.onload = function() { suggestionModalEditor() //to add editor in suggestion modal if(loginData && loginData.premiumConsent){ personalNoteEditor() //to load editor in personal note } } script.onerror = function() { if($('.editorError').length){ $('.editorError').remove(); } var messageDiv = $('
').text('Editor not loaded due to some issues'); $('#suggestion-section-textarea').append(messageDiv); $('.suggest-bottom-btn').hide(); $('.suggestion-section').hide(); editorLoaded = false; } }); //suggestion modal editor function suggestionModalEditor(){ // editor params const params = { data: undefined, plugins: ["BOLD", "ITALIC", "UNDERLINE", "PREBLOCK"], } // loading editor try { suggestEditorInstance = new GFGEditorWrapper("suggestion-section-textarea", params, { appNode: true }) suggestEditorInstance._createEditor("") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } //personal note editor function personalNoteEditor(){ // editor params const params = { data: undefined, plugins: ["UNDO", "REDO", "BOLD", "ITALIC", "NUMBERED_LIST", "BULLET_LIST", "TEXTALIGNMENTDROPDOWN"], placeholderText: "Description to be......", } // loading editor try { let notesEditorInstance = new GFGEditorWrapper("pn-editor", params, { appNode: true }) notesEditorInstance._createEditor(loginData&&loginData.user_personal_note?loginData.user_personal_note:"") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } var lockedCasesHtml = `You can suggest the changes for now and it will be under 'My Suggestions' Tab on Write.

You will be notified via email once the article is available for improvement. Thank you for your valuable feedback!`; var badgesRequiredHtml = `It seems that you do not meet the eligibility criteria to create improvements for this article, as only users who have earned specific badges are permitted to do so.

However, you can still create improvements through the Pick for Improvement section.`; jQuery('.improve-header-sec-child').on('click', function(){ jQuery('.improve-modal--overlay').hide(); $('.improve-modal--suggestion').hide(); jQuery('#suggestion-modal-alert').hide(); }); $('.suggest-change_wrapper, .locked-status--impove-modal .improve-bottom-btn').on('click',function(){ // when suggest changes option is clicked $('.ContentEditable__root').text(""); $('.suggest-bottom-btn').html("Suggest changes"); $('.thank-you-message').css("display","none"); $('.improve-modal--improvement').hide(); $('.improve-modal--suggestion').show(); $('#suggestion-section-textarea').show(); jQuery('#suggestion-modal-alert').hide(); if(suggestEditorInstance !== null){ suggestEditorInstance.setEditorValue(""); } $('.suggestion-section').css('display', 'block'); jQuery('.suggest-bottom-btn').css("display","block"); }); $('.create-improvement_wrapper').on('click',function(){ // when create improvement option clicked then improvement reason will be shown if(loginData && loginData.isLoggedIn) { $('body').append('
'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.unlocked-status--improve-modal-content').css("display","none"); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status) }, }); } else { if(loginData && !loginData.isLoggedIn) { $('.improve-modal--overlay').hide(); if ($('.header-main__wrapper').find('.header-main__signup.login-modal-btn').length) { $('.header-main__wrapper').find('.header-main__signup.login-modal-btn').click(); } return; } } }); $('.left-arrow-icon_wrapper').on('click',function(){ if($('.improve-modal--suggestion').is(":visible")) $('.improve-modal--suggestion').hide(); else{ } $('.improve-modal--improvement').show(); }); const showErrorMessage = (result,statusCode) => { if(!result) return; $('.spinner-loading-overlay:eq(0)').remove(); if(statusCode == 403) { $('.improve-modal--improve-content.error-message').html(result.message); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); return; } } function suggestionCall() { var editorValue = suggestEditorInstance.getValue(); var suggest_val = $(".ContentEditable__root").find("[data-lexical-text='true']").map(function() { return $(this).text().trim(); }).get().join(' '); suggest_val = suggest_val.replace(/\s+/g, ' ').trim(); var array_String= suggest_val.split(" ") //array of words var gCaptchaToken = $("#g-recaptcha-response-suggestion-form").val(); var error_msg = false; if(suggest_val != "" && array_String.length >=4){ if(editorValue.length <= 2000){ var payload = { "gfg_post_id" : `${post_id}`, "suggestion" : `${editorValue}`, } if(!loginData || !loginData.isLoggedIn) // User is not logged in payload["g-recaptcha-token"] = gCaptchaToken jQuery.ajax({ type:'post', url: "https://apiwrite.geeksforgeeks.org/suggestions/auth/create/", xhrFields: { withCredentials: true }, crossDomain: true, contentType:'application/json', data: JSON.stringify(payload), success:function(data) { if(!loginData || !loginData.isLoggedIn) { grecaptcha.reset(); } jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('.suggest-bottom-btn').css("display","none"); $('#suggestion-section-textarea').hide() $('.thank-you-message').css('display', 'flex'); $('.suggestion-section').css('display', 'none'); jQuery('#suggestion-modal-alert').hide(); }, error:function(data) { if(!loginData || !loginData.isLoggedIn) { grecaptcha.reset(); } jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Something went wrong."); jQuery('#suggestion-modal-alert').show(); error_msg = true; } }); } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Minimum 4 Words and Maximum Words limit is 1000."); jQuery('#suggestion-modal-alert').show(); jQuery('.ContentEditable__root').focus(); error_msg = true; } } else{ jQuery('.spinner-loading-overlay:eq(0)').remove(); jQuery('#suggestion-modal-alert').html("Enter atleast four words !"); jQuery('#suggestion-modal-alert').show(); jQuery('.ContentEditable__root').focus(); error_msg = true; } if(error_msg){ setTimeout(() => { jQuery('.ContentEditable__root').focus(); jQuery('#suggestion-modal-alert').hide(); }, 3000); } } document.querySelector('.suggest-bottom-btn').addEventListener('click', function(){ jQuery('body').append('
'); jQuery('.spinner-loading-overlay').show(); if(loginData && loginData.isLoggedIn) { suggestionCall(); return; } // script for grecaptcha loaded in loginmodal.html and call function to set the token setGoogleRecaptcha(); }); $('.improvement-bottom-btn.create-improvement-btn').click(function() { //create improvement button is clicked $('body').append('
'); $('.spinner-loading-overlay').show(); // send this option via create-improvement-post api jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status); }, }); });
"For an ad-free experience and exclusive features, subscribe to our Premium Plan!"
Continue without supporting
`; $('body').append(adBlockerModal); $('body').addClass('body-for-ad-blocker'); const modal = document.getElementById("adBlockerModal"); modal.style.display = "block"; } function handleAdBlockerClick(type){ if(type == 'disabled'){ window.location.reload(); } else if(type == 'info'){ document.getElementById("ad-blocker-div").style.display = "none"; document.getElementById("ad-blocker-info-div").style.display = "flex"; handleAdBlockerIconClick(0); } } var lastSelected= null; //Mapping of name and video URL with the index. const adBlockerVideoMap = [ ['Ad Block Plus','https://media.geeksforgeeks.org/auth-dashboard-uploads/abp-blocker-min.mp4'], ['Ad Block','https://media.geeksforgeeks.org/auth-dashboard-uploads/Ad-block-min.mp4'], ['uBlock Origin','https://media.geeksforgeeks.org/auth-dashboard-uploads/ub-blocke-min.mp4'], ['uBlock','https://media.geeksforgeeks.org/auth-dashboard-uploads/U-blocker-min.mp4'], ] function handleAdBlockerIconClick(currSelected){ const videocontainer = document.getElementById('ad-blocker-info-div-gif'); const videosource = document.getElementById('ad-blocker-info-div-gif-src'); if(lastSelected != null){ document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.backgroundColor = "white"; document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.borderColor = "#D6D6D6"; } document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.backgroundColor = "#D9D9D9"; document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.borderColor = "#848484"; document.getElementById('ad-blocker-info-div-name-span').innerHTML = adBlockerVideoMap[currSelected][0] videocontainer.pause(); videosource.setAttribute('src', adBlockerVideoMap[currSelected][1]); videocontainer.load(); videocontainer.play(); lastSelected = currSelected; }

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences