| || |
Question for Maxmc
Maxmc - I was looking at some messages you posted June 2002 about data driven testing. I saw you messed with Robot SQA and was back in the process of converting the SQA to TestPartner. I am currently in the process of doing that. I have plenty of .sbl, .rec and .sbh libraries I am trying to move over. How difficult was it for you? I know I need to change a lot of stuff like:
Was it pretty easy to accomplish? Via Robot, I have a excel data driven file which reads a Access GUIMap I created. Basically the script follows the Excel data driver - pointing to the GuiMap which once the object is found fires off the command I put in the Excel file. I am trying to get TestPartner to act the same way.
Re: Question for Maxmc
The conversion i spoke of was of one specific data access library, it turned out that much of the library ended up not being required, at least not at this point. One of those things where since TP has intellisense and more functionality and that the programming knowledge required to use the tool is higher it didn't make sense at this point.
That being said it would have been easy to accomplish, since TP can do everything and more than Robot can. Of course it's not a find/replace activity since the structure of Testing Functions (clicking and setting text of objects functions) is different - ie. Robot might have EditBox Click, sRecString, "Coords=1,1" followed by InputKeys "whatever" and TP would simply have EditBox(sRecString).Type "whatever".
You should access the areas where TP can make it easier (coding clearer) though because there are more functions accessible to you in TP. We have what would have been library (sbl) functions in common modules and so can be called easily from anywhere, divided into areas like Common, WinApi, app constants and menu. All the functionality of the various areas of the application under test are divided into classes, with the idea that each area has it's own functionality, procedures and properties. Each class $TPInclude's the common modules and the scripts $TPInclude the class(es) needed to be instantiated to script with, having included the class, the common modules are also accessible by the scripts.
You shouldn't have any trouble getting TP to do what you are trying to with the data driver. If you are familiar with SQL and recordsets, they'll be your best friends, yes even with Excel. If you are not familiar with them it's no big deal, it's easy to pick up. If you have any trouble, feel free to email me at firstname.lastname@example.org.
Re: Question for Maxmc
MaxMc - thanks for the reply. Very very informative... It's going to be a interesting task but I am sure it will go fine. Thanks again. If I do have any issues I will email you.
Again, thank you in advance.