--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Thanks again.Hi Bryan,Maybe im wrong in the way I try to code my test.
Thanks for your time.
This is the example of my Robot Framework code:
*** Settings ***
Documentation Test suite created with FireRobot.
Library Selenium2Library 15.0 5.0
Library String
*** Variables ***
${BROWSER} FireFox
${user-name} us...@domian.com
${password} currentpassword
${new-foreignkeyinputelementj_id0j_id3j_id30j_id35clientfield_uic} Test Account
${street-address} 659 Tornhll Lane
${city} Garland
${zip-code} 75040
${county} Dallas
${borrower-1-first-name} TEST
${borrower-1-last-name} USER
${client-default-email} us...@clientdomain.com
*** Test Cases ***
Valid Login
Open Browser https://test.domain.com/ ${BROWSER}
Input Text username ${user-name}
Input Password password ${password}
Click Button Login
Create Order
Wait Until Page Contains Orders
Click Link Orders
Click Button new
Input Text j_id0:j_id3:j_id30:j_id35:clientField ${new-foreignkeyinputelementj_id0j_id3j_id30j_id35clientfield_uic}
Input Text j_id0:j_id3:j_id30:j_id35:address ${street-address}
Input Text j_id0:j_id3:j_id30:j_id35:city ${city}
Input Text j_id0:j_id3:j_id30:j_id35:zip ${zip-code}
Select From List By Label j_id0:j_id3:j_id30:j_id35:state TX
Input Text j_id0:j_id3:j_id30:j_id35:county ${county}
Select From List By Label j_id0:j_id3:j_id30:j_id35:ocupancyType --None--
Select From List By Label j_id0:j_id3:j_id30:j_id35:addressType --None--
Select From List By Label j_id0:j_id3:j_id30:j_id35:buildingStatus --None--
Select From List By Label j_id0:j_id3:j_id30:j_id35:propertyType --None--
Select From List By Label j_id0:j_id3:j_id30:j_id43:product TestProduct
Select From List By Label j_id0:j_id3:j_id30:j_id61:loanPurpose --None--
Select From List By Label j_id0:j_id3:j_id30:j_id61:loanType --None--
Input Text j_id0:j_id3:j_id30:j_id61:loanNumber ${loan-number} // This is the field i want to generate a random string
Select Radio Button reuseLender 1
Input Text j_id0:j_id3:j_id30:j_id81:j_id82 ${borrower-1-first-name}
Input Text j_id0:j_id3:j_id30:j_id81:j_id84 ${borrower-1-last-name}
Select Checkbox j_id0:j_id3:j_id30:j_id141:automaticClientNotification
Input Text j_id0:j_id3:j_id30:j_id141:clientEmail ${client-default-email}
Click Button j_id0:j_id3:j_id30:j_id31:bottom:j_id32
Place Order
Click Button place_order
Confirm Action
Wait Until Element Is Visible xpath=(.//div[contains(normalize-space(.), 'New')])[12]
------------------------------------------------------------------------------------------------------------------------------------------------------------------