Hi everyone,
Recently i face with a issue as following:
I have an action that validates a file in a directory that doesn't exist after being deleted. Even though I checked the element with ranorex spy, the element doesn't exist but when I execute the script, the element exists, so the script fails
Info about environment:
OS: win 11
Ranorex version: 10.1.1.0
Follows
1. create a file by cmd in a folder
2. validate it exist (pass)
3. delete the created file by cmd
4. validate it not exist (failed)
Please help me, many thanks
Validate not exist failed although the checked element in ranorex spy it not exist
Re: Validate not exist failed although the checked element in ranorex spy it not exist
Hi,
Could you please elaborate how exactly do you check for the file existence? Ideally, please post a sample Ranorex solution. Thanks.
Could you please elaborate how exactly do you check for the file existence? Ideally, please post a sample Ranorex solution. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration