Hi,
Within my Application, the actual power-mode of the PC is displayed. Now I wanted to check if the correct symbol is visible.
There are 2 Elements in the Repository:
- Battery-Indicator
- Power-Indicator
I wanted to use the recording to validate on each item if it is visible.
I created a variable within the recording "batteryPowered". This variable gets true or false as value.
Now I wanted to check the visible state of both:
Validate - AttributeEqual - Visible - $batteryPowered - Battery-Indicator --> This is working as expected
Is it possible to make the same for the Power-Indicator without creating a second variable using something like "NOT $batteryPowered"?
Thank you in advance...
Regards,
Anja
Using NOT in Recording
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Using NOT in Recording
Hello,
Thank you for your posting.
You would need to create a separate variable for Power-Indicator if you want to use it in a Recording module.
Another approach would be to write User Code to achieve this.
Regards,
Markus (T)
Thank you for your posting.
You would need to create a separate variable for Power-Indicator if you want to use it in a Recording module.
Another approach would be to write User Code to achieve this.
Regards,
Markus (T)