Hi.
In my testproject I have some scripts with some code behind. Very simple code, I might add. It resizes the active browser:
Yesterday everything was running perfect.
Today I have the following troubles:
When I make a new test and add a code step to it, it fails and logs:
When I run a test I made yesterday, it still runs fine.
The (only) code I use is: ActiveBrowser.Resize(0,0,1024,700)
I would change it to: ActiveBrowser.Resize(0,0,600,100)
When I change the values, it still runs fine. But it does not use the new code, i.g., it stille changes the browser size to 1024 x 700
I looks like it does not compile at all.
I work in the Stand Alone version, I did not found any option to start compiling.
My project is in VB. The resize test only open a browser and resize it, no other steps.
Can you tell me why it doesn't compile and how I can fix it?
In my testproject I have some scripts with some code behind. Very simple code, I might add. It resizes the active browser:
<CodedStep(
"New Coded Step"
)> _
Public
Sub
resize_CodedStep2()
' ActiveBrowser.ResizeContent()
activebrowser.ResizeContent(0,0,1024,690)
End
Sub
Yesterday everything was running perfect.
Today I have the following troubles:
When I make a new test and add a code step to it, it fails and logs:
'8-9-2011 14:36:18' - System.ArgumentException: Unable to find the test class type 'test_08091120' in your test assembly. Please make sure your test code behind is compiled with your latest changes.
When I run a test I made yesterday, it still runs fine.
The (only) code I use is: ActiveBrowser.Resize(0,0,1024,700)
I would change it to: ActiveBrowser.Resize(0,0,600,100)
When I change the values, it still runs fine. But it does not use the new code, i.g., it stille changes the browser size to 1024 x 700
I looks like it does not compile at all.
I work in the Stand Alone version, I did not found any option to start compiling.
My project is in VB. The resize test only open a browser and resize it, no other steps.
Can you tell me why it doesn't compile and how I can fix it?