13 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for Rach!

i Am new to selenium webdriver and I want to automate a webpage related to my project. I am currently working on login page, however I facing problem with the login button which I am confused which locator to use. The login button is below: a href="javascript:LoginSubmit('Log In')"> img border="0" …

0
120
Member Avatar for Osagie_1

I have an xml structure : <Pages> <!--This is the root node--> <Home> <url>...</url> <menu> <item>Help</item> <item>About</item> <item>Contact</item> </menu> </Home> <Help> <url>...</url> <menu> <!--i need to select this if its parent(Help) is listed in Home/menu/item above--> <item>Business Help</item> <item>Web Help</item> <item>Tour Help</item> </menu> </Help> <About> <url>...</url> <menu> <!--And Or select …

0
127
Member Avatar for Osagie_1

I have an xml structure : <Articles> <Article ID="111"> <author>Peter Paul</author> <pubDate>01/01/2015</pubDate> <Translations> <lang1>English</lang1> <lang2>French</lang2> <lang3>Arab</lang3> <lang3>Chinese</lang3> </Translations> </Article> <Article ID="222"> <author>Monkey Rice</author> <pubDate>01/01/2016</pubDate> <Translations> <lang1>English</lang1> </Translations> </Article> <Article ID="333"> <author>John Silas</author> <pubDate>01/01/2017</pubDate> <Translations> <lang1>English</lang1> <lang2>French</lang2> <lang3>Arab</lang3> <lang3>Chinese</lang3> </Translations> </Article> </Articles> i created a method AddRecordByInfoMatch() that attempts to add …

0
134
Member Avatar for suresh.xsltlist

Hi, Can someone help me on this. Really appreciated. **Requirement:** 1. To generate separate html files for each pal:fragment element, for the source document attached ,the files gets name based on @fragment-id which is present on the pal:fragment elements. 2. The <pal:fragment> can be nested, wrapped with<div> element. 3. The …

0
164
Member Avatar for Ronene

Hello , I'm trying to solve a "known problem" in XPath 1.0 . From [msdn](http://msdn.microsoft.com/en-us/library/bb341675.aspx) : "***Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order. Note that nodes are returned in document order even when …

0
120
Member Avatar for dr3ex

Hi, I have problem with evaluating XPath with query. When I use this in xpath_tester script: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-6']/div/div/h3/span[1][/B] Works fine, but this: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-1']/div/div/div/div/table/tbody/tr[1]/td/div/div/strong/a[/B] Result: "ERROR 2: No result!", because there are no items in $nodeList I'm 100% sure XPath is OK. (using XPath checker extension …

0
124
Member Avatar for ttback

This thread is related to my thread on Java's forum: [url]http://www.daniweb.com/software-development/java/threads/408377[/url] I don't mean to make multiple posts but I wasn't sure which of these forums this problem belongs to. I will focus on asking about the XPath part here. I have a problem to understand XPath when it comes …

0
92
Member Avatar for ttback

I spent about 4 hours trying to make PMD being able to validate my Java code but XPath proved to be very painful to work with when developing fairly original custom rules. My rule requires me to apply them only to methods without 'get' as part of their name. In …

0
288
Member Avatar for spelltox

Hello to all ! Sorry in advance for the long post. I'm trying to get the value of a specific <div> from an html. This div has a class attribute of "itemPrice6", but problem is that this class appears few more times for other <div>s in which i'm not interested …

0
103
Member Avatar for technopup

Hello, I have a PHP file that lists a Post Code variable ($thisPostcode). Using simpleXML I need to compare the value of the Post Code variable to the Post Code attribute in an xml document, if there is a match I need it to echo the statement below if not …

0
99
Member Avatar for zigpy_siva

Hi, we are using the XML Template of MS Word, and trying to use XPath(in a tool not code, but the same is not working in code also) to read the data from the xml file. attached the sample code, xml file and the XSD used to generate the word …

0
102
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

0
220
Member Avatar for ibdatx

Hi, I have a listbox that is bound to a textblock as target and also has an xml file as source. My problem now is the correct syntax for inserting another listbox in between the listbox and the xml file. My code is shown below... <Window x:Class="newTestApp.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" …

0
130

The End.