Selenium does not replay my test -
Selenium does not replay my test -
i have simple selenium test created using seleniumide. open google.co.uk
, search "one", click link finds, go home page, search "two" click link. records fine when replay it stops @ 2nd command next in red
[error]element css=b not found
here script xml recorded it.
<?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="selenium.base" href="https://www.google.co.uk/" /> <title>new test</title> </head> <body> <table cellpadding="1" cellspacing="1" border="1"> <thead> <tr><td rowspan="1" colspan="3">new test</td></tr> </thead><tbody> <tr> <td>open</td> <td>/</td> <td></td> </tr> <tr> <td>type</td> <td>id=gbqfq</td> <td>one</td> </tr> <tr> <td>click</td> <td>css=b</td> <td></td> </tr> <tr> <td>clickandwait</td> <td>link=one direction pose dogs during tour rehearsals</td> <td></td> </tr> <tr> <td>type</td> <td>id=gbqfq</td> <td>two</td> </tr> <tr> <td>click</td> <td>css=tr.gssb_i > td.gssb_a.gbqfsf > div.gsq_a > table > tbody > tr > td > span > b</td> <td></td> </tr> <tr> <td>clickandwait</td> <td>link=sports heads football game 2</td> <td></td> </tr> </tbody></table> </body> </html>
selenium selenium-ide
Comments
Post a Comment