Questions tagged [canopy-web-testing]

canopy is a web testing framework written in F#. And has the following key benefits: Solid stabilization layer built on top of Selenium. Quick to learn. Even if you've never done UI Automation, and don't know F#. Clean, concise API. MIT License

37 questions
2
votes
1 answer

System.MissingMethodException: Method not found: 'Microsoft .FSharp.Core.FSharpFunc`2

I've got a problem when launching a Canopy test in a Windows box: Unhandled Exception: System.MissingMethodException: Method not found: 'Microsoft .FSharp.Core.FSharpFunc`2 canopy.core.get_xpath()'. at…
knocte
  • 16,941
  • 11
  • 79
  • 125
2
votes
1 answer

Using Selenium Code with F# Canopy

I am attempting to use Selenium code with F#, I am also using the canopy wrapper. Canopy uses Selenium to make some of it's calls. My issue is I am struggling to covert Selenium code from Java, C# into an F# format, there doesn't seem to be much…
DevLife
  • 125
  • 2
  • 9
1
vote
2 answers

F# Canopy: Not picking up certain page elements

I am a newbie to F# Canopy and am testing out inputting a date into input boxes at https://www.treasurydirect.gov/GA-FI/FedInvest/selectSecurityPriceDate.htm. When running the Canopy code below, I receive a "user-unhandled" exception stating…
Tom Atwood
  • 468
  • 3
  • 17
1
vote
1 answer

Running Canopy in Azure Devops

I have a couple of automated tests written in Canopy. I run them locally by running the following command: dotnet run Project.AutomatedTests.fsproj on Azure DevOps I tried to configure them the same way, so I have the following steps: 1. dotnet…
MNie
  • 1,347
  • 1
  • 15
  • 35
1
vote
0 answers

How to get the name of the currently executing test in Canopy

I would like to get the name of the currently executing canopy test inside the before function. Is there some kind of global context I can refer to or do I need to dive into selenium?
Nick
  • 6,366
  • 5
  • 43
  • 62
1
vote
1 answer

How to make my local website opens by URL

I setup an apache server and created a website in: var\www\mywebsite. When I type my website name in the browser's address bar, it directs me to the internet. When I disabled the network (as temporal solution) it did not open the website at all.…
user7945230
  • 1,075
  • 2
  • 13
  • 20
1
vote
2 answers

Why am I getting stackoverflow exception when calling a function twice?

I have a selenium UI test written with F# (using canopy selenium nuget package). I have a module that defines page selectors and helper functions. The page module is called by a test module. Within the test module, I am calling a function called…
codet3str
  • 93
  • 1
  • 5
1
vote
0 answers

F# Canopy Select or Dropdown with Option Group

How do you select an option or set the value in a select list that has option groups? This method does not work: How to change a dropdown in an F# Canopy UI Testing Script sample code: