Accessing Test Properties
Garry B.
Tucson, AZ

Nov 2, 2016
5 Posts

Accessing Test properties

Is it possible to access test properties outside of when the test is being executed? I've tried x = Program.Test("Test1").Max, but it doesn't compile. I've tried x = Program.Tests("Test1").Max, but it doesn't run.

Solution Available
Jason D.
Irvine, CA

Nov 2, 2016
32 Posts

Re: Accessing Test properties

Hi Garry,

I used x=Program.Tests("Test1").Max and it worked for me. Can you right click on your Test1 and check the properties window to make sure the Id is indeed "Test1"?

I have also attached my sample project, "TestWS_Test1.zip", for you to try.

Regards,
Jason


File Attachment:
TestWS_Test1.zip

Garry B.
Tucson, AZ

Nov 7, 2016
5 Posts

Re: Accessing Test properties

Thanks.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]