fitsharp

Facebook Login with Selenium for C#

心不动则不痛 提交于 2019-12-21 19:52:26
问题 I've been playing with the Selenium C# framework and been trying to do a facebook login, but without any luck. This is what i got so far (based on this post: Testing a Facebook Connect application using Selenium?). I can't get it to work though. ISelenium sel = new DefaultSelenium("localhost", 4444, "*chrome", "http://facebook.com"); public void LoginWithEmailAndPassword(string email, string pass) { sel.Start(); sel.Open("http://www.facebook.com"); sel.ClickAt("//img[\\@alt='Facebook']",

How to test approximate values in Fitnesse

二次信任 提交于 2019-12-11 04:48:59
问题 I'm using Fitnesse with FitSharp to run integration tests. I'm using the RowFixture to test a table of numerical results and need to be able to test an approximate value to about 3 decimal places. How can I achieve this? I read somewhere about using ~= but this does not appear to work on tables 回答1: Yes, the Slim Test System in FitNesse offers an approximately equals operator ( ~= ) as you point out but I agree that it is not available in fitSharp. Two possibilities to consider: First (though

Facebook Login with Selenium for C#

送分小仙女□ 提交于 2019-12-04 13:51:04
I've been playing with the Selenium C# framework and been trying to do a facebook login, but without any luck. This is what i got so far (based on this post: Testing a Facebook Connect application using Selenium? ). I can't get it to work though. ISelenium sel = new DefaultSelenium("localhost", 4444, "*chrome", "http://facebook.com"); public void LoginWithEmailAndPassword(string email, string pass) { sel.Start(); sel.Open("http://www.facebook.com"); sel.ClickAt("//img[\\@alt='Facebook']", "User clicks on Facebook Login"); sel.WaitForPopUp("", "3000"); sel.SelectPopUp(""); sel.Type("email",

FitNesse App.Config

懵懂的女人 提交于 2019-12-02 13:28:44
问题 I am having a hard time understanding: http://www.syterra.com/Fit/AppConfigFiles.html If my application and fixtures are in c:\Projects\App and FitNesse is running from c:\Projects\Sandbox\FitNesse I am assuming c:\mypath\myapp.exe.config would be c:\Projects\App[MyFixtureAssmbly].config, but I am unsure of what c:\myfolder\mysuite.config.xml is? I have tried putting it in the fitSharp folder with Runner.exe.config, fit.dll.config, with .xml after those names, in the FitNesse root folder, in

FitNesse App.Config

匆匆过客 提交于 2019-12-02 04:47:53
I am having a hard time understanding: http://www.syterra.com/Fit/AppConfigFiles.html If my application and fixtures are in c:\Projects\App and FitNesse is running from c:\Projects\Sandbox\FitNesse I am assuming c:\mypath\myapp.exe.config would be c:\Projects\App[MyFixtureAssmbly].config, but I am unsure of what c:\myfolder\mysuite.config.xml is? I have tried putting it in the fitSharp folder with Runner.exe.config, fit.dll.config, with .xml after those names, in the FitNesse root folder, in the App directory.. I just can't figure out where to put it so it will load my app.config? In the