This is a migrated thread and some comments may be shown as answers.

How do I verify removal of a screen element?

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 18 Jan 2011, 01:43 AM
I'm a brand new user of the QA WebUI, using the evaluation version for... well... evaluation. :)

I want to know if this tool can verify the non-presence of a screen element.

The sequence I'm testing in our application is:
1) Select screen element.
2) Click "Remove" button.
3) Verify selected element has been removed from screen.

Does this tool perform this test? If so, where do I find the instructions on how to do it? The Quick Tasks menu has an option for "Verify - element is not visible", but it looks like I have to select the element on the screen to be able to operate this verification on it. However, a successful outcome would be that the element is no longer on the screen and therefore not selectable.

By the way, I'm not a developer; I'm a Business Analyst / Tester. I don't know how to write code. :)

Thanks for your help.

2 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 18 Jan 2011, 04:55 AM
Hi Simon,Thank you for taking the time to evaluate WebUi Test Studio.

Yes you can verify an element no longer exists. The recording will seem a little backwards but here are the steps:

  1. BEFORE you remove the element, use the Quick Tasks to add a "Wait - element does not exist" test step for the element you are about to remove.
  2. Record clicking on Remove
  3. Back in Test Explorer swap these two test steps (either use the up/down errors at the top of this pane or drag and drop one of the test steps).

There you have it. Let me know if you continue to have trouble with this.

All the best,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Simon
Top achievements
Rank 1
answered on 18 Jan 2011, 07:22 AM
Thanks, Cody.

It took me a couple of attempts, but that worked for me.

Simon
Tags
General Discussions
Asked by
Simon
Top achievements
Rank 1
Answers by
Cody
Telerik team
Simon
Top achievements
Rank 1
Share this question
or