using a dialogbox in script, VB .NET
I'm using RFT with VisualStudio VB .NET. I'm trying a hack here and wondering if anyone else has had success, or would like to ridicule me for my attempt. RFT is extremely restrictive in VisualStudio in how it messes with your standard solution. I want a dialogbox. A simple stupid dialogbox at start to input some parameters into (so others running tests don't have to go set variables in code.)
Since RFT's solution won't let you create winforms or dialogboxes I created one in a straight up VB solution. Then I just moved my TestSetup.Designer.vb, TestSetup.resx, and TestSetup.vb files into the root of my RFT solution. Voila, they're there. From my startup script I can create a new instance of the dialogbox - intellisense recognizes it as a legitimate class. So here my RFT project name is GFS, and I have:
Dim TS As GFS.TestSetup = New GFS.TestSetup()
All is fine. No errors. But of course I get this build error on compile:
"Type 'GFS.TestSetup' is not defined."
Ideas? I tried dropping the dll for it in the bin directory.
Re: using a dialogbox in script, VB .NET
I undid what I did above, dropped the dll into the RFT\Customization directory and it works.
Next step... exposing the objects on the dialog so I can get their values.