What is Apex Testing? Salesforce Development Tutorials

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 34

  • @ashish9945
    @ashish9945 3 роки тому

    You are so underrated

  • @azhagujayanthi
    @azhagujayanthi 2 роки тому

    Please give me the example of code which cannot be tested through test classes?

  • @dharmikdave9275
    @dharmikdave9275 3 роки тому

    Is it useful for Software Tester?? Can a QA do Apex Testing??

  • @pranitjangada3395
    @pranitjangada3395 3 роки тому

    Very well explained..

  • @dshericemo1144
    @dshericemo1144 3 роки тому +1

    What are context variables in Apex?

    • @sajankamble1982
      @sajankamble1982 3 роки тому

      Context variables, as the name implies, refer to the fact that what the context of the trigger fire is. These are basically the implicit variables that allow developers to access run-time context. Some of the examples of context variables are isInsert, isUpdate, isDelete etc.

    • @unboxingcheck
      @unboxingcheck 3 роки тому

      Context variables are created when a new context (thread) is launched. They are valid as long as the context is alive, even if it spans several flows before it concludes its activity. The context variable's definition is inherited by all the flows in the project. They are defined once for all the flows in the project. #SalesforceHulk

    • @bhagyashrinagapure4612
      @bhagyashrinagapure4612 3 роки тому

      context variables is a special variable, created by Salesforce itself, where we get the information about the Trigger and that helps us to write better code with better practice. We have different context variables like isExecuting, isInsert, isUpdate, isDelete etc.

    • @sachinrnayak3420
      @sachinrnayak3420 3 роки тому

      Trigger context variables play a very important role in TRIGGER execution, context variables are required when we want a piece of code inside trigger to runs only for a particular event. Using context variable we can specify which piece of code we want to run for which particular event avoiding running of other pieces of code which are not required to be run for the specific event.
      Some of them are like,
      Trigger.new
      Trigger.old
      Trigger.newmap
      Trigger.oldmap

    • @krishnasinghshahi3518
      @krishnasinghshahi3518 3 роки тому

      Context Variables allow developers to access run-time context of any trigger.
      These context variables are contained in System.Trigger class.
      #salesforceHulkContest

  • @dshericemo1144
    @dshericemo1144 3 роки тому +1

    What are SOQL keywords?

    • @sajankamble1982
      @sajankamble1982 3 роки тому

      IN keyword is used to query on bulk data, which means the WHERE condition involves a collection of records. The collection of records can be a Set, List of IDs, or sObjects which have populated ID fields.
      For Example:-IN,ORDER BY, AND, OR, LIMIT ,GROUP BY , NOT

    • @bhagyashrinagapure4612
      @bhagyashrinagapure4612 3 роки тому

      Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.

    • @sachinrnayak3420
      @sachinrnayak3420 3 роки тому

      Basically keywords are the reserved words that we cannot use inside the SOQL query and is used for certain purposes. Some of the major keywords used in SOQL queries are: IN, LIKE, AND/OR, NOT, LIMIT, GROUPBY, ORDERBY, FOR UPDATE, ALL ROWS

    • @krishnasinghshahi3518
      @krishnasinghshahi3518 3 роки тому

      Keywords are reserved words that we can not use inside SOQL query and used for certain purpose. For example- IN, GROUP BY , AND, OR, ORDER BY,LIMIT , NOT #salesforceHulkContest

    • @LalchandRawatVlogs1
      @LalchandRawatVlogs1 3 роки тому

      Keywords are words which are used to perform certain operations. SOQL keywords are: IN, LIKE, AND, OR, NOT, ORDER BY, GROUP BY, LIMIT, FOR UPDATE, ALL ROWS.#salesforceHulkContest

  • @LalchandRawatVlogs1
    @LalchandRawatVlogs1 3 роки тому

    #JuniorHulkContest

  • @omkarraut3077
    @omkarraut3077 2 роки тому

    bhai..tere videos informative hote h..the only thing is..tu style bhot maarta h..acsent aisa lgta englishman jese baat krte jo bhot over and irritating lgta h..so i request you to be simply great than pretending to be cool

    • @MrX-dq9of
      @MrX-dq9of 2 роки тому

      Kitna inferiority complex h bhai tere me 😂 , Get well soon

  • @dshericemo1144
    @dshericemo1144 3 роки тому +1

    Explain trigger.new

    • @LalchandRawatVlogs1
      @LalchandRawatVlogs1 3 роки тому

      Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Trigger.@/salesforcehulkcontest

    • @sajankamble1982
      @sajankamble1982 3 роки тому

      Triger.new in Salesforce is a command which returns the list of records that have been added recently to the sObjects. To be more precise, those records will be returned which are yet to be saved to the database. Note that this sObject list is only available in insert and update triggers, and the records can only be modified before triggers.

    • @sachinrnayak3420
      @sachinrnayak3420 3 роки тому

      Basically trigger.new returns a list of the new versions of the sObject records. This sObject list is only available in insert, update, and undelete triggers, and the records can only be modified in before triggers.
      trigger.new is holding your object record data which is currently set by user

    • @krishnasinghshahi3518
      @krishnasinghshahi3518 3 роки тому

      Trigger.new : Returns a list of the new versions of the sObject records. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers. #salesforceHulkContest

    • @unboxingcheck
      @unboxingcheck 3 роки тому

      Trigger.New: Trigger.new returns List of new records which are trying to insert into Database. This is available in Before Insert, Before Update, After Insert, After Update Triggers and undelete Triggers. This list of records can only modified in Before triggers