Hi all,
Sorry for this question, I feel that this is more a Team City question. So, I have been working with webdriver 2.25 and C# pretty much using Firefox 14, and I running my scripts using TeamCity, and here is my case
The problem that I'm seeing is that my scripts are being affected by screen resolution issues, when I run my scripts manually in the same box that the team city agent is running they are ok, but when the Team city agent runs the scripts automatically they will fail, the issue is because there are some scripts that are using point X and point Y to execute drag and drop actions.
When I ran the scripts manually these are the window dimensions
INFO 2012-10-10 12:21:22 – MaximizeWindow is being executed
INFO 2012-10-10 12:21:22 – Windows Size: {Width=932, Height=904}
INFO 2012-10-10 12:21:22 – Windows Size H: 904
INFO 2012-10-10 12:21:22 – Windows Size W: 932
INFO 2012-10-10 12:21:22 –
INFO 2012-10-10 12:21:22 – Size After Maximize the Window
INFO 2012-10-10 12:21:22 – Windows Size: {Width=1912, Height=922}
INFO 2012-10-10 12:21:22 – Windows Size H: 922
INFO 2012-10-10 12:21:22 – Windows Size W: 1912
When the team city agent ran the scripts these are the values
INFO 2012-10-10 12:24:19 – MaximizeWindow is being executed
INFO 2012-10-10 12:24:19 – Windows Size: {Width=994, Height=758}
INFO 2012-10-10 12:24:19 – Windows Size H: 758
INFO 2012-10-10 12:24:19 – Windows Size W: 994
INFO 2012-10-10 12:24:19 –
INFO 2012-10-10 12:24:19 – Size After Maximize the Window
INFO 2012-10-10 12:24:19 – Windows Size: {Width=1032, Height=776}
INFO 2012-10-10 12:24:19 – Windows Size H: 776
INFO 2012-10-10 12:24:19 – Windows Size W: 1032
I would expect that the Team city agent use the same window size, but I'm not sure if the agent will use a default value or if we can set this somewhere.
Regards