• sudipta panja 15
  • NEWBIE
  • 0 Points
  • Member since 2015


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Hi All,
 
I have a requirement where I have two profiles, say Profile A and Profile B.
Profile A has certain permissions regarding objects, fields etc. Profile B has separate set of permissions.
The requirement is to make Make
Profile B permissions= Profile A permissions+ initial Profile B permissions.
 
Please let me know if anybody has worked on any such requirement and solution approach.
 
Thanks.

Hi,

The execute method runs number of times as there are number of batches. 

Now if I have a batch to check duplicacy. And say I have 400 records to be processed.
I want my test class to run execute method twice to check if the second batch is introducing any duplicate record to match any already modified record in first batch. 
Is this possible in test class to run two batches of apex, Hope I could expain my question.