Exceptions thrown while running coded ui tests against Silverlight App on Lab machine
-
יום חמישי 22 מרץ 2012 20:49
I am running CodedUI Scripts on the Nightly build from Lab Center(TFS)
The Application is a Silverlight Application.
The Test starts running and lunches a browser but its not proceeding beyond that where i am typing the username & password on the edit controls of the Login page.These controls are silverlight controls & I have Feature pack installed on the machine where i am running the codedui tests.
Am I missing something here.Do the testsettings, configuration etc matter here
What are the pre-requisite software that needs to be installed on the lab machine if we want to run coded ui on Silverlight App.
Note :
The same handcoded script is working on my local machine
The Lab Machine where I am running codedUI Script has
1.Microsoft Silverlight 5 run time installed
2.Feature pack 2 & Service Pack1 installed
3.Microsoft Team Foundation Server
4.Microsoft Visual Studio Test Agent.
5.IE 9
Looking at the intellitrace, it seems like it could not load "
Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.Extension.IE.EventHelper,"
I have manually copied to the drop folder of the Build.But still i am getting the same error : Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.Extension.IE.EventHelper. on the intellitrace
Questions ?
- Should the lab machine have GACUtil installed ?
- Does the CodedUI look for this dll on the 'GAC' or the 'drop folder' of the build output.
There aren't any browser settings that's obstructing the script execution
Could someone let me know the solution.
Shadhana Manoharan
- נערך על-ידי shadhana יום חמישי 22 מרץ 2012 21:43
- נערך על-ידי shadhana יום חמישי 22 מרץ 2012 22:23
- נערך על-ידי shadhana יום חמישי 22 מרץ 2012 22:24
- הועבר על-ידי Tony xiaoModerator יום שישי 23 מרץ 2012 06:20 (From:Visual Studio UI Automation Testing (includes CodedUI))
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 12:51
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 13:49
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 13:51
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 16:30
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 16:31
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 16:32
- נערך על-ידי shadhana יום שישי 23 מרץ 2012 16:33
- נערך על-ידי shadhana יום רביעי 28 מרץ 2012 19:00
- נערך על-ידי shadhana יום רביעי 28 מרץ 2012 19:01
כל התגובות
-
יום שישי 23 מרץ 2012 11:59
hadhana,
Are you able to perform the same/similar actions on the
lab machine manually? If not, login to the lab machine using the same test user
account and lunch the application and tests. In some scenarios the browser
would show popup (software update etc) that interfere your tests, so you tests
will not able to perform the desired actions.Regards,
Adhi
My TFS Blog
Please remember to mark as answered, if this reply helps -
יום שלישי 27 מרץ 2012 09:34מנחה דיון
Hello Shadhana,
If you run the Coded UI tests on the lab machines, can you run them successfully on your local machine?
In addition, I am afraid that Coded UI tests are not support for Silverlight 5 application currently. See:
http://social.msdn.microsoft.com/Forums/da-DK/vsautotest/thread/5595613b-0ede-45dc-9c03-6f9f19e71d34
http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/eb6948a4-9a0b-48be-a312-bfa077261db8
Thanks,
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
-
יום חמישי 29 מרץ 2012 18:36Can someone suggest a Solution ????? Coded UI Moderators ???????????
Shadhana Manoharan
-
יום שישי 30 מרץ 2012 02:35מנחה דיון
Hello Shadhana,
For your words "i manually copied the dll to the drop folder, then it did run once successfully on German" do you mean you can run your Coded UI tests successfully in the lab environment?
How do you add reference to the Microsoft.VisualStudio.TestTools.UITest.Extension.IE.EventHelper.dll in your project? Do you add it by browsing in the path C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0 (64-bit machine), or first add it in one shared folder in TFS version control then reference it, or other?
Thanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us