Open
Description
Operating system : Windows 7
.Net Framework version :
Office Version : 2010
SeleniumWrapper version : 1.0.17.0
What is your issue ?
Hi i am able to understand VBA easily, but im new to css and xpath. I have been
trying to list or get a simple value from an html code with the get attribute
option. But i have not been able to search for the simple text since there are
multiple items in a "shelf".
I just want to validate that the data is inside the shelf,
this is the HTML code for the website im in. and the string im trying to get is
to check is "DL-18"
"<See attached File>"
i have tried with multiple lines but none seem to be working
PartNumber = "DL-18"
Debug.Print Verify.Equals("DL-18",
'driver.findElementByCssSelector(".item_details > ul > li > em > span >
PartNumber").Text)
'PartNumber = driver.findElementByCssSelector("#item_details > ul > li > em >
span").Text
i need to run this for multiple items, thats why im setting de PN as a variable
(just a test variable as string).
Thanks in advance, any help is welcomed.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2015 at 6:37
Attachments: