After several years of writing blogs about the SAP NetWeaver Portal APIs, I am today writing my first SAP Business One blog. [Uproarious Applause!!]
The name of the blog remains the same -- From the Lab -- and I still hope to be your connection into the lab (in this case, SAP Labs Israel), providing a peek at the new SAP Business One SDK features about to be released or even still in development. I will roam the forums, hopefully answering your questions; and even when I don't know the answer, I can track down developers here to get the answer. For you, it's like having an uncle at SAP.
My first topic is the upgrade to the B1TC tool that was recently released. In this blog I'll review some of the key improvements to the tool. New and Improved Test Composer, Part II: Custom Operations, I'll show you how you can add your own "actions" to extend the tool.
B1TC -- SAP Business One Test Composer -- enables you to record actions in Business One to create a script, which can be run later to perform the exact same actions. Even better, you can mark fields that can be checked when you rerun the script to make sure they have the expected value.
All of this enables you to create test scripts for testing add-ons. The tests can perform actions in the add-on, and test field values to see if the add-on is working correctly. The scripts can be scheduled to run automatically to create test automation.
As an example, I can start to record and then open the Business Partners window and add a business partner to get the following script.
I can run the script, and then see at the bottom of the window whether the script finished running as expected. Even better, I can select a field and check that the value is as expected.
For example, I can create a sales order for business partner Norm Thompson, enter an item HP Color Laser Jet 5, set the quantity to 2, and then check whether the total is $1,590.
If I record these actions in B1TC, I can set a check on the total field, and then run the script and it will tell me if it was successful. Below, you can see the line in the script that checks the field (shaded orange) and, further below, the message that shows the field value was correct when I ran the script.
If I change the script slightly, so that I say I expect $1,500 in the total field, then you can see that the script fails and I get a warning.
The above is just a small snippet of what you can do with B1TC. But I wanted to get to the good part: What's new in 2.0.
So here's the list of key new features:
All this, as well as what I am told are bug fixes too numerous to list, makes the B1TC a very easy-to-use yet effective testing tool.
Next week, I'll show you how to extend the B1TC and create custom operations that can be added to a B1TC script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Subject | Kudos |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User | Count |
---|---|
8 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |