Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- How to use @istest?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to use @istest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-15-2012 09:38 AM
Hai iam confused about @istest class program can u tell about that with example
Solved! Go to Solution.
Re: How to use @istest?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-15-2012 10:30 AM
@isTest is an indicator that the code in the class or the code inside a method is written for testing the application.
For examples you can read these articles/blogs -
http://www.salesforce.com/us/developer/docs/apexco
http://shivasoft.in/blog/salesforce/step-by-step-s
Re: How to use assert?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-15-2012 10:41 AM
thanx for ur information i have one more doubt about "assert" .pls help me about "assert".
Re: how to execute dlete statment in program?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-15-2012 11:10 AM
@istest
private class TestTriggers {
static testMethod void myUnitTest() {
Course__c c = new Course__c();
c.Name = 'SFDC........';
c.Fee__c = 20000000;
delete c;
}
}
i have this program but i can't delete that record pls help me for delete record . i want to delete record how can i aproach throw delete statement
Re: how to execute dlete statment in program?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-17-2012 05:49 AM
To delete the record, you first need to write insert statement.
Once the record is inserted then you can perform delete operation.
System.assert : http://th3silverlining.com/2010/09/07/salesforce-s
Hope this helps :)
Thanks,
Devendra
Devendra
Re: can u help me about related lists ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-17-2012 07:37 AM
thanx for ur great information .pls teach me about related lists in salesforce
actually i am doing shopping mall project. in that i crea...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-17-2012 09:39 AM
actually i am doing shopping mall project. in that i created data model about project.but in the goods i want to less today's sales records of the products.In product object i have taken some fields like jewelry,clothing store , coffee shop, electronics .these products have stock object, in dat object i stored some products. now i want to see net available stock.
Re: how we execute batchapex ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-18-2012 07:56 AM
how we execute batchapex in developer console can u reply me
Re: how we execute batchapex ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-18-2012 08:56 AM
@Nani, Your last two questions are new and unrelated to the original question. It's best to post these questions in new thread. By posting in the same thread, everyone may not read the questions and also it's a bit confusing to follow through.
thanx
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-19-2012 12:45 AM
thanx

