Search the web
Sign In
New User? Sign Up
model-based-testing · This mailing list is for software test professionals interested in the model-based testing approach.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Model based testing   Message List  
Reply | Forward Message #499 of 622 |
Re: Model based testing

Hi Rajeev,

Which documents are you referring to?

Do you want to run the tests online or offline? If you can do it
offline, you do not need to code that much in QTP. Semi-pseudo code
below shows an example:

=START OF SNIPPET===================================
Open file with test sequence;
Foreach line in file;
read line;
If len( line ) > 0 Then
If not Eval( line ) Then
Reporter.ReportEvent micFail, "Script failure", "The
script encountered an error when trying to run function: " & line
ExitTest
End if
End If
Loop
Close file;
=END OF SNIPPET===================================

The file would contain an in advanced generated test sequence from a
Model. Of course, all vertices and edges in the model, would be
implemented in QTP as functions.

You could use mbt.tigris.org for that. The specific command for
generating an offline test sequence would be:
java -jar mbt.jar offline -g RANDOM -s EDGE_COVERAGE:100 -f
graphs/UC01.graphml

Where 'graphs/UC01.graphml' is the model represented in graphml
format. See http://mbt.tigris.org for more details.


If you would like to run the tests online, it's gets a bit more
complicated, because you would need the WebServices addon in QTP.

If you would be interested in how that works with QTP, please let me know.

Regards Kristian

--- In model-based-testing@yahoogroups.com, "withrajeev"
<withrajeev@...> wrote:
>
> Hi,
>
> I have 9+ yrs experience in automation testing, have used QTP, open
> source such as Autoit.
>
> I have also developed keyword driven framework in QTP. Now i want to
> implement Model based automation. i did go through few of the
> docuements and did not quite understand how do i start using this for
> QTP.
>
> I basically believe we need to write a lot of code which can read
> design and then come up with state and convert the state to different
> test script.
>
> Any idea/thoughts/experience will greatly help.
> Thanks,
> Rajeev
>





Fri Jan 9, 2009 1:44 pm

kristian_karl
Offline Offline
Send Email Send Email

Forward
Message #499 of 622 |
Expand Messages Author Sort by Date

Hi, I have 9+ yrs experience in automation testing, have used QTP, open source such as Autoit. I have also developed keyword driven framework in QTP. Now i...
withrajeev
Offline Send Email
Jan 8, 2009
5:54 pm

Hi Rajeev, Which documents are you referring to? Do you want to run the tests online or offline? If you can do it offline, you do not need to code that much in...
kristian_karl
Offline Send Email
Jan 9, 2009
10:16 pm

Hi Rajeev, Conformiq provides a model-based automated test design tool called Conformiq Qtronic. It reads a Java and UML based model and generates test cases...
Ajay Garg
milliumus
Offline Send Email
Jan 12, 2009
5:23 pm

http://mbt.tigris.org/ This integrates with QTP. Dave From: model-based-testing@yahoogroups.com [mailto:model-based-testing@yahoogroups.com] On Behalf Of...
Dave McNulla
dave_mcnulla
Offline Send Email
Jan 17, 2009
4:17 pm

Hi Rajeev, You can also check Conformiq Qtronic. It provides QTP integration as well. Best, Ajay ________________________________ From: Dave McNulla...
Ajay Garg
milliumus
Offline Send Email
Jan 17, 2009
8:59 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help