saranoor
6 years agoFrequent Contributor
Solved
How to test UI in Test complete
I am testinga page with two different user permisiions.
User1 has permission to read, write and Update.
User2 has permission to read only.
I have written the keyword test for USER1 but I do not know how to write the keywors test for User2. Buttons for Add are not existing for User2 so the keyword test needs to validate that the Add and Save buttons are not existing.
In the keyword test operations list, there's an operation of "if object" which can test if the object exists, is enabled, is visible, etc. You could use a regular "if..then" and do the same thing with any properties you wish.