Test case design
In this post I’ll share how to design test case for Login
for sample application
http://tosca-webshop.azurewebsites.net/
http://tosca-webshop.azurewebsites.net/
Step 1
Create required folders for user understanding
Right Click on Webshop Test sheet
Create
the Attributes and Intances as in screenshot
Goto TestCases Tab Panel in Tosca
And scan the webshop sample application
XScan Application
Choose Select On Screen
Choose Select On Screen
Drag this module to TestCases Tab
Select Action Mode as Input
Right Click on Login
test step and click Convert To Template to convert test step into template
After converting test
step into template test step icon will be changed like in screenshot
Drag Webshop test sheet to test case template
See the Schema Properties page, its changed to TestSheet:
Weshop
Finally your template look like this
In TestCaseDesign we have 2 instances in 2 combination
1.
ValidPassword
2.
InvalidPassword
We need 2 test cases in Automation TestCases
And complete Instances
To 2 TestCases in Automation TestCases, We have to Create a
instantiate the template like this
Click yes on Start instantiation now
Right Click on TemplateInstance of Login and Run in Scratch
Book
Please share your comments...
Test case design
In this post I’ll share how to design test case for Login
for sample application
http://tosca-webshop.azurewebsites.net/
http://tosca-webshop.azurewebsites.net/
Step 1
Create required folders for user understanding
<![if !vml]><![endif]>
Right Click on Webshop Test sheet
<![if !vml]><![endif]>
Create
the Attributes and Intances as in screenshot
<![if !vml]><![endif]>
Goto TestCases
Tab Panel in Tosca
And scan the webshop sample
application
<![if !vml]><![endif]>
XScan Application
<![if !vml]><![endif]>
Choose Select on Screen
<![if !vml]><![endif]>
<![if !vml]><![endif]>
Object will be display in Modules
<![if !vml]><![endif]>
Create Teststep in TestCases Tab
<![if !vml]><![endif]>
Drag this module to TestCases Tab
<![if !vml]><![endif]>
<![if !vml]><![endif]>
Select Action Mode as Input
<![if !vml]><![endif]>
Right Click on Login test step and
click Convert To Template to convert test step into
template
<![if !vml]><![endif]>
After converting test step into template test step icon will
be changed like in screenshot
<![if !vml]><![endif]>
Drag Webshop test sheet to test case
template
<![if !vml]><![endif]>
See the Schema Properties page, its
changed to TestSheet: Weshop
<![if !vml]><![endif]>
<![if !vml]><![endif]>
Finally your template look like
this
<![if !vml]><![endif]>
In TestCaseDesign we have 2
instances in 2 combination
<![if !supportLists]>1.
<![endif]>ValidPassword
<![if !supportLists]>2.
<![endif]>InvalidPassword
We need 2 test cases in Automation TestCases
<![if !vml]><![endif]>
And complete Instances
<![if !vml]><![endif]>
<![if !vml]><![endif]>
To 2 TestCases in Automation TestCases, We have to Create a
instantiate the template like this
<![if !vml]><![endif]>
Click yes on Start instantiation now?
<![if !vml]><![endif]>
<![if !vml]><![endif]>
<![if !vml]><![endif]>
Right Click on TemplateInstance of
Login and Run in Scratch Book
<![if !vml]><![endif]>
No comments:
Post a Comment