Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** Settings ***
- Library ../framework/tests/Box.py
- Documentation Tests Login to BOX.com
- *** Variables ***
- ${user} XXXX
- ${userpass} XXXX
- ${forum_name} Getting Started
- ${thread_name} Call Ajax function
- *** Test Cases ***
- Log into AspNet using valid credentials and create a new thread
- When I log into asp.net as my ${user} with ${userpass} and create a new thread as ${thread_name} under ${forum_name}
- from framework.unit.box_unittest import BoxTestCase
- from robot.api.deco import keyword
- class Box(BoxTestCase):
- @keyword(name='I log into asp.net as my ${user} with ${userpass} and create a new thread as ${thread_name} under ${forum_name}')
- def test_create_thread(self, user=None, password=None, forum_name=None, thread_name=None):
- print 'user is '+user
- pybot Box.robot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement