Assert:
Allows the test check if the element is on the application.Verify:
Check the element is on the page, but if it isn’t then the test will carry on executing. We can export in different language the programation. See the next image.Creating ours first test case: Verify that "User name" field exists on this page.
This test case verify if exists "User name" field. We could add new command the form manual too. For example.
1.-Click right and select "New command".
2.-Select one option in the "Command" list.For example "VerifyElementPresent"
3.-Click on "find" button. And select on field or button on the page. In the "Target" field is "id" or "name" the element the page
4.-Verify that the command was add.
4.-Verify that "User name" field exists on the page.
for find the "id" or the "name" of the element, we need add plugins "firebug" in browser Firefox. download the main page https://addons.mozilla.org/es/firefox/addon/firebug/ Save the new test case. Only do click right on "Save Test Case" option.










No hay comentarios:
Publicar un comentario