HtmlSpan policySpan = kendoIE.ActiveBrowser.Find.ByContent<HtmlSpan>("p:foo");
And I know the span is there,
I've tried xpath, which is this : //html/body/div/div/div/div/div/ul/li/ul/li/span
and I still get the same exception.
7 Answers, 1 is accepted
What is "kendoIE"? If this is some parent element and you want to find the span withing this element you should use:
otherwise your code should look lie:
If the issue persists please send a screen shot of the DOM so we can assist you with the find expression.
Hope to hear from you soon.
Glad to hear that.
If you need further assistance please let us know.
I have a very similar issue, bu in my case with Find.ById<TControl>() as described here:
What's very strange is that running my code against a website hosted in my local computer works, while testing on a remote testing machine over internet, doesn't.
I made sure that all the security requisites for runing tests on IE were correctly set. Both sites run using https. I can't find a difference...
Could you tell my how you resolved your problem?
Let's please continue the discussion in the other forum thread where my colleague Ivaylo is investigating the issue.
Yes, off course.