deeksha923 0 Newbie Poster

Hey ppl im a student and i just started studying robot framework using python.Can anyone pls help me out with the submissions. It is really important for me. I just cant get the whole thing how much ever i try.I have come up with the following code for fibonacci series(given at the end of the document). Since i am new to this coding buisseness i would need help

You should make a python program with the following spec.
- full python, no use of python library except the one in the official python installation and Robotframework
- a main program (M1) start a thread T2 and then start a loop where it reads messages from T2
- the thread T2 start robotframework, to execute a robotframework test.

The test is a small sequence
print xx
print xy
print xz

Each pause must generate an exchange between T2 and M1. The exchange is T2 send a message (with Queue python module) to M1. In M1 the reading message loop, prints a text, and send a message back to T2.
After having send a message to M1, T2 was waiting from the message back (on another Queue). When it gets the message, that is the end of the pause instruction implementation

The pause instruction is implemented in python

The fibonacci code that i came up with:

import threading
import time
import sys

class   fibonacci(threading.Thread):
        def __init__(self,interval):


        self.interval = interval

        def run(self):
        a, b = 0, 1
        while b < 1000:
        a, b = b, a+b

if __name__=="__main__":
        first = fibonacci(a)
        second = fibonacci(b)
        print second

Your help will be really appreciated. Thank u so much..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.