skip navigation
Telerik Testing Framework
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting & Mocking
Telerik Reporting
Telerik Report Server
Telerik JustMock
Automated Testing
Test Studio
Test Studio Dev Edition
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
Fiddler Jam
FiddlerCap
FiddlerCore
Extended Reality
UI for Unity XR
Free Tools
JustAssembly
JustDecompile
VB.NET to C# Converter
Testing Framework
View all products
Overview
Documentation
Shopping cart
Login
Contact Us
Download now
close mobile menu
Telerik Forums
/
Testing Framework
This is a migrated thread and some comments may be shown as answers.
Unable to find a element using xpath
2 Answers
83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand
asked on
16 Dec 2014,
02:18 PM
Hi,
I am just starting and i am very new to this , please help me with this beginner que
When i use the find element by xpath the element is not getting discovered
ActiveBrowser.Find.ByXPath<HtmlSpan>(".//*[@id='treeview']/ul/li[1]/div/span[2]/span[2]");
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
Zach
Top achievements
Rank 1
answered on
17 Dec 2014,
04:28 PM
Please share with us the html DOM structure so we can better determine why your code doesn't work
Add a comment
Submit comment
Cancel
0
Boyan Boev
Telerik team
answered on
19 Dec 2014,
11:28 AM
Hello Anand,
Thank you for contacting us.
As Zach said please send us a screen shot of your DOM in order to help you best.
What exception do you get when you execute your test?
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
General Discussions
Asked by
Anand
Top achievements
Rank 1
Answers by
Zach
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or
Copy link