Jump to content
Sign in to follow this  

Problems to adopt scripts from selenium

Recommended Posts


I am new to AutoIt, it took me only couple of hours to adopt alot of my test scripts from selenium. Thank you Stilgar youre a machine very nice support.

I have searched a long time but could not find a thread where someone describes how to set values ($sText) to forms with xpath.

here is my code where i am stuck on setting the $sText variable to the username box. than two more boxes and a _FFClick to submit the form.

I know from selenium that it runs with xpath but i could not get it to run in ff.au3

Here is the code

#Include <Array.au3>
#Include <FF.au3>

     If _FFIsConnected() Then
   $sText = _FFXPath("//table[@id='Tabelle1']/tbody/tr[2]/td[3]/p/b", "textContent", 9)
      _FFOpenURL ("http://639650.xobor.com/anmeldung.php")

Thanks for help have a nice day


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...