Questions tagged [fluentautomation]

FluentAutomation is a simple, powerful automated testing framework for web applications. It can be used with Selenium WebDriver or WatiN to test all sorts of browsers and devices.

FluentAutomation is a simple, powerful automated testing framework for web applications. It can be used with Selenium WebDriver or WatiN to test all sorts of browsers and devices.

FluentAutomation is implemented using one of two supported automation providers - Selenium WebDriver or WatiN. Selenium is the preferred provider and the most developed. WatiN is provided as an alternative method of automation Internet Explorer

GitHub

31 questions
3
votes
2 answers

Can I use phantom.js to test a javascript heavy application?

Currently I'm using a combination of specflow, selenium, fluent automation and xunit to test my browser application on a deployed instance of the website in chrome. This works well on a developer machine but frequently fails on the build server…
Neil
  • 5,179
  • 8
  • 48
  • 87
2
votes
1 answer

How do I assert an element contains the specified text in FluentAutomation?

Is it possible to check that a text is contained in the text of an element using the FluentAutomation framework ? The example provided in the documentation is for matching exact text…
Adrian M
  • 103
  • 7
2
votes
0 answers

Multi browser testing with FluentAutomation and remote web drivers

I understand that according to the documentation, multi browser testing with local drivers is supported like this: SeleniumWebDriver.Bootstrap( SeleniumWebDriver.Browser.Chrome, SeleniumWebDriver.Browser.Firefox, …
AzureMinotaur
  • 646
  • 2
  • 9
  • 22
2
votes
1 answer

I got a weird message in jenkins

I want to test a specflow project with jenkins. And I can test only one project.I just change test file that it show No tests to execute message.Even two project has the same contents, only project name are different.Why such like this? What's the…
cherry
  • 21
  • 5
2
votes
0 answers

Testing RequireJS application with FluentAutomation?

I'm attempting to write some UI tests for a RequireJS-based Backbone application, utilizing FluentAutomation.SeleniumWebDriver and NUnit. The HTML page in question contains a typical data-main attribute for loading the RequireJS module for the…
2
votes
1 answer

Selenium, FluentAutomation & NUnit - How do I switch browsers for each TestCase?

Currently, openGoogle() does get called for each test case with the correct parameters. The problem is that setBrowser does not appear to be working properly. It does set the first time and completes the test successfully. However, when…
franzcatch
  • 169
  • 2
  • 15
2
votes
2 answers

Recording IFrame activity in Selenium IDE

I am a beginner with Selenium. I user Selenium IDE 1.9.0 for recording website activity. For example I am trying to record some activity involving an online product creation. Consider the website "demo.soft2print.com/products.asp" Here, i click on…
Bomzinho
  • 161
  • 1
  • 7
  • 14
2
votes
1 answer

Watin and Fluent automation - reference to current browser

I am using Fluent Automation in my project to create more human-readable tests. Info available here http://fluent.stirno.com/ and on GitHub: https://github.com/stirno/FluentAutomation I need to be able to perform some things that are not implemented…
lstanczyk
  • 1,313
  • 13
  • 20
1
vote
2 answers

Can I select Polymer elements that exist in the Shadow DOM?

I have an application made with Polymer that I need to automate. The problem is it has a lot of Shadow DOMs. I'm using FluentAutomation that only knows to work with CSS selectors and some jQuery. Is there a way to identify the elements inside a…
1
vote
2 answers

How to organize tests and PageObject classes with FluentAutomation and MSTest (Cannot resolve symbol "I" error)

I am trying to run the example in the documentation here. I am using Visual Studio with MSTest, so I modified the code a little bit and it looks like this now: using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using…
AzureMinotaur
  • 646
  • 2
  • 9
  • 22
1
vote
1 answer

SeleniumWebDriver FluentAutomation Chrome incognito

We are using FluentAutomation.SeleniumWebDriver to drive our integration tests. We configure this as so public IntegrationTest() { SeleniumWebDriver.Bootstrap(SeleniumWebDriver.Browser.Chrome); } My question is how do I tell it to run in…
Chris
  • 26,744
  • 48
  • 193
  • 345
1
vote
2 answers

FluentAutomation + scriptcs not working

I am trying to get scriptcs + FluentAutomation to work having read Scott Hanselmans blog post: http://www.hanselman.com/blog/NuGetPackageOfTheWeekFluentAutomationForAutomatedTestingOfWebApplications.aspx Thing is, the demo code on the fluent…
user156888
1
vote
0 answers

Cannot repro javascript bugs exposed by Selenium

I have a web application that utilizes a lot of javascript code. I've noticed that a lot of times in production the tests written using FluentAutomation with Selenium drivers reproduces some bugs very consistently. For example: define(['knockout'],…
jt000
  • 3,196
  • 1
  • 18
  • 36
1
vote
1 answer

Does anyone have an example of using MSpec with Fluent Automation in C#?

I am unable to use the "I" variable when I call I.Open("http://google.com"); because it is being accessed from a static context. Worst case scenario, I could always use MSTest for selenium tests and MSpec for all…
Adam
  • 4,590
  • 10
  • 51
  • 84
1
vote
2 answers

How to click a button without id using FluentAutomation SeleniumWebDriver?

I am using FluentAutomation library that wraps Selenium Web driver calls so the site can be navigated in a more behavioral manner. As long as elements have id or other distinct properties, it works straightforward: I.Open(Site.BaseUrl); …
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
1
2 3