Verification displayed number of rows inside table by Robot Framework

I got task for verification number of rows per page after switch "Show" filter. 
*** Variables **

${full_xpath}        xpath=//div[@id=\'rso\']/div/div/div[x]/div/h3/a    # not usable
${xpath_part1}     xpath=//div[@id=\'rso\']/div/div/div[
${xpath_part2}    ]/div/h3/a

*** Keywords ***

# Format Method -----------------------------------------------------
Format - Looking by number
    [Arguments]     ${locator1}    ${num}    ${locator2}
    wait until elemet dispayed        ${locator1}${number}${locator2}
*** Test Cases ***

# Row x  -----------------------------------------------------------------
Verify number of raws by "Show" filter All
    Format - Looking by number   ${xpath_part1} @{num}[x] ${xpath_part2}

 

Comments

Popular posts from this blog

Robot Framework vs Cucumber

Performance Testing of RESTful APIs Using JMeter