Hi,

For now, i make automation by simulating the keyboard. It's working,
but not satisfying.

What I want to do is the equivalent in Python win32 of this line of
code (from java selenium) :

- webDriver.findElement(By.name("valider")).click();

- confirmation =
webDriver.findElement(By.xpath("//table[@id='tablename']/tbody/tr[1]/td[2]")).getText();


Using doc.valider.click() and doc.TheForm.valider.click() is not working.

Using "createtree" method, i can find the first level (frameset), but
nothing under this level. idem with "children" property.


Any idea ?


Laurent

----

Tim Roberts, timr at probo.com
<https://mail.python.org/mailman/listinfo/python-win32>:

Why don't you show us the code you have?  The Internet Explorer COM

object surface is very large, so we don't want to waste time explaining
what you already know.


2016-02-22 9:46 GMT+01:00 laurent solano <laurent.sol...@gmail.com>:

> Hi,
>
> I'm automating ie webbrowser with win32com module.
>
> I need to locate some xpath elements to manipulate them. Is there a way to
> do it ?
> More or less, i need the same feature than findElement(By.xpath ...) from
> selenium.
>
> Can anyone help ?
> thanks in advance,
>
> Laurent,
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to