Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling createTestCase not update execution type #4

Closed
kengsenghor opened this issue Oct 25, 2018 · 2 comments
Closed

Calling createTestCase not update execution type #4

kengsenghor opened this issue Oct 25, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@kengsenghor
Copy link

Nyaran,

testlink.createTestCase({
    testcasename: "Test Case #5", // Test Case name.
    testsuiteid: 851, // TestSuite id in TestLink.
    testprojectid: 850, // Project id in TestLink.
    status: 3,
    importance: 3,
    execution: 2,
    authorlogin: "ks", // Author of Test Case.
    summary: "This Test Case is an example created from TestLink API", // Test Case description.
    steps: [{
    	step_number: 1,
    	actions: "Action 1",
    	execution_type: 2
    }] // Array containing the Test Case steps.
});

The above code snippets all looks fine, except execution: 2, which is not update the execution type to Automated.

@Nyaran
Copy link
Owner

Nyaran commented Oct 25, 2018

There is an error on TestLink documentation, the correct key is: executiontype

@Nyaran Nyaran closed this as completed in 2c31075 Oct 25, 2018
Nyaran added a commit that referenced this issue Oct 25, 2018
 - Documentation is wrong on TestLink API
@kengsenghor
Copy link
Author

This is working as expected. Thanks @Nyaran!

@Nyaran Nyaran added the bug Something isn't working label Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants