Both example projects (Desktop and Web) do not run properly on my native machine.
When I click at "Run" for a Sample Solution, the SUT opens (either KeePass or browser with WordPress), but the first step (entering a key into field) does not work.
In both cases the Report starts wih "Failed to find item...".
Environment:
OS: Windows 7 SP1
Ranorex: V 6.1
Browser: IE 11
I suppose there is some kind of incompatibility on the environment of the native machine.
I double checked behaviour with a VM (Windows 8.1, Ranorex 6.1, IE 11) and there both samples run correctly.
Which components should I check on the OS?
Sample projects do not run properly
-
- Posts: 2
- Joined: Wed Aug 26, 2015 7:54 am
Sample projects do not run properly
- Attachments
-
- Sample_Report.png (109.35 KiB) Viewed 751 times
Re: Sample projects do not run properly
Hi Fischer,
May I ask you to check the DPI settings on your initial machine?
This value have to be set to 100%.
Please find more information, on the bottom of the troubleshooting article.
I hope this helps.
Please let me know, if you need further help.
Kind regards,
asdf
May I ask you to check the DPI settings on your initial machine?
This value have to be set to 100%.
Please find more information, on the bottom of the troubleshooting article.
I hope this helps.
Please let me know, if you need further help.
Kind regards,
asdf
Re: Sample projects do not run properly
asdf, the DPI settings only matter for image validation. This does not appear to be the issue here.
S_A_Fischer, it appears that you have changed the default timeout of the element (it says "9.9s (timeout factor = 0.11)"). I would suggest setting everything back to the default and seeing if that works. You cannot make the timeout too fast or Ranorex will not have time to actually find and act upon the element before the test fails.
S_A_Fischer, it appears that you have changed the default timeout of the element (it says "9.9s (timeout factor = 0.11)"). I would suggest setting everything back to the default and seeing if that works. You cannot make the timeout too fast or Ranorex will not have time to actually find and act upon the element before the test fails.
Shortcuts usually aren't...
-
- Posts: 2
- Joined: Wed Aug 26, 2015 7:54 am
Re: Sample projects do not run properly
Hi krstcs, thanks for the advice. The test case is now running but it is very slow. The test case "AddNewEntry" takes 5.5 minutes.
And some steps don't work. The message is quite similar:
Failed to find item 'KeePassTestSuiteRepository.LogIn.MasterPassword'.
No element found for path '/form[@controlname='KeyPromptForm']/text[@controlname='m_tbPassword']/text[@accessiblerole='Text']' within 40s.
So still no successful test run.
What parts of my system could have an impact on the speed of test run?
And some steps don't work. The message is quite similar:
Failed to find item 'KeePassTestSuiteRepository.LogIn.MasterPassword'.
No element found for path '/form[@controlname='KeyPromptForm']/text[@controlname='m_tbPassword']/text[@accessiblerole='Text']' within 40s.
So still no successful test run.
What parts of my system could have an impact on the speed of test run?
Re: Sample projects do not run properly
That error message either means:
1. The path is not correct.
2. The path is not SPECIFIC ENOUGH.
3. The timeout is not long enough.
Check them in that order.
Could you please post the following:
A Ranorex SNAPSHOT of the element in question
The FULL RanoreXPath currently being used for the element in question (the path that isn't working...)
1. The path is not correct.
2. The path is not SPECIFIC ENOUGH.
3. The timeout is not long enough.
Check them in that order.
Could you please post the following:
A Ranorex SNAPSHOT of the element in question
The FULL RanoreXPath currently being used for the element in question (the path that isn't working...)
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Sample projects do not run properly
Hi S_A_Fischer,
In order to analyze your issue in more detail, may I ask you to send an email to [email protected] with a detailed description of your problem.
We could arrange a remote session, in order to look into this problem directly on your machine if it is necessary.
I'm looking forward to your email.
Best regards,
Matthias
In order to analyze your issue in more detail, may I ask you to send an email to [email protected] with a detailed description of your problem.
We could arrange a remote session, in order to look into this problem directly on your machine if it is necessary.
I'm looking forward to your email.
Best regards,
Matthias